En utilisant ce site, vous acceptez le politique de confidentialité.
Accepter
EntérinEntérinEntérin
  • MAISON
  • INFORMATIQUE PRO
  • TECHNOLOGIE
  • Microsoft
    • Azuré
    • Configmgr / sccm
    • DPM
    • Orchestrateur
    • Hyper-v
    • Microsoft Edge Insider
    • MSI
    • Bureau 365
    • Bureau Insider
    • Power Bi
    • Skype
    • Serveur SQL
    • Équipes
  • FENÊTRES
    • Centre d'administration Windows
    • Client Windows
    • Serveur Windows
  • Liste de collecte de requêtes SCCM
En lisant: Activer EPEL et EPEL ensuite en Almalinux 9 ou Rocky Linux 9
Redimensionneur de policeAA
EntérinEntérin
Redimensionneur de policeAA
  • MAISON
  • INFORMATIQUE PRO
  • TECHNOLOGIE
  • Microsoft
  • FENÊTRES
  • Liste de collecte de requêtes SCCM
Recherche
  • MAISON
  • INFORMATIQUE PRO
  • TECHNOLOGIE
  • Microsoft
    • Azuré
    • Configmgr / sccm
    • DPM
    • Orchestrateur
    • Hyper-v
    • Microsoft Edge Insider
    • MSI
    • Bureau 365
    • Bureau Insider
    • Power Bi
    • Skype
    • Serveur SQL
    • Équipes
  • FENÊTRES
    • Centre d'administration Windows
    • Client Windows
    • Serveur Windows
  • Liste de collecte de requêtes SCCM
Activer EPEL et EPEL ensuite en Almalinux 9 ou Rocky Linux 9
Linux

Activer EPEL et EPEL ensuite en Almalinux 9 ou Rocky Linux 9

Publié: Mars 10, 2024
10 Lecture minimale
PARTAGER

Activer EPEL et EPEL ensuite en Almalinux 9 ou Rocky Linux 9.

Contenu
Table of ContentsAbout EPELUnderstanding EPEL NextBenefits of EPELSteps to Enable EPEL and EPEL NextUpdating SystemInstalling EPEL and EPEL NextVerifying the InstallationUsing the EPEL RepositoryEPEL Command TipsSearching for Specific PackagesGetting Detailed InformationChecking for Package Updates in EPELRemoving a PackageDisabling EPEL TemporarilyKeeping EPEL Packages UpdatedEnd of Life ReleasesHow to Contribute to EPELCommunicating with EPELConclusion

Systèmes Linux d'entreprise comme Almalinux et Rocky Linux 9 Venez avec un ensemble de packages par défaut qui permettent leur fonctionnement de base. Cependant, Les utilisateurs ont souvent besoin de packages supplémentaires pour améliorer les fonctionnalités et les capacités de leurs systèmes. This is where the EPEL repository comes into play.

EPEL ou Extra Packages for Enterprise Linux is a Fedora Special Interest Group that creates, maintains, and manages a high-quality set of additional packages for Enterprise Linux, y compris, but not limited to, Red Hat Enterprise Linux (RHEL), Centos, Scientific Linux (SL), Oracle Linux (OL), Almarux (AL) and Rocky Linux (RL). EPEL packages are usually based on their Fedora counterparts and should not conflict with or replace packages in the base Enterprise Linux distributions.

This guide will demonstrate how to enable the EPEL and EPEL Next repositories on Almalinux 9 ou Rocky Linux 9.

Table of Contents

  • About EPEL
  • Understanding EPEL Next
  • Benefits of EPEL
  • Steps to Enable EPEL and EPEL Next
    • Updating System
    • Installing EPEL and EPEL Next
  • Verifying the Installation
  • Using the EPEL Repository
  • EPEL Command Tips
  • Disabling EPEL Temporarily
  • Keeping EPEL Packages Updated
  • End of Life Releases
  • How to Contribute to EPEL
  • Communicating with EPEL
  • Conclusion

About EPEL

EPEL is a community-based project led by the Fedora team that provides additional packages for Linux distributions, including RHEL, Centos, Almarux, Rocky Linux, and more. These packages offer extra functionality that is not available through the default system repositories, enabling users to easily install additional software packages not included in the base distribution.

The term EPEL stands for Extra Packages for Enterprise Linux. These packages are deemed to be stable, well-tested, and are maintained by the EPEL project. The EPEL repository can be added to any RHEL or CentOS systems, thereby allowing users to easily install additional software packages.

Understanding EPEL Next

While EPEL packages are built for RHEL, EPEL Next is designed to offer an alternative repository for building against CentOS Stream. This is particularly useful for upcoming RHEL library rebases or minimum version build requirements not yet in RHEL.

EPEL Next maintains its distgit branches, koji build targets, and bodhi releases, with a .next disttag for upgrade paths. It’s important to note though that EPEL Next is not a complete rebuild of all the EPEL packages but only those packages that need to be rebuilt to install on CentOS Stream. The EPEL Next repo is meant to be layered on top of the regular EPEL repository.

Benefits of EPEL

Installing the EPEL repository on your Rocky Linux system offers several benefits:

  • Access to Additional Packages: EPEL provides a wide range of extra packages that are not available in the default Rocky Linux repositories.
  • Compatibility with RHEL: Since Rocky Linux is a RHEL derivative, EPEL packages are designed to work seamlessly with your system.
  • Regular Updates: EPEL is actively maintained, ensuring that you receive regular updates and security patches for the packages installed from this repository.

Steps to Enable EPEL and EPEL Next

Updating System

Before you proceed with enabling the repository, it is crucial to update your Linux system to get the available security updates and rebuild the DNF package cache. This can be done using the following command:

sudo dnf update

Installing EPEL and EPEL Next

