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.