Tuesday, November 15, 2011

Tweaking Linux To meet User Needs

Till recently I was using Fedora 15 - "Lovelock" as my alternate OS, which usually is always a Linux flavor. Now, at present I am using Ubuntu 11.10 - "Oneiric Ocelot" on my system. One thing one must realize, is that Linux distributions run in a very different manner from Windows. They do not (yet) support executable facility, so the installation of many a software is not as easy or automatic as in windows. Also, a general OS install of Linux distributions is very general. It does not do much more than install the kernel and other must haves in order to run a system. They do, however provide repositories for the easy installation of many open source softwares that are popular, or open source alternatives to commercial softwares.

Fedora 15: 























Ubuntu 11.10:




















In this post, I will entail the different softwares that I feel one MUST have in their system, and how to go about installing them - in fedora 15 and in ubuntu 11.10. Please note, that this is simply a comparitive study.




First and foremost, it is necessary to update whatever repositories the installation disk gives you or to add requisite repositories before you start.

In Fedora,

simply type in the terminal

su - yum update

Note: We use su - to authorise ourselves as root. In ubuntu, the admin user himself can act as root, but in fedora, root is separate from home, and hence, whenever we make any system changes we need to declare our root password.

Also, most probably, in laptops, your wifi driver will not be auto installed. For this, follow my post on wifi activation in fedora.



In Ubuntu 11.10,

simply type in the terminal

sudo apt-get update

followed by

sudo apt-get upgrade

to update and upgrade the repositories from time to time.

Note: We use sudo to express that the user requesting the changes themselves has root authority.

Ubuntu, by default does not activate all additional drivers that are system specific at install time, like the broadcom driver. To install them,


Open additional drivers as shown in the unity dash page screenshot above. Select the driver you want to activate from all the ones the OS can detect on your system, and click activate. This should do the trick.

---------------------------------------

By default Linux does not have the support to play all the mp3 and other common media files that windows can. to install these plugins,


In fedora, type


su - yum -y install gstreamer-plugins-bad gstreamer-plugins-ugly xine-lib-extras-nonfree gstreamer-ffmpeg


yum install ffmpeg ffmpeg-libs


yum install libdvdread libdvdnav lsdvd




To install flash,

Visit http://get.adobe.com/flashplayer/ and select YUM for Linux from the drop down box.
This will download the file named adobe-release-i386-1.0-1.noarch.rpm.
Open a terminal and issue the following command within the directory where you have downloaded the repository rpm file.

su -c 'rpm -ivh adobe-release-i386-1.0-1.noarch.rpm'



The .rpm file also copies the adobe General Public Key (GPG key) to /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux but does not import it.


To import the key, do the following…

su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux'



In the terminal, execute the following command …


su -c 'yum install nspluginwrapper alsa-plugins-pulseaudio flash-plugin'


Now fedora will update the repository databases and then download the Adobe flash plugin from the adobe website.


It is a 5.2 MB download.







In ubuntu, type on the terminal


sudo apt-get install ubuntu-restricted-extras


This will activate all media plugins and flash software.


------------------------------------------


VLC media player is the most popular software to play media files in linux because it can read almost every codec or plugin possible.


In Fedora, to install vlc simply type


yum install vlc


as root.




In Ubuntu.


sudo apt-get install vlc


-------------------------------------------


Filezilla is the best ftp software available in open source technologies. To install filezilla


Fedora: yum install filezilla


Ubuntu: sudo apt-get install filezilla


-------------------------------------------


Photo editing and Image manipulation is very easy with the GNU Image Manipulation Program, or GIMP


Ubuntu: sudo apt-get install gimp


Fedora: su - yum install gimp


---------------------------------------------


We all are programmers, and will use opensource LAMP technologies sooner or later. Here is a how-to to install the xampp package on linux.


Firstly, one must know what all xampp provides you. It gives you an apache server, mysql and php packages. Also, it gives you a PERL structure. Now, its easier to install xampp and be done with it, or you could install each software separately.


For example, in Fedora,


PHP: yum install php-xml


PHP with Apache: yum install httpd php php-common


Mysql: yum install mysql-workbench


Instead if you want to install the xampp package for linux, found here, then its only two easy steps:


1. Download the most recent version of XAMPP

2. Extract the archive to /opt using sudo: (make sure you are in the directory that you downloaded the archive to)

sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt


Now whenever you want to use any of the xampp packages simply open your terminal and type


sudo /opt/lampp/lampp start


And to stop it,


sudo /opt/lampp/lampp stop


The steps are same for ubuntu and fedora, only fedora will have su - instead of sudo.


-----------------------------------------------


Qt is a cross platform framework IDE developed under Nokia's banner. To know more about it, see this.


In Ubuntu 11.10, qt is already added and installed, so just open your Unity Dash, and search Qt:






In Fedora 15, you can simply install the Qt toolkit by typing


yum install qt-devel qt-config

No comments:

Post a Comment