Tuesday, 15 July 2014

Brasero - Burn a CD in Linux Ubuntu

GUI programs are the easiest way to burn CD/DVD in Linux Ubuntu. Brasero is one such application that will ease your task of burning a CD/DVD for the GNOME desktop. Its an easy to use application program and is designed to be as simple as possible that enables users to create their discs easily and quickly. It is the default burning tool for GNOME desktop environments and is licensed under GNU GPL.
  • supports edition of discs contents (remove/move/rename files inside directories)
  • can burn data CD/DVD on the fly
  • automatic filtering for unwanted files (hidden files, broken/recursive symlinks etc)
  • supports multisession
  • can write the image to the hard drive
  • can check disc file integrity
Audio CD
  • write CD-TEXT information
  • supports the edition of CD-TEXT information
  • can burn audio CD on the fly
  • can use all audio files handled by Gstreamer local installation (ogg, flac, mp3, ...)
  • can search for audio files inside dropped folders
CD/DVD copy
  • can copy a CD/DVD to the hard drive
  • can copy CD and DVD on the fly
  • supports single-session data DVD
  • supports any kind of CD
  • erase CD/DVD
  • can save/load projects
  • can burn CD/DVD images and cue files
  • song, image and video previewer
  • a customisable GUI (when used with GDL) 
  • supports Drag and Drop / Cut'n'Paste from nautilus (and others apps)

You can install the CD burning application from the Ubuntu Software Center by searching "brasero" without quotes.
Alternatively, you can download releases here: http://download.gnome.org/sources/brasero/.

Friday, 20 June 2014

How to Install Ubuntu Restricted Extras

Ubuntu restricted extras consists of commonly used applications with restricted copyrights which Ubuntu cannot bundle with the OS legally. However, you are free to download these codecs and applications on yourself one by one from their respective sites or you can use Ubuntu restricted extras that include all these essential applications. 

How to Install Ubuntu Restriced Extras
If you install Ubuntu for the first time, you will find that you can neither play mp3 files nor can watch videos. The codecs are not pre-installed. You will not be able to see any flash content over web while browsing your favorite website. You can download these one at a time or you can install Ubuntu restricted extras which will install all at once.

Ubuntu restricted extras will install codecs, java, flash and much more all in one go. It is always recommended as the first package which every Ubuntu user should install. In this article, you will learn how to install Ubuntu restricted extras from Ubuntu Software Center and from the terminal. Installing Ubuntu restricted extras will pull in support for mp3 playback and decoding and support for various other audio formats, Microsoft fonts, Flash plugins, LAME to create compressed audio files, and DVD playback.

Install Ubuntu restricted extras from Ubuntu Software Center

Open the Ubuntu Software Center and search for "Ubuntu restricted extras". Next, Install the package.

How to Install Ubuntu Restriced Extras

Install Ubuntu Restricted Extras through terminal

Alternatively, you can install Ubuntu restricted extras through terminal command. Open the terminal and type the following command to install Ubuntu restricted extras. 

sudo apt-get install ubuntu-restricted-extras

You may be asked for your root password.

Thursday, 19 June 2014

How to compile and run C/C++ code in Linux

How to compile and run C/C++ code in Linux
In case you have installed Linux on your system and need to compile and run C/C++ code in the Linux environment, you will need to install GNU Compiler Collection and a text editor. There are many text editors available and here's the Top 3 Open Source text editors for Linux.

