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.

Presentation

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.
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 (2 votes, average: 5.00 out of 5)
Loading...

Leave a Reply

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

Notify of
Sort by:   newest | oldest
mehboob
Member
mehboob

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.

Regards,

Ahmad
Member
Ahmad

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
[home]
name=linux
baseurl=file:///repos/local
enabled=1
gpgchchek=0
:wq!
# yum clean all
# yum repolist
# yum list all

4-If they asked to install suitable kernel from http://a.abc.com/kernel , what should the full answer be?

Thanks in advance!

RHCSA7: Task of the day

Allowed time: 3 minutes.
Check that you've got no SELinux policy violations.

RHCE7: Task of the day

Allowed time: 10 minutes.
Configure a httpd server that executes a Perl script in the /var/www/cgi-bin directory displaying "Hello!".

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 ...