Installing and Managing Packages on Red Hat/CentOS Systems

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Installation and removal of packages is a core skill for anyone managing Linux distributions. During this activity, the student will work with the package manager and installation utilities **yum** and **rpm** to manage packages on Red Hat/CentOS Linux distributions.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Elinks Application Install and Available

An elinks rpm file is already downloaded, but can’t be installed because of missing dependencies.

In order to install the package successfully, you will need to deal with the dependencies. You can use the package manager to do that for you via:

sudo yum install /home/cloud_user/Downloads/elinks-0.12-0.37.pre6.el7.0.1.x86_64.rpm

Optionally, adding -y to the command (sudo yum -y install...) will skip prompting for the dependencies, and will just complete the install as though you’d said "yes" to everything.

If you are able to install the application and dependencies successfully, the learning activity can be considered successfully completed.

Note:: The exact version in your activity may be different; this version was current as of the time this activity was created.

Elinks Package RPM Exists

You’ve been asked to install a package called elinks using the /home/cloud_user/Downloads/elinks-0.12-0.37.pre6.el7.0.1.x86_64.rpm file, and this package must be present in order to do so.

Verify that the application is installed. You can check by doing either:

which elinks

Which will return the /usr/bin/elinks path, or simply run the command to view the console browser application itself

elinks

You can exit once you acknowledge the dialog by pressing the ‘ESC’ key.

Additional Resources

Your development team is working on their new web-based API. During testing, they decided to use a terminal based web browser to perform tests on a separate system. This way, they won't have to leave their terminal window. They found a terminal browser they like, but it the version they need to run is a bit different from the version in the official repository.

They managed to download the appropriate package for their system and architecture, but are unable to install it because of several missing dependencies. They have asked you to resolve the issue, and have provided you with credentials and connection information to their client testing system.

You will need to successfully install the elinks using the .rpm file that the development team downloaded. You can resolve the unmet dependencies however you choose, but the version that has already been downloaded is the version that you need to install. Once you verify the application is installed and running properly, you can turn the system back over for their use.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?