15 Difference Between Linux Yum and Up2date Command

What is YUM?

Yellow dog Updater, Modified (YUM) is an open source and free command line utility for package management. It is only compatible with that Linux operating system is having RPM facility in to it. Basic concept of YUM is to find out the dependencies which are required to install any package. With the help of this utility, we can easily manage multiple machines without manually updating each of them with RPM command. YUM normally uses the packages stored in the root directory called /var/cache/yum/.

What is up2date?

UP2DATE is a command or tool that is used by most common Linux operating systems like Red Hat Enterprise Linux, Fedora Core and CentOS with their package manager. This has got a very good dependency resolution feature. The directory location used by this tool is /etc/sysconfig/rhn/sources. This location is the place from where up2date will search for different packages and then downloads as well as installs newer packages and upgrades our operating system. We can say it is a front end utility to our Red Hat Package Manager.

Comparisons between both the tools.

Comparison: 1

[[email protected] Desktop]# yum update

[[email protected] Desktop]# up2date –u

Both of the above commands checks and updates all the RPMs in your operating system.

Comparison: 2

[[email protected] Desktop]# yum update

[[email protected] Desktop]# up2date –u

The above command checks and updates a specific RPM or package.

Comparison: 3

[[email protected] Desktop]# yum install

[[email protected] Desktop]# up2date –i

Installs the specific package given here as an argument.

Comparison: 4

[[email protected] Desktop]# yum remove

[[email protected] Desktop]# rpm –e

This command removes the specific package with its dependent packages.

Comparison: 5

[[email protected] Desktop]# yum list updates

[[email protected] Desktop]# up2date –l

This command will list all those packages that need to be updated.

Comparison: 6

[[email protected] Desktop]# yum list available

[[email protected] Desktop]# up2date –show-available

This command will list all the available packages from its sources.

Comparison: 7

[[email protected] Desktop]# yum list installed

[[email protected] Desktop]# rpm –qa

This command displays the list of all installed packages in your system.

Comparison: 8

[[email protected] Desktop]# yum groupupdate

[[email protected] Desktop]# up2date –u @

This command updates the packages in a group.

Comparison: 9

[[email protected] Desktop]# yum groupinstall

[[email protected] Desktop]# up2date –i @

This will install the default packages in a group.

Comparison: 10

[[email protected] Desktop]# yum groupremove

[[email protected] Desktop]# Not possible in this command

This will remove all the packages in a group.

Comparison: 11

[[email protected] Desktop]# yum grouplist

[[email protected] Desktop]# up2date –show-groups

This command will list available packages in group.

Comparison: 12

[[email protected] Desktop]# yum install .

[[email protected] Desktop]# up2date –arch=.

e.g. [[email protected] Desktop] # up2date –arch=i386.mysql

This command will install the package based on specific architecture.

Comparison: 13

[[email protected] Desktop]# yum list extras

[[email protected] Desktop]# up2date –show-orphans

This command will show all packages that is not available through some subscribed channels or some repository.

Comparison: 14

[[email protected] Desktop]# yum whatprovides

[[email protected] Desktop]# up2date –whatprovides=

This will list all the packages which satisfy the dependencies. Even, we can also find out what RPM packages provide these files.

Comparison: 15

[[email protected] Desktop]# rhn_register

[[email protected] Desktop]# up2date –register

With the help of this command, we can register our system of Red Hat Network.

About Bobbin Zachariah

Founder of LinOxide, passionate lover of Linux and technology writer. Started his career in Linux / Opensource from 2000. Love traveling, blogging and listening music. Reach Bobbin Zachariah about me page and google plus page.

Author Archive Page

Have anything to say?

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

All comments are subject to moderation.