Using YUM Install and Manage Software on Fedora

Using YUM Install and Manage Software
on Fedora

Software
installation and Management tool on Fedora using YUM. YUM is widely use in
Linux operating system and specify on Fedora system as software installation tool
and software management tools. YUM can be use using yum command line or use
with the graphical front end tool such as yumex. The step by step example
below show on how to using YUM to Install, Update, Remove and Manage software on
Fedora Linux. The yum command list below tested on Fedora system to show the
example and how we can use yum command to install, update, remove and manage the
software package on the system.

YUM Get Faster Download using yum-fastestmirror

Download and install yum-fastestmirror
to make sure that you use the best mirror available so that download software package
become faster. To enable or disable yum plugin, edit plugin configuration file located
in /etc/yum/pluginconf.d/fastestmirror.conf

[fedora11@linux
~]$ su - -c
'yum install yum-fastestmirror'

Password: <-- key in
root password here and hit 'Enter' key

Install Software Package using YUM
commands

Check available package to install.
Use yum command below to list available software package that can be install on
your system.

[fedora11@linux
~]$ su - -c
'yum list available | less'

Password: <-- key in
root password here and hit 'Enter' key

Install a new software package using
yum command, the telnet is the example package name use here, change the
package name to the package name that you want to install on the system.

[fedora11@linux
~]$ su - -c
'yum install telnet'

Password: <-- key in
root password here and hit 'Enter' key

Install software including the software
package that related to the software package name.

[fedora11@linux
~]$ su - -c
'yum install \*telnet\*'

Password: <-- key in
root password here and hit 'Enter' key

Update Software Package using YUM
commands

Check updates available for your Linux
Fedora system using YUM command.

Update a single software package, the
gedit software package is the example of software package name use here,
change the software package name to the specific software package name that you
want to update.

[fedora11@linux
~]$ su - -c
'yum update gedit'

Password: <-- key in
root password here and hit 'Enter' key

Uninstall Remove Software package

Uninstall or Remove software package
on Fedora Linux, yum command below remove software package called telnet
from the system, change the software package name to the software package that you
want to uninstall or remove from the system.

[fedora11@linux
~]$ su - -c
'yum remove telnet'

Password: <-- key in
root password here and hit 'Enter' key

or

[fedora11@linux
~]$ su - -c
'yum erase telnet'

Password: <-- key in
root password here and hit 'Enter' key

Check Software Packages Installed

Display and list installed packages.
Want to know what software packages already install on you Fedora system? The yum
command below can be use to list all installed software package (list software that
already being install on the system).

[fedora11@linux
~]$ su - -c
'yum list installed | less'

Password: <-- key in
root password here and hit 'Enter' key

Display and list of all available and
install packages

[fedora11@linux
~]$ su - -c
'yum list all | less'

Password: <-- key in
root password here and hit 'Enter' key

Display and list install packages that
are not available in any yum repository listed in the config file.

[fedora11@linux
~]$ su - -c
'yum list extras | less'

Password: <-- key in
root password here and hit 'Enter' key

Check specific software package available

[fedora11@linux
~]$ su - -c
'yum list \*squid\*'

Password: <-- key in
root password here and hit 'Enter' key

Check Packages Information

Display software package information,
the yum command below show information about yum package itself, change the
software package name to the software package name that you want to display the
information about the package.

[fedora11@linux
~]$ su - -c
'yum info yum'

Password: <-- key in
root password here and hit 'Enter' key

Check what package provide the file

Check where file comes from. Use command
below to check where the file comes from and what package provide that file.

[fedora11@linux
~]$ su - -c
'yum whatprovides /etc/passwd'

Password: <-- key in
root password here and hit 'Enter' key

Clean YUM Cache

Clean all cached packages, use yum command
below to clean or remove download packages because yum does not automatically delete
/ remove packages after they are downloaded.

[fedora11@linux
~]$ su - -c
'yum clean packages'

Password: <-- key in
root password here and hit 'Enter' key

Clean yum header files which yum uses
for dependency resolution.

[fedora11@linux
~]$ su - -c
'yum clean headers'

Password: <-- key in
root password here and hit 'Enter' key

Clean yum metadata and force yum to download
new metadata the next time it is run.

[fedora11@linux
~]$ su - -c
'yum clean metadata'

Password: <-- key in
root password here and hit 'Enter' key

Clean yum cache db and force yum to recreate
the cache the next time it is run.

[fedora11@linux
~]$ su - -c
'yum clean dbcache'

Password: <-- key in
root password here and hit 'Enter' key

Remove all yum cached packages
and yum old headers.

[fedora11@linux
~]$ su - -c
'yum clean all'

Password: <-- key in
root password here and hit 'Enter' key

Packages Group Install using YUM

List all available installable software
groups.

[fedora11@linux
~]$ su - -c
'yum grouplist | less'

Password: <-- key in
root password here and hit 'Enter' key

Install software package group (group
installation). Yum command below install graphical window system GUI on Linux
Fedora system, change the package group base on available package group from the
yum command output above.

1 comment

Dear Friends,
I have installed fedora 12 on my systems fresh copy but i want to install telnet server on my fedora and i installed telnet using yum install telnet-server after i added port no 23 on xinetd.d/telnet file still i am not able to use telnet service in my xp client but i can able to login telnet in fedora system itself please guide me about this.
regards
rao