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 utility `yum` and installation utility `rpm` to manage packages on Red Hat/CentOS Linux distributions.
*This lab is not approved or sponsored by Red Hat.*
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Install Available Elinks Application
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 the command:
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.
- Verify Elinks Package RPM Exists
Verify that the application is installed. You can check by doing:
which elinks
This 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.