Difference between revisions of "Epel"

From SME Server
Jump to navigationJump to search
m (Cosmetic changes for legibility)
Tags: Mobile edit Mobile web edit
 
(25 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude>{{Warning box|msg=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.}}
 
<noinclude>{{Warning box|msg=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.}}
Below you find the installation command for the {{PAGENAME}} repository which can be entered on 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.
 
</noinclude>
 
</noinclude>
  
= '''For SME 7.x''' =
+
Below you will find the installation command for the {{PAGENAME}} repository which can be entered on the SME Server shell command line.
 +
 
 +
OR
 +
 
 +
To simplify installation you can use the extra repositories rpm at:
 +
 
 +
[[Extrarepositories|https://wiki.koozali.org/Extrarepositories]]
 +
 
 +
 
 +
 
 +
==== '''Generic''' ====
 +
<onlyinclude>
 
  /sbin/e-smith/db yum_repositories set epel repository \
 
  /sbin/e-smith/db yum_repositories set epel repository \
  Name 'Epel - EL4' \
+
  Name 'Epel' \
  BaseURL 'http://download.fedoraproject.org/pub/epel/4/$basearch' \
+
  BaseURL 'http://download.fedoraproject.org/pub/epel/$releasever/$basearch' \
  MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \
+
  MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' \
 
  EnableGroups no \
 
  EnableGroups no \
 
  GPGCheck yes \
 
  GPGCheck yes \
 
  GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 
  GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 +
Exclude perl-Razor-Agent \
 
  Visible no \
 
  Visible no \
 
  status disabled
 
  status disabled
 +
</onlyinclude>
 +
  
= '''For SME 8.x''' =
+
==== '''For SME 10.x''' ====
 
  /sbin/e-smith/db yum_repositories set epel repository \
 
  /sbin/e-smith/db yum_repositories set epel repository \
  Name 'Epel - EL5' \
+
  Name 'Epel - EL7' \
  BaseURL 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
+
  BaseURL 'http://download.fedoraproject.org/pub/epel/7/$basearch' \
  MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
+
  MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 +
Exclude perl-Razor-Agent,pwauth \
 +
Visible no \
 +
status disabled
 +
 
 +
 
 +
==== '''For SME 10.x Testing''' ====
 +
/sbin/e-smith/db yum_repositories set epel-testing repository \
 +
Name 'Epel - EL7' \
 +
BaseURL 'http://download.fedoraproject.org/pub/epel/testing/7/$basearch' \
 +
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=$basearch' \
 
  EnableGroups no \
 
  EnableGroups no \
 
  GPGCheck yes \
 
  GPGCheck yes \
 
  GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 
  GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 +
Exclude perl-Razor-Agent \
 
  Visible no \
 
  Visible no \
 
  status disabled
 
  status disabled
  
= '''For SME 9.x''' =
+
 
 +
==== '''For SME 9.x''' ====
 
  /sbin/e-smith/db yum_repositories set epel repository \
 
  /sbin/e-smith/db yum_repositories set epel repository \
 
  Name 'Epel - EL6' \
 
  Name 'Epel - EL6' \
Line 36: Line 68:
 
  Visible no \
 
  Visible no \
 
  status disabled
 
  status disabled
 +
 +
 +
==== '''For SME 8.x''' ====
 +
End of life 3/31/2017
 +
/sbin/e-smith/db yum_repositories set epel repository \
 +
Name 'Epel - EL5' \
 +
BaseURL 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
 +
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 +
Visible no \
 +
status disabled
 +
 +
 +
==== '''For SME 7.x''' ====
 +
End of life 2013
 +
/sbin/e-smith/db yum_repositories set epel repository \
 +
Name 'Epel - EL4' \
 +
BaseURL 'http://download.fedoraproject.org/pub/epel/4/$basearch' \
 +
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \
 +
EnableGroups no \
 +
GPGCheck yes \
 +
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
 +
Visible no \
 +
status disabled
 +
 
<headertabs/>
 
<headertabs/>
  
<onlyinclude>{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
+
{{#ifeq:{{{transcludesection|yum-modify}}}|yum-modify|
 
After adding it to the database updating the configuration file is required by issuing:
 
After adding it to the database updating the configuration file is required by issuing:
 
  signal-event yum-modify
 
  signal-event yum-modify
}}</onlyinclude>
+
}}
  
For example to view changes you can run:
+
<noinclude>
 +
To view changes you can run:
 
  '''db yum_repositories show epel'''
 
  '''db yum_repositories show epel'''
  
The output will be following your smeserver version:
+
The output will be dependent on your SMEserver version. This example is for SME 8.x:
  
 
     epel=repository
 
     epel=repository

Latest revision as of 04:31, 4 February 2022

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

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel' \
BaseURL 'http://download.fedoraproject.org/pub/epel/$releasever/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Exclude perl-Razor-Agent \
Visible no \
status disabled


For SME 10.x

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL7' \
BaseURL 'http://download.fedoraproject.org/pub/epel/7/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Exclude perl-Razor-Agent,pwauth \
Visible no \
status disabled


For SME 10.x Testing

/sbin/e-smith/db yum_repositories set epel-testing repository \
Name 'Epel - EL7' \
BaseURL 'http://download.fedoraproject.org/pub/epel/testing/7/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Exclude perl-Razor-Agent \
Visible no \
status disabled


For SME 9.x

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL6' \
BaseURL 'http://download.fedoraproject.org/pub/epel/6/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Exclude perl-Razor-Agent \
Visible no \
status disabled


For SME 8.x

End of life 3/31/2017

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL5' \
BaseURL 'http://download.fedoraproject.org/pub/epel/5/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled


For SME 7.x

End of life 2013

/sbin/e-smith/db yum_repositories set epel repository \
Name 'Epel - EL4' \
BaseURL 'http://download.fedoraproject.org/pub/epel/4/$basearch' \
MirrorList 'http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=$basearch' \
EnableGroups no \
GPGCheck yes \
GPGKey http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL \
Visible no \
status disabled

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/5/$basearch
    EnableGroups=no
    GPGCheck=yes
    GPGKey=http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL
    MirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=$basearch
    Name=Epel - EL5
    
    Visible=no
    status=disabled