Various usages of Yum and Yumex

Yum(Yellow Dog Update Modified) is an interactive package manager based on rpm. Different Linux Distributions uses different package managers. For example, Ubuntu uses apt-get whereas Fedora/RedHat uses yum. There are various things you can do with yum: install and uinstall packages, check for update, update packages, list the available packages and many more. This tutorial covers  all these actions using  that can be performed using yum and take proper advantage of it. You can find the whole bunch of lists on the usages and the things that the yum can do in the manual page of yum. Go to terminal and type to view the manual page of yum:

man yum

Usage of Yum:

To work with yum, you should be login as a root user or provide the root permission . See this to enable the ‘sudo’ root login .

1. Use yum to install and uinstall packages(applications):

Yum can be used to install and uninstall available packages or applications. To install the package with yum go to the terminal and type:

yum install package_name

To uinstall the package, type:

yum uninstall package_name

You can find more about various way of installing and uninstalling packages and applications here.

2. Use yum to check for the update and update the system:

Yum is used to check if any update is available or not. To check for the update, type:

yum check-update

To update the system:

yum update

3. Use yum to re-install packages:

If the package you have installed is broken or doesn’t work properly, you can use the yum to reinstall the package. To reinstall the package:

yum reinstall package_name

If I want to reinstall the package or the application called ‘Libre Office’, I would type with root permission:

sudo yum reinstall libreoffice

reinstall package using yum

4. Use yum to list packages:

Yum is used to list the installed packages and all the available packages. To list all the installed packages:

yum list installed

The list is going to be long, So use pipe to view in the page format.

yum list installed | less

Also, specific installed package can be searched using ‘grep; command. See more about grep command .

yum list installed | grep package_name

Also, use yum to list all the available packages:

yum list available

5. Use yum to find information about some package:

Yum can also be used to find the info about some specific package. To do this:

yum info package_name

Usage of Yumex:

If you are new to Linux environment and if command line scares you that much, you can use the graphical front end of yum called yumex.

To install yumex:

yum install yumex

After successfully installing, type yumex in the terminal and you will be asked to enter the password for the root permission.
provide root permission to yumex
After that, You can view the updates, available pacakges, installed packages, all packages, groups and categories. To install the package click on package and click Apply. It’s like same working with the PackageKit. See how to use PackageKit . You can also search for the packages in search box.

yumex interface

0saves
Posted in Fedora, Linux, Linux Command | Tagged , , , , , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>