Carlwgeorge (talk | contribs) |
mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''THE EPEL WIKI PAGES ARE NO LONGER USED AND ARE OUT OF DATE - SEE [https://docs.fedoraproject.org/en-US/epel/ THE EPEL DOCS] FOR UP TO DATE INFORMATION.''' | |||
(These wiki pages are being kept for historical reference only.) | |||
{{autolang|base=yes}} | {{autolang|base=yes}} | ||
Line 80: | Line 84: | ||
Packages are not automatically branched for each EPEL version. Each package must be branched by a packager for each particular release, and packagers may or may not be interested in EPEL-8 while they were interested in EPEL-7. If you are an EPEL-8 user and you want an EPEL-8 branch of a particular package, it's a good idea to ask the existing EPEL or Fedora maintainer. This lets the current maintainer know that there are real users who would benefit from the package (instead of simply guessing at the size of the user base). | Packages are not automatically branched for each EPEL version. Each package must be branched by a packager for each particular release, and packagers may or may not be interested in EPEL-8 while they were interested in EPEL-7. If you are an EPEL-8 user and you want an EPEL-8 branch of a particular package, it's a good idea to ask the existing EPEL or Fedora maintainer. This lets the current maintainer know that there are real users who would benefit from the package (instead of simply guessing at the size of the user base). | ||
The preferred method of asking a maintainer for an EPEL branch is to file a ticket in [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20EPEL bugzilla] against the "Fedora EPEL" product. Choose the appropriate EPEL version (e.g. epel8). If the package doesn't exist in component menu of the "Fedora EPEL" product, you can use the "Fedora" product and the "rawhide" version instead. | The preferred method of asking a maintainer for an EPEL branch is to file a ticket in [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20EPEL bugzilla] against the "Fedora EPEL" product. Choose the appropriate EPEL version (e.g. epel8). If the package doesn't exist in the component menu of the "Fedora EPEL" product, you can use the "Fedora" product and the "rawhide" version instead. | ||
If you want to check the current ownership of a package (perhaps to contact the owner directly), locate the package repository in [https://src.fedoraproject.org/ distgit]. You can also use [[zodbot]] on IRC to find the same information: | If you want to check the current ownership of a package (perhaps to contact the owner directly), locate the package repository in [https://src.fedoraproject.org/ distgit]. You can also use [[zodbot]] on IRC to find the same information: | ||
Line 303: | Line 307: | ||
=== RHEL 8 has binaries in the release, but is missing some corresponding -devel package. How do I build a package that needs that missing -devel package? === | === RHEL 8 has binaries in the release, but is missing some corresponding -devel package. How do I build a package that needs that missing -devel package? === | ||
There is a short term and a long term solution. These two solutions should be used together. | |||
* Short Term: Create an epel package that only has the missing packages. | |||
** Be prepared to maintain this package as long as it is needed. | |||
** It is recommended that you name it <package>-epel | |||
** It is recommended that you add the epel-packaging-sig group as a co-maintainer | |||
** It qualifies for an exception to the review process[1] so you can request the repo with | |||
*** fedpkg request-repo --exception <package>-epel | |||
** If you need help building this, ask for help. We have some examples. | |||
** When/If the missing package(s) are added to RHEL CRB, retire your -epel package. | |||
* Long Term: Request the package be added to RHEL 8 and 9 CRB repository. | |||
** To initiate this process, please file a bug in https://bugzilla.redhat.com and request it be added to RHEL 8 and 9. Report the bug against the "CentOS Stream" version of the "Red Hat Enterprise Linux 8" and/or "Red Hat Enterprise Linux 9" product. | |||
** Be sure to say that it is impacting an EPEL build, and which package it is impacting. | |||
=== What is EPEL Playground? === | === What is EPEL Playground? === | ||
Line 317: | Line 333: | ||
=== Is it possible to get a package only into EPEL and not Fedora? === | === Is it possible to get a package only into EPEL and not Fedora? === | ||
Simply go through the review process for Fedora and specify only EL targets for the initial import. Due to technical reasons, a master branch for Rawhide will always be created. Therefore [ | Simply go through the review process for Fedora and specify only EL targets for the initial import. Due to technical reasons, a master branch for Rawhide will always be created. Therefore [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Retirement_Process/ retire the package] directly in Fedora Rawhide to avoid confusion. But note that maintaining packages in Fedora has many advantages for you, you should consider maintaining the package in both Fedora and EPEL if it makes for the package to be in Fedora. | ||
=== What do I have to do to get a package removed from EPEL? === | === What do I have to do to get a package removed from EPEL? === | ||
Please follow the [ | Please follow the [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Retirement_Process/ How to remove a package at end of life] guideline. | ||
=== What do I need to do if I need to get a updated package quickly into the EPEL proper? === | === What do I need to do if I need to get a updated package quickly into the EPEL proper? === |
Latest revision as of 20:01, 6 January 2022
THE EPEL WIKI PAGES ARE NO LONGER USED AND ARE OUT OF DATE - SEE THE EPEL DOCS FOR UP TO DATE INFORMATION.
(These wiki pages are being kept for historical reference only.)
What is EPEL?
EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such as CentOS.
As part of the Fedora packaging community, EPEL packages are 100% free/libre open source software (FLOSS).
Why is the Fedora Project sponsoring EPEL?
A large number of contributors and users of Fedora and Enterprise Linux want to work within Fedora to provide these packages.
The Fedora Project is a user of EPEL packages within the Fedora infrastructure itself. The Fedora Project is in a position to know the pain of not having a desired piece of software included in the RHEL distribution, and also a unique position to do something about it. Although RHEL is derived from Fedora, only a commercially supported subset of Fedora derived packages are included in the RHEL distribution. By sponsoring the EPEL project, Fedora contributors and users gain in many ways.
Is EPEL commercially supported by Red Hat?
No. EPEL is a volunteer effort from the Fedora community. Just like Fedora itself, Red Hat hosts infrastructure for this project and Red Hat engineers are involved as maintainers and leaders but there are no commercial support contracts or service level agreements provided by Red Hat for packages in EPEL.
Which releases of Red Hat Enterprise Linux or derivatives does EPEL project provides packages for?
EPEL project provides add-on packages for Red Hat Enterprise Linux 7, 6, and 5 releases and compatible derivatives (e.g., CentOS). Packages for Red Hat Enterprise Linux 4, 3 and 2 are not provided because these releases are at End of Life per Red Hat's errata support policy. Also, over time, Fedora diverges from older RHEL releases, and it can become more difficult to maintain packages that must build against against the older RHEL versions.
How is EPEL different from other third party repositories for RHEL and derivatives?
- EPEL packages are in most cases built or derived from the equivalent ones in Fedora repository and maintained by the same people. It has also been improved through peer reviews, testing and feedback from end users.
- EPEL adheres to the well documented Fedora Packaging guidelines , which RHEL has started following. This ensures good integration.
- EPEL is purely a complementary add-on repository and does not replace packages in RHEL or layered products.
- EPEL has a large team of contributors including Red Hat engineers and volunteer community members working together to maintain the repository.
- EPEL only provides free and open source software unencumbered by patents or any legal issues.
See also CentOS FAQ on alternate repositories.
Are EPEL packages available only for RHEL or also for compatible derivatives?
Packages are freely available and it is an explicit goal of the project to make sure they are usable for RHEL-based distributions such as CentOS and Scientific Linux.
Does EPEL replace packages provided within Red Hat Enterprise Linux or layered products?
No. EPEL is purely a complementary repository that provide add-on packages. EPEL will not conflict with any of the channels/layered products/default modules that it builds against. That is currently:
- For EPEL7:
- rhel-7-server
- rhel-7-server-extras
- rhel-7-server-optional
- rhel-ha-for-rhel-7-server
- For EPEL8:
- rhel-8-baseos
- rhel-8-appstream
- codeready-builder-for-rhel-8
- centos-8-Devel
EPEL will coordinate with other channels/products to minimize any conflicts, but may replace or cause issues with other channels.
What is the policy on updates for packages in EPEL?
Refer to the EPEL package maintenance and updates policy for all the details.
How does Fedora Project ensure the quality of the packages in EPEL?
Packages are peer reviewed against extensive packaging guidelines before being imported into the repository. Only updates that fix important bugs get pushed to the stable repository directly. Other updates hit a testing repository first and get released as an EPEL scheduled update in parallel with the EL scheduled updates. Packages often are tested in Fedora, too. The Fedora Packaging Guidelines and QA team back up all these efforts, helping to avoid errors. There are also discussions for more strict QA policies. Do participate and help us.
How long are EPEL packages updated?
Ideally EPEL packages are maintained as long as the corresponding RHEL release is supported. However, EPEL is a volunteer effort, and a package maintainer can retire their EPEL branch at any time.
How can we be sure that someone will maintain the packages until end of life of the distribution the packages were built for?
The only way to be sure is to do it yourself, which is coincidentally the reason EPEL was started in the first place.
Software packages in EPEL are maintained on a voluntary basis. If you to want ensure that the packages you want remain available, get involved directly in the EPEL effort. More experienced maintainers help review your packages and you learn about packaging. If you can, get your packaging role included as part of your job description; EPEL has written a generic description that you can use as the basis for adding to a job description.
We do our best to make this a healthy project with many contributors who take care of the packages in the repository, and the repository as a whole, for all releases until RHEL closes support for the distribution version the packages were built for. That is ten years after release (currently) -- a long time frame, and we know a lot can happen in ten years. Your participation is vital for the success of this project.
What if my ISV/IHV wants to maintain a package in EPEL?
Software and hardware vendors are encouraged to get involved in EPEL. For more information, read the ISV/IHV Perspective.
Why isn't a package in EPEL-8 when it is in EPEL-7?
Packages are not automatically branched for each EPEL version. Each package must be branched by a packager for each particular release, and packagers may or may not be interested in EPEL-8 while they were interested in EPEL-7. If you are an EPEL-8 user and you want an EPEL-8 branch of a particular package, it's a good idea to ask the existing EPEL or Fedora maintainer. This lets the current maintainer know that there are real users who would benefit from the package (instead of simply guessing at the size of the user base).
The preferred method of asking a maintainer for an EPEL branch is to file a ticket in bugzilla against the "Fedora EPEL" product. Choose the appropriate EPEL version (e.g. epel8). If the package doesn't exist in the component menu of the "Fedora EPEL" product, you can use the "Fedora" product and the "rawhide" version instead.
If you want to check the current ownership of a package (perhaps to contact the owner directly), locate the package repository in distgit. You can also use zodbot on IRC to find the same information:
<smooge> .whoowns tinyproxy <zodbot> smooge: jjh <smooge> .fasinfo jjh <zodbot> smooge: User: jjh, Name: None, email: jeremy@hinegardner.org, Creation: 2007-03-23, IRC Nick: None, Timezone: None, Locale: None, GPG key ID: None, Status: active <zodbot> smooge: Approved Groups: cla_fedora cla_done fedorabugs packager cla_fpca
For more information, see the Getting a Fedora package in EPEL page.
Using EPEL
How can I install the packages from the EPEL software repository?
Follow the instructions at EPEL#Quickstart.
Where is the software repository located?
EPEL packages are located at master mirror. There are mirrors available at mirror list.
The snapshots of the EPEL repository are available in an EPEL archive. Those are useful when a package was removed from EPEL, e.g. because the package was added into a later RHEL version and you have not yet migrated to the latest RHEL version.
Where can I find help or report issues?
You can find help or discuss issues on the epel-devel mailing list or IRC channel #epel on Freenode. Report issues against EPEL via bugzilla.
How do I know that a package is a EPEL package?
All EPEL packages are signed with an official EPEL gpg-key. The public key IDs can be found at https://getfedora.org/security/. The keys are included in epel-release and yum/dnf will ask you to import it the first time you install an EPEL package.
Is EPEL "upstream" or "an official package repository" (like Fedora Extras was)?
EPEL is just one of several add on repositories with RPM packages for RHEL and derivates. It is not an official repository. The different repositories serve different user bases or follow different ideas.
Just like RHEL itself, EPEL in reality is more a "downstream" in the sense that Fedora is upstream and EPEL, just like Red Hat, takes packages for its product that are constantly developed, tested and receive feedback in Fedora. Red Hat, through their sponsorship for the Fedora project and participation of Red Hat maintainers, continues to back EPEL, but Red Hat has not endorsed EPEL or commercially supported it.
The EPEL maintainers are well aware that EPEL can't serve all needs, and that other repositories are likely needed, for types of software the Fedora project won't provide, which currently includes packages for EPEL with a rolling release model or non-free and patent encumbered software.
Why doesn't EPEL use repotags?
There were a lot of long discussions in the months of EPEL about using repotags or not. Lots of people from inside and outside of Fedora and EPEL, as well as maintainers from other repositories, participated in those discussions. No real agreement could be found as to whether the benefits outweigh the disadvantages - part of the problem was that people sometimes couldn't agree on the benefits or disadvantages repotags have (or if there are any). The final decision in three voting sessions (one done by FESCo before EPEL had a Steering Committee and twice done by EPEL's first Steering Committee) was to go without repotags in EPEL.
How can I find out if a package is from EPEL?
If you want to find out if a package comes from EPEL, use a query such as this:
$ rpm -qp foo-0.1-5.el5.i386.rpm --qf '%{NAME}-%{VERSION}-%{RELEASE} %{VENDOR}\n' foo-0.1-5.el5 Fedora Project $ rpm -qp foo-0.1-5.el5.i386.rpm --qf '%{NAME}-%{VERSION}-%{RELEASE} %{DISTRIBUTION}\n' foo-0.1-5.el5 Extras Packages for Enterprise Linux $ rpm -qp foo-0.1-5.el5.i386.rpm --qf '%{NAME}-%{VERSION}-%{RELEASE} %{SIGPGP}\n' foo-0.1-5.el5 883f030500468e3e4e119cc036217521f611025863009f5fe424c6fe4bc81a57f45722e465e71381dda2f6009f7c08e1743794b5b9a5a4cd149081092801a5d935
Or you can install and run the 'keychecker' script to list all packages signed with a particular key as well as which repo they came from.
Is EPEL willing to cooperate with other third party repositories?
EPEL is always willing to discuss cooperation with other parties and repositories and encourages maintainers to do so whenever possible.
What about compatibility with other third party repositories?
Mixing different RPM repositories that were not designed to be mixed can lead to incompatibilities that often result in dependency resolution problems in yum. Sometimes it even happens that software is not working as expected if libraries and applications come from different repositories. EPEL is designed as an add-on repository for RHEL and compatible derivatives. The best way to avoid problems is to avoid mixing EPEL with other third party repositories that have conflicting packages on the same system. Some people nevertheless do it and the yum priorities plugin can help to avoid the worst problems.
If you encounter a problem where packages from EPEL are incompatible with another repository, or lead yum or up2date to bail out during dependency resolution, please report a bug to Bugzilla and contact the maintainer of the other repositories. The EPEL project encourages its maintainers to solve such problems together with the maintainers from other repositories in order to find a solution that is acceptable for both sides. However, there is no guarantee such a solution can or will be found in every case, as technical solutions to solve a repository-mixing issue might have side-effects or drawbacks for one of the repositories involved.
Contributing to EPEL
General
Who can contribute to EPEL?
Anyone may contribute to EPEL. If you are using RHEL or compatible spin off's, and you have the required skills for maintaining packages or are willing to learn, you are welcome to contribute.
Questions specific to existing Fedora contributors
How do I get my packages into EPEL?
You have to follow the same process as Fedora except that you can request an EPEL branch (such as EL-5 or EL-6 ...etc), tag, and build.
How do I request a EPEL branch for an existing Fedora package?
Please follow the usual Fedora method with a Package Change Request.
I maintain a package in Fedora. Do I have to maintain it for EPEL now, too?
No. You can if you want, or you can ask someone else to maintain the package in EPEL for you. In some cases, you may be approached by a current EPEL maintainer who wants to maintain your package in EPEL.
I maintain a package in Fedora and want to maintain packages in EPEL, too, but I don't have a RHEL subscription for testing?
You can use a compatible derivative of RHEL for testing, it should be 100% compatible. Mock is available in Fedora and ships config files that can be used to test build the packages. You can also request a courtesy RHEL entitlement. See: EPEL RHEL Entitlements.
I'm a Fedora contributor and want to maintain my packages in EPEL, too. What do I have to do and what do you expect from me?
All Fedora packagers can request EPEL branches in Git via the normal procedure. Please keep in mind that by building your packages in EPEL we expect that you are aware of the special EPEL guidelines and policies and that you will adhere to them. You should also plan to maintain the packages for the near future -- ideally for several years, or for the full planned lifetime of EPEL. Remember that RHEL has a planned lifetime of 10 years.
You may want to look into formalizing your packaging role in your company or other organization. If you can do that, this generic job description may help. Aside from making sure that you are recognized for the value you give your organization, formal role recognition ensures that your organization has someone continuing to maintain the package, even if someone new is in the role.
For testing the packages before and after building please use RHEL if you have a subscription, or the freely available RHEL-based distros such as CentOS or Scientific Linux.
How do you make sure that packages in EPEL and in Fedora do not split?
The plan is to have one primary maintainer per package who is responsible for making certain that the package enhancements applied to one tree (for example, EL6) find their way into the other trees (for example, Fedora devel).
This maintainer decides what makes sense to apply for the package in general. New EL branches for new EL releases are normally created from the associated Fedora branch on which the EL release is based. Therefore, the EL maintainer has a genuine interest in getting enhancements merged into Fedora.
Will my packages from Fedora simply build unchanged on EPEL5
Most likely they will build unchanged. However, there are specific items to consider. All your build requirements in the package must be part of RHEL5 or EPEL5.
You can maintain these packages in EPEL yourself if it was reviewed and the main Fedora packager is not interested in maintaining them for EPEL. Just request a branch for EPEL with you as the per-repo maintainer. Be sure to inform the Fedora packager.
There are also some packages that are only part of RHEL Server, while others are only part of RHEL Desktop. Since RHEL-ppc is only available as Server you can't use the packages that are only part of the client as BuildRequires. In that case, you will probably need to add arch specific conditionals to your spec file.
Here is a list of packages that are only part of the client:
compiz ekiga evolution evolution-connector evolution-webcal fribidi gaim gnome-games gnome-pilot gnome-pilot-conduits gnome-spell gnome-user-share hsqldb jpilot k3b kdeaddons kdegames kdegraphics kdemultimedia kdepim launchmail libgpod libsilc libwpd nautilus-sendto opal openoffice.org perl-Archive-Zip pilot-link planner pwlib python-imaging redhat-release-5Client redhat-release-notes-5Client-5 rhythmbox scribus taskjuggler thunderbird
These are only part of the server:
Cluster_Administration clustermon compat-gcc-295 conga elilo gfs-kmod gfs-kmod gfs-utils Global_File_System gnbd gnbd-kmod gnbd-kmod iprutils ipvsadm libica librtas libunwind lvm2-cluster openssl-ibmca piranha ppc64-utils prctl redhat-release-5Server redhat-release-notes-5Server-5 rgmanager s390utils salinfo system-config-cluster yaboot
If using fedpkg from a Fedora machine, you may have to specify the distribution the following way:
fedpkg --dist el5 local
If building from a RHEL/EPEL5 machine, some specific variables need to be set when building a package:
rpmbuild --define 'dist .el5' --define 'rhel 5' --define 'el5 1' -ba mypackage.spec
I need to build a package that in turn requires another one I have just added. How do I do this?
You will need to request a buildroot override in bodhi.
How can I know which packages are part of RHEL?
Look at the rebuilds trees such as CentOS, or browse the SRPMs for RHEL. EPEL will not ship a package that is in the RHEL Advanced platform set. This is basically anything in the server or workstation for RHEL5. This would be RHEL5-Client and RHEL5-Server.
I want to build packages for EPEL but some of my packages dependencies are not available in EPEL -- or -- I'd like to see a Fedora package in EPEL that is not yet available there
See here how to get a Fedora package in EPEL.
RHEL 8 has binaries in the release, but is missing some corresponding -devel package. How do I build a package that needs that missing -devel package?
There is a short term and a long term solution. These two solutions should be used together.
- Short Term: Create an epel package that only has the missing packages.
- Be prepared to maintain this package as long as it is needed.
- It is recommended that you name it <package>-epel
- It is recommended that you add the epel-packaging-sig group as a co-maintainer
- It qualifies for an exception to the review process[1] so you can request the repo with
- fedpkg request-repo --exception <package>-epel
- If you need help building this, ask for help. We have some examples.
- When/If the missing package(s) are added to RHEL CRB, retire your -epel package.
- Long Term: Request the package be added to RHEL 8 and 9 CRB repository.
- To initiate this process, please file a bug in https://bugzilla.redhat.com and request it be added to RHEL 8 and 9. Report the bug against the "CentOS Stream" version of the "Red Hat Enterprise Linux 8" and/or "Red Hat Enterprise Linux 9" product.
- Be sure to say that it is impacting an EPEL build, and which package it is impacting.
What is EPEL Playground?
EPEL Playground started with EPEL 8. It is meant to be sort of like Fedora Rawhide so that packagers can work on versions of software which are too fast moving or will have large API changes from what they are putting in the regular channel. More information is found in the EPEL Playground page.
Miscellaneous
I want to get a package into EPEL. What do I have to do?
Get it into Fedora and tested by users for a while. Once it has been tested, it can be pushed to EPEL. In other words: create a package, propose the package for review via bugzilla, get it reviewed and approved, and import it into Fedora. After that, request an EPEL branch for your package.
Is it possible to get a package only into EPEL and not Fedora?
Simply go through the review process for Fedora and specify only EL targets for the initial import. Due to technical reasons, a master branch for Rawhide will always be created. Therefore retire the package directly in Fedora Rawhide to avoid confusion. But note that maintaining packages in Fedora has many advantages for you, you should consider maintaining the package in both Fedora and EPEL if it makes for the package to be in Fedora.
What do I have to do to get a package removed from EPEL?
Please follow the How to remove a package at end of life guideline.
What do I need to do if I need to get a updated package quickly into the EPEL proper?
Please do not try and push your packages directly to stable unless they are security updates or critical bug fixes. This is enforced by epel rel-eng/signers who will change your request to testing unless your update meets the criteria for pushing to stable.
Normal updates MUST spend at least 2 weeks in testing before being pushed to stable. After the initial two weeks you can decide to request stable or let the update wait until it gets sufficient karma in bodhi before pushing.
Are games or similar packages not strictly meant for enterprise users allowed and wanted?
Yes. There are people that use EL distributions on their home desktop or similar scenarios because Fedora's release and updates cycle is faster than required for them. Some of those people want to play games or use other non-enterprise oriented software. Having such packages in the repository doesn't affect anyone that uses EL distributions for other needs.
Why don't you simply rebuild all Fedora packages for RHEL that are not part of it?
We require maintainers to take ownership and commit to maintaining the packages in the long term. Merely rebuilding all the packages automatically has higher potential for packages being broken or orphaned.
Other questions?
You can contact the EPEL team