After updating your system, you can proceed with the installation of the EPEL and EPEL Next repositories. The command to enable these repositories depends on your specific version of Rocky Linux or Almalinux.

Pour Almalinux 9 ou Rocky Linux 9, you need to first enable the CodeReady Builder repository (CRB) which contains additional packages that complement the main distribution and enhance its capabilities. To enable CRB, utilisez la commande suivante:

sudo dnf config-manager --set-enabled crb

Once CRB is enabled, you can install the EPEL repositories with the following commands:

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm

Pour Almalinux 8 ou Rocky Linux 8, you need to first enable the PowerTools repository which provides additional development and debugging tools. To enable PowerTools, utilisez la commande suivante:

sudo dnf config-manager --set-enabled powertools

Once PowerTools is enabled, you can install the EPEL repositories with the following commands:

sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-8.noarch.rpm

Verifying the Installation

After successfully enabling the EPEL repository, it is essential to verify the installation. This ensures that the repository has been correctly configured and is ready for use. You can do this by running the following command:

dnf repolist | grep epel

If the output lists both the EPEL and EPEL Next repositories, it confirms the successful integration of the EPEL repository into your system.

Using the EPEL Repository

Once the EPEL repository has been enabled, you can use standard tools like ‘yum’ or ‘dnf’ to install packages and their dependencies. Par défaut, the stable EPEL repo is enabled. Cependant, there is also an ‘epel-testing’ repository that contains packages that are not yet deemed stable.

EPEL Command Tips

Here are some foundational commands to get you started with using EPEL:

Searching for Specific Packages

To search for a specific package in the EPEL repository, vous pouvez utiliser le dnf search command as follows:

sudo dnf --enablerepo="epel" search <keyword>

Remplacer <keyword> with a term related to the package you’re looking for. This will return a list of packages that match or are related to the keyword.

Getting Detailed Information

To get detailed information about a specific package, including its description, version, and dependencies, utilisez la commande suivante:

sudo dnf --enablerepo="epel" info <package_name>

Checking for Package Updates in EPEL

To check if there are updates available for packages you’ve installed from EPEL, utilisez la commande suivante:

sudo dnf --enablerepo="epel" check-update

This will list all packages from EPEL that have updates available.

Removing a Package

If you’ve installed a package from EPEL and wish to remove it, utilisez la commande suivante:

sudo dnf remove <package_name>

Remplacer <package_name> with the name of the package you want to uninstall.

Disabling EPEL Temporarily

There might be times when you want to install or update packages without considering the EPEL repository. To temporarily disable EPEL during a DNF operation, utilisez la commande suivante:

sudo dnf --disablerepo="epel" <command>

Remplacer <command> with the DNF command you wish to execute.

Keeping EPEL Packages Updated

To ensure that all packages you’ve installed from EPEL are updated, utilisez la commande suivante:

sudo dnf --enablerepo="epel" upgrade

This will upgrade all EPEL packages to their latest versions.

End of Life Releases

It’s important to note that EPEL has End of Life (EOL) releases that are no longer supported. Due to major security changes in SSL in the last 10 years, older releases may not be able to directly point to these releases. Donc, for these EOL releases, it is recommended to have a newer system mirror the entire archive and then for your systems to point to that mirror.

How to Contribute to EPEL

EPEL is always looking for interested folks to help out. They always need package maintainers, QA/testers, bug triage, and documentation writers.

Communicating with EPEL

There are many ways to communicate with EPEL and its members. The #epel IRC channel on Libera Chat offers real-time support for EPEL users and developers. This channel is bridged to epel:fedoraproject.org on Matrix. The epel-devel mailing list is for general EPEL discussion. Aussi, the EPEL Steering Committee meets on Wednesday every week in the Fedora Meeting 1 Matrix channel. Feel free to join them!

Conclusion

En conclusion, activating the EPEL and EPEL Next repositories on Almalinux 9 ou Rocky Linux 9 significantly extends the range of software options available to you, thereby enhancing both the versatility and the performance of your server or workstation. The installation process is straightforward and aligns with standard repository management practices in Linux. With EPEL now part of your setup, you’re all set to explore and install additional packages that enhance the functionality and efficiency of your Linux environment.

ÉTIQUETÉ:AlmaruxFrapperCentosEPELLinuxRockylinux
Article précédent Creating a New Azure DevOps Build and Updating its Variables with REST API
Article suivant Installation de SQLite3 sur AlmaLinux 9 de la source
Laisser un commentaire Laisser un commentaire

Laisser une réponse Annuler la réponse

Votre adresse email ne sera pas publiée. Les champs obligatoires sont marqués *

Ce site utilise Akismet pour réduire le spam. Découvrez comment les données de vos commentaires sont traitées.

Traduction

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
par Transposh - translation plugin for wordpress

Articles populaires

Configuration système requise pour Windows Server 2016
Serveur Windows
Liste de collecte de requêtes Configuration Manager
Liste de collecte de requêtes Configuration Manager
Configmgr
Navigation structurée/gérée activée sur les pages modernes dans les sites d'équipe classiques
Technologie
SCCM n'a pas réussi à obtenir les emplacements DP comme version attendue de MP
Configmgr

Messages récents

Installation et configuration de Fail2ban pour la protection SSH sur Ubuntu 24.04
Linux
Activation et configuration de FirewallD sur AlmaLinux
Linux
Création d'utilisateur et configuration de la clé SSH dans AlmaLinux
Linux
Comment réinitialiser le mot de passe sur AlmaLinux
Linux

© 2023 Entérin

Aller à la version mobile
Content de te revoir!

Connectez-vous à votre compte

Nom d'utilisateur ou adresse e-mail
Mot de passe

Vous avez perdu votre mot de passe?