Thursday, March 31, 2016

Software Management with YUM

YUM (Yellowdog Updater, Modified) is the package management tool used on Red Hat Enterprise Linux and its derived versions, CentOS and Scientific Linux. It acts as a front end to the RPM Package Manager (RPM), and is used to install, remove, and update software on Red Hat based systems.

I first encountered YUM when installing Yellow Dog Linux on PowerPC based Macintosh computers back at the dawn of the 21st century.  When I switched over to Debian based GNU/Linux systems with the release of Ubuntu in 2004, I completely lost touch with the RPM world until my Spring semester Linux System Administration course's pursuit of RHCSA certification brought me back into the fold.

I am writing this post to use as a handy list of the most common things I need to do when managing software:
  1. Update the software on the system
    $ yum check-update
    $ sudo yum update package_name
    $ sudo yum update [to update all packages]
    $ sudo yum group update group_name
    
  2. List all the currently installed software
    $ yum list installed
    $ yum list installed "global expression"
    
  3. Search for available packages
    $ yum list available "global expression"
    $ yum search term...
    
  4. Display information about a package
    $ yum info package_name
    
  5. Install a new package
    $ sudo yum install package_name
    
  6. Remove an existing package
    $ sudo yum remove package_name
    
  7. List the current repos
    $ yum repolist
    $ yum repolist -v
    
That covers the basics. I also need to learn how to clean up the cruft that accumulates over time as a system is run, in Debian land the kind of thing that would be done with $ sudo apt-get autoremove. It seems that in RPM space that is accomplished with the package-cleanup utility, so I'll look into that.

Resources

8 comments:

  1. It acts as a front end to the RPM Package Manager (RPM), and is used to install, remove, and update software on Red Hat based systems.
    Project Management and invoicing Software

    ReplyDelete
  2. Thank you for providing this useful information.Cheap essay writing service providing best services for their customer for improving their academic performances.

    ReplyDelete
  3. Delighted that I found your site, fantastic info. I will bookmark and try to visit more frequently.

    Online Invoicing Software

    ReplyDelete
  4. They ideas about management and their management style is being challenged. field service software 

    ReplyDelete
  5. It's really very beneficial thanks for sharing this details.

    Cloud Inventory Software

    ReplyDelete
  6. The larger the school, the more time school administrators need to handle tasks like admissions, fee management, timetable management, etc. School ERP software is a comprehensive school management solution that allows you to all school processes, such as admission, attendance, transportation, and more from one place. Wefivesoft LLC provides Mobile ERP to schools. Its unique features include automated fee reports, intuitive enquiry module with integrated data analytics for multiple branches.

    best school erp
    best school erp software
    best school erp software in india
    best school erp in india
    best school erp open source
    top school erp india
    the best school erp
    best school erp in the world
    top school erp companies in india
    best erp for school
    top school erp software in india
    top 10 school erp in india
    best education erp in india
    best school management erp

    ReplyDelete