YUM & RPM

Yellowdog Updater, Manager is a package management service for Linux operating systems. This package manager is used to install, search and remove software. As you may or may not know, updates improve the system. Whether its security, new features or its performance improvements.

RPM is the Red Hat Package Manager, which was originally developed for RHEL but, is now used in many Linux distributions. RPM is a file format that is used for installing, uninstalling and managing software.  RPM files generally look like this [name]-[version]-[release].[architecture].rpm (example = libgnomeuimm-2.0-2.0.0-3.i386.rpm )

Here are com common yum commands for updating, upgrading, removing and more.
# yum update

  •  will update all repositories and packages in your operating system

# yum upgrade

  • This will update all applications with recently released patches

# yum remove (application)

  • Removing an application

# yum search (application)

  • Searching for an application

# yum clean packages

  • Cleaning up packages after removing applications

# yum clean all

  • Cleaning up any/all packages

# cd /etc/yum.repos.d/

  • This is a list of all the repositories that yum will reach out to and if necessary update you Linux box.

Installing RPM files

#rpm -ihv

  • -h = will show the progress of the installation
  • -v = will allow you to see the information

# whereis 
# which

  • whereis will show you the locations of the application
  • the which command will show you where it is installed

# rpm -q

  • will show the files name and info
  • adding a “-qi” will show more information on the application
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s