RHEL: Difference between revisions

Jump to navigation Jump to search
336 bytes added ,  2 November 2021
→‎Package management: Install downloaded RPM package
Line 37: Line 37:


== Package management ==
== Package management ==
=== Clean up cache for yum PM ===
<source lang="console">
$ sudo service rhsmcertd restart
$ sudo subscription-manager refresh
$ sudo yum clean all && yum rm -rf /var/cache/yum && yum makecache
</source>
=== List all subscriptions ===
<source lang="console">
$ sudo subscription-manager list --all --available | more
</source>


=== Install downloaded RPM package ===
=== Install downloaded RPM package ===


<source lang="console">
<source lang="console">
$ yum -y localinstall ~/Downloads/screen
$ sudo yum -y localinstall ~/Downloads/screen
</source>
</source>


Navigation menu