This tutorial will show you how to install and uninstall applications in Fedora using PackageKit(Graphical) and yum(Terminal). I am using the Fedora 18. If you are the Ubuntu user, see managing software's in Ubuntu via Terminal. If you have just switched from Windows environment to Linux, first do the installing using the Graphical interface. It’s way simple and easy. Whereas, application installing and uninstalling is much more faster via Terminal. You just have to be little bit familiar with the command language and Linux commands. Try both and implement which one u feel comfortable and easier.
1. Graphical[PackageKit]:
There is a default software managing application in Fedora called ‘PackageKit’ which graphically assist the user on installing and uninstalling the applications. All the application available in Fedora repositories are available in PackageKit.
Installing software using PackageKit:
First of all, open "Software" programs from System Tools. Now, in the search box type the name of the application you wish to install and hit enter or click the ‘Find’ button. I am going to install nano which is a simple text editor.
Select the software by clicking it and click Apply on the right hand bottom. After that, give the authentication by typing in your password and your software is installed.
Uninstalling software using PackageKit:
Open Add/remove program. In the search box type the name of the program that you wish to remove and click find or hit enter. If the box is ticked then the program is installed. Then click apply which will remove the software. I am going to remove the Nano which I have just installed.
2. Install Application using terminal Command-line[Yum]:
You need the root access while installing and uninstalling the applications. To switch to the root user for the normal user type ‘su’, hit enter and type the password. Now, you are login as a root user. Also, you can give the root permission staying in the normal user as well by typing ‘su -c’.
Installing software from terminal:
The syntax to install software is:
yum install software_name
To install the software called nano, I would type:
yum install nano
OR if you haven’t changed yourself into the root user, give root access permission as:
su -c 'yum install software_name'
To install the software called putty, I would type:
su -c 'yum install nano'
Uninstalling software from terminal:
The syntax for uninstalling software is:
yum remove software_name
To remove the software called ‘nano’ which I have just installed I would type:
yum remove nano
OR if you haven’t changed yourself into the root user, give root access permission as:
su -c 'yum remove software_name'
To uninstall the software called putty, I would type:
su -c 'yum remove nano'
3. Installing .rpm using PackageKit:
When you download the software for the Linux, they will let you choose your distro or the package. Fedora uses .rpm package, so while downloading software for Fedora always choose the .rpm package. I am going to install Skype in my Fedora. While I download I will see this:
[contact-form][contact-field label='Name' type='name' required='1'/][contact-field label='Comments' type='text'/][/contact-form]
0 comments: