SYS: Install and update software packages from Red Hat Network, a remote repository, or from the local file system.

Share this link

Note: This is an RHCSA 7 exam objective and an RHCE 7 exam objective.


This topic is so broad that it is necessary to divide it into several parts:

Additional Resources

Don’t forget to check these yum guides.
You can also download the Red Hat Yum command cheat sheet.
Sander van Vugt provides an interesting video about installing and updating software packages (7min/2016).
Additionally, you can watch Red Hat videos about Resolving Dependencies Issues (9min/2016) or How do I manage software in RHEL? (13min/2017).

Although not in the RHCSA and RHCE curriculums, you should become familiar with the deltarpms and learn to use CentOS Continuous Release repository.
At some point, you may want to prevent some packages from being updated.
Also, you can read this mail to better understand rpmnew and rpmsave files.
You can also read this article about the installation of Foreman on CentOS 6.
In addition, you can learn how RedHat manages the Secure distribution of RPM packages.
Finally, if you plan to create new RPM packages (still not part of RHCSA/RHCE curriculums), you need to read the RPM Packaging Guide.

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)

Leave a Reply

Please Login to comment
3 Comment threads
7 Thread replies
Most reacted comment
Hottest comment thread
6 Comment authors
LisenetstefanoAhmadRH7CertDepot Recent comment authors
newest oldest
Notify of

Hi Admin
In RHEL7 exam do we have to create a yum repository. If yes at least what configuration is required to make yum install the packages.



Hi CertDepot,

Can you please help on the below:

1-When creating a repositories (local or remote), there is a gpgkey configuration, is this included in the RHCSA objective?

2-What is the normal in the exam, to configure a remote repo or local?

3-Is the below configuration correct when creating a local repository :

# mkdir -p /repos/local
# mount -o loop rhel-server.iso /repos/local
# cd /etc/yum.repos.d
# vim home.repo
# yum clean all
# yum repolist
# yum list all

4-If they asked to install suitable kernel from , what should the full answer be?

Thanks in advance!


I understood how to configure a local repository but I have a question. The exam asks also to install a package using a specific repository instead of another one? If so could you tell me how to perform it please? Thanks


If you have a package available in more than one repository, you can tell yum which one you don’t want to use.

For example, I have “lynis” package available from epel repo and lynis repo. If I want it installed from the latter, I would do something like this:

# yum install –disablerepo=epel lynis

Upcoming Events (Local Time)

There are no events.

RHCSA7: Task of the day

Allowed time: 5 minutes.
Create two users "tom" and "engine". "tom" has the UID/GID 3000 and "engine" the UID/GID 4000. "engine" doesn't have an interactive shell.

RHCE7: Task of the day

Allowed time: 10 minutes.
Change the SSH process configuration to only listen on the 443 port.

Follow me on Twitter

Poll for favorite RHEL 7 book

What is your favorite RHEL 7 book to prepare RHCSA & RHCE exams?

View Results

Loading ... Loading ...

Poll for most difficult RHCSA 7 topic

What do you think is the most difficult RHCSA 7 topic?

View Results

Loading ... Loading ...

Poll for most difficult RHCE 7 topic

What do you think is the most difficult RHCE 7 topic?

View Results

Loading ... Loading ...