centos.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 16 Sep 2019 22:13:19 +0300
changeset 2376 20b65f046002
parent 2246 dfb949a71021
permissions -rw-r--r--
Revoke privileges and drop role.

.. -*- coding: utf-8; -*-

========
 CentOS
========
.. contents::
   :local:

Install from EPEL
=================
::

  yum install epel-release.noarch bash-completion.noarch

https://fedoraproject.org/wiki/EPEL
  Extra Packages for Enterprise Linux (EPEL).
https://unix.stackexchange.com/questions/21135/package-bash-completion-missing-from-yum-in-centos-6
  Package bash-completion missing from Yum in CentOS 6.

``epel-release`` is not available in RHEL or Oracle Linux. Obtain package separately::

  $ wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  $ sudo yum install ./epel-release-latest-7.noarch.rpm

  $ yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

You should accept package signing key. List of keys' fingerprints:

https://getfedora.org/keys/
   This page lists the public GPG keys used for signing packages in Fedora.

Get list of enabled repos::

  $ yum repolist

  $ cat /etc/yum.repo.d/*