To install GCC (GNU's Compiler Collection) 

Debian / Ubuntu based Distributions can use the following commands to install the compiler collection to compile and run C/C++ programs.

sudo apt-get update
sudo apt-get install build-essential manpages-dev

In case, you are using Fedora, RedHat or CentOS, you can use the yum command to install it.

yum groupinstall 'Development Tools'

How to compile and run C/C++ program

The next step is to create a C/C++ file using any text-editor. Open the text editor, type the code
How to compile and run C/C++ code in Linux
int main(void)
   printf("Hello World");
   return 0;

and save it under any name say hello.c

Now, you can use the gcc command to to compile the code you have just written.

gcc hello.c

To run the compiled file, type


How to compile and run C/C++ code in Linux

You have read how to compile and run C/C++ code in Linux. If you want to set up Debian in a virtual box: Installing Debian on Oracle VM Virtual Box [Windows 7 Host.

Wednesday, 18 June 2014

Linux Mint - from freedom came elegance.

Maybe I'm stating the obvious here - if so, forgive me.

As I see it, the only difficulty to using almost any distribution of Linux is in the setting-up stage. Once it has been installed and all software is in place, a user need not even be aware that it is Linux behind the applications he or she is using. We in this group are here because we are enthusiasts, to a greater or lesser extent - we enjoy getting to grips with the technicalities and moulding a system that suits us. And, of course, that is one of the keystones of the Linux movement (along with open-source and flexibility) but not everyone feels the same.

A few years ago, fired with zeal for the principles of Linux, and keen to get away from the suffocating hold that Microsoft has on the computing world, I started looking around for a distribution that was right for me. I crashed and burned. First I tried Red Hat, then various flavours of Ubuntu. Because I was completely new to Linux, I didn't understand how they worked, and the terminology was unfamiliar. I did get Ubuntu working, but found it, and the software bundled with it, crude (compared with the Windows stuff I was familiar with). 

Then, last year, I discovered Linux Mint. The beauty of Mint is that it makes the process of getting started much easier, and the resulting desktops are intuitive and attractive. The install process, for instance, which offers an automated installation to default settings, perfect for new users and technophobes (heck, it even installs all the most popular applications, and makes it easy to add many others). However, because it is Linux, it also has all the 'power' features that make Linux so popular.

So what I am saying here is that, in my opinion, Mint is changing the way Linux is perceived. It is no longer too complicated and esoteric for people who just want a computer that works for them. That is why I am such a fan - Mint is opening up Linux to the wider world.

Courtesy : Liz Mills 

Monday, 16 June 2014

How to install LibreOffice 4.2 in Linux

LibreOffice is one of the most widely used office suite for Linux users. It is a free and open source office suite developed by The Document Foundation comprising programs to do word processing, spreadsheets, presentations, diagrams and drawings, databases and much more. LibreOffice provides compatibility with Microsoft Office and the documents can be imported to LibreOffice that are developed in MS Office. 

How to install LibreOffice 4.2 in Linux

Application included in LibreOffice

Writer Similar to MS Word, it works as a word processor and can be used as a basic text editor. 

Calc A Spreadsheet program

Impress A presentation program, can be exported to swf format hence can be viewed on any system with Adobe Flash Player.

Draw A vector graphics editor and diagramming tool 

Math Designed for creating and editing mathematical formula

Base A database management system

LibreOffice is licensed under LGPLv3. 

In this article, I am going to tell you how to remove earlier LibreOffice installations and install LibreOffice 4.2 on Linux. The article mainly focus on installing LibreOffice 4.2 on Debian/Ubuntu based distributions. 

Uninstall earlier LibreOffice installation

You can install LibreOffice 4.2 along with previous versions without much problem. In case you want to uninstall the earlier version to free up your resources, 

sudo apt-get remove libreoffice-core

Install LibreOffice 4.2 in Linux

You can download LibreOffice 4.2 from the official website.


You can extract this tar.gz file through terminal or by right clicking on it and extracting it.

After extracting, open a terminal and navigate to the current directory using cd command. Read more : Keyboard shortcuts within Terminal

Finall, install the LibreOffice package you have downloaded. 

sudo dpkg -i *.deb

To install the program shortcuts in the menu, navigate to the "desktop-integration" sub directory, and run the following command

sudo dpkg -i *.deb

Finally, you have installed LibreOffice 4.2 in your Linux system. This process will work in all Debian based / Ubuntu based distributions like Mint, *buntu, Debian etc. 

Sunday, 15 June 2014

How to Install / Upgrade to Linux Kernel 3.15

Linux Kernel 3.15 has finally been announced by Linus Torvalds and there's much more to offer from Linux. 

How to Install / Upgrade to Linux Kernel 3.15

What's new in Linux Kernel 3.15
  • USB: Avoid runtime suspend loops for HCDs that can't handle suspend/resume
  • drm/radeon/dpm: resume fixes for some systems
  • USB: serial: option: add support for Novatel E371 PCIe card
  • x86, vdso: Fix an OOPS accessing the HPET mapping w/o an HPET
  • usb: cdc-wdm: export cdc-wdm uapi header
  • Btrfs: send, fix corrupted path strings for long paths 
You can read what Linus Torvalds has to say and all the things Linux Kernel 3.15 has to offer at https://lkml.org/lkml/2014/6/8/70

Install / Upgrade to Linux Kernel 3.15 

Run these commands in a terminal one-by-one to install / upgrade to Linux kernel 3.15.

For 32-bit system

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-utopic/linux-headers-3.15.0-031500-generic_3.15.0-031500.201406081435_i386.deb 

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-utopic/linux-headers-3.15.0-031500_3.15.0-031500.201406081435_all.deb 

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-utopic/linux-image-3.15.0-031500-generic_3.15.0-031500.201406081435_i386.deb 

sudo dpkg -i linux-headers-3.15.0-*.deb linux-image-3.15.0-*.deb

For 64-bit system

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-utopic/linux-headers-3.15.0-031500-generic_3.15.0-031500.201406081435_amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-utopic/linux-headers-3.15.0-031500_3.15.0-031500.201406081435_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-utopic/linux-image-3.15.0-031500-generic_3.15.0-031500.201406081435_amd64.deb

sudo dpkg -i linux-headers-3.15.0-*.deb linux-image-3.15.0-*.deb

Once done, restart your computer to see the changes. 

If for some reason, the Linux Kernel 3.15 install / upgrade do not works properly, you can roll back to previous stable kernel by Navigating to Grub > Advanced > Select previous kernel and running this command to uninstall it

sudo apt-get remove linux-headers-3.15.0-* linux-image-3.15.0-*

and updating the grub menu

sudo update-grub

Friday, 13 June 2014

How to install Apache on Linux

How to install Apache on LinuxApache is one of the most popular free and open source web server and is aimed at creating a robust, commercial-grade, featureful HTTP (Web) server. Apache is developed and maintained by an open community under the Apache Software Foundation and is commonly used on a Unix like systems. However, it supports a wide range of Operating systems including but not limited to Unix, FreeBSD, Linux, Solaris, Mac, Windows, OS/2. 

Apache provides interface to various server side programming languages like Perl, Python, Tcl and PHP and supports various authentication modules like mod_access, mod_auth etc. Other features include support to Secure Socket Layer SSL and Transport Layer Security, a proxy module, URL rewriter, custom log files, and filtering support. It also features configurable error messages, DBMS based authentication databases and content negotiation, password authentication and digital signature authentication. 

This article covers the compilation and installation of Apache HTTP server on Linux and Unix-like systems. 

Download Apache HTTP server

Apache HTTP server can be downloaded from its source site : download Apache Server.

Alternatively, you can downloading it by opening a terminal and typing the following command 

lynx http://httpd.apache.org/download.cgi

Extracting the downloaded file

You can extract the file by changing the current directory to the one in which the download file is there and typing the following command in the terminal

gzip -d httpd-NN.tar.gz
tar xvf httpd-NN.tar


./ configure
It will configure the source tree using all the default options. 



Install Apache on Linux

make install

If it asks the root privileges use sudo and enter the root password whenever necessary.

Read more : How to install tar.gz file in Linux


vi PREFIX /conf/httpd.conf

Start Apache HTTP server

You can now start your Apache HTTP server by running the command 

PREFIX/bin/apachectl -k start

Similarly, to stop the server

PREFIX/bin/apachectl -k stop

As of June 2013, Apache was estimated to serve 54.2% of all active websites and 53.3% of the top servers across all domains. The article gives you an easy step by step procedure to install Apache on Linux and other Unix-like systems.

Note: If you could provide us screenshots of Apache web server, I would appreciate it. You can mail it to mb.linux.world@gmail.com.

You can install Drupal 6/7 on Linux and download the XAMPP from here. 

Related Posts Plugin for WordPress, Blogger...