Epel

From SME Server
Revision as of 20:46, 2 April 2024 by Unnilennium (talk | contribs) (→‎For SME 9.x)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Warning.png Warning:
Copy the configuration setting to your server as is, do not modify anything as that might harm your installation. To use it to install package enable it using the option --enablerepo=epel at the SME Server shell.


Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL).

EPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions. EPEL uses much of the same infrastructure as Fedora, including buildsystem, bugzilla instance, updates manager, mirror manager and more.


Below you will find the installation command for the Epel repository which can be entered on the SME Server shell command line.

OR

To simplify installation you can use the extra repositories rpm at:

https://wiki.koozali.org/Extrarepositories


Generic

yum install smeserver-extrarepositories-epel -y


For SME 10.x

yum install smeserver-extrarepositories-epel -y

For SME 9.x

yum install smeserver-extrarepositories-epel -y

After adding it to the database updating the configuration file is required by issuing:

signal-event yum-modify


To view changes you can run:

db yum_repositories show epel

The output will be dependent on your SMEserver version. This example is for SME 8.x:

    epel=repository
    BaseUrl=http://download.fedoraproject.org/pub/epel/$releasever/$basearch
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL
    MirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch
    Name=Epel    
    Visible=no
    status=disabled