Hot answers tagged

2

First, caveat: Centos6 is end of life so you should be upgrading to at least Centos7. To install epel for a particular distro go to the epel website and that will tell you how to install epel for your particular distribution: https://fedoraproject.org/wiki/EPEL#Quickstart Do not try to mix different versions ie Centos7 / Centos8 as this will cause all sorts ...


1

You can use yum history to find detailed information about a package installation, upgrade, or removal. yum history list <package> will give a summary and yum history info <package> will give very detailed information. For example: [root@vmtest-centos7 ~]# yum history list htop Loaded plugins: fastestmirror ID | Command line | ...


1

You can just do a yum update and every package will be updated to the latest version. Minor versions of the distribution is automatic updated in RHEL


1

The fortune program in CentOS 7, is available under a different package name, fortune-mod, so (with EPEL repo enabled): yum install fortune-mod Why it was renamed to -mod is beyond me. But for some consistency of how you install it across different CentOS version, you can actually use binary name in lieu of package name: yum install /usr/bin/fortune In ...


1

You still need to clean out the metadata from the inappropriate yum repo you had installed. yum clean metadata After this, you should be able to install packages.


Only top voted, non community-wiki answers of a minimum length are eligible