Використовуючи цей сайт, ви погоджуєтеся з Політика конфіденційності.
прийняти
ЕнтеринЕнтеринЕнтерин
  • ДІМ
  • Це про
  • ТЕХ
  • Microsoft
    • Лазурний
    • Configmgr/sccm
    • DPM
    • Оркестрант
    • Гіпер-V
    • Інсайдер Microsoft Edge
    • MSI
    • Офіс 365
    • Інсайдер Office
    • Потужність BI
    • Скайп
    • SQL Server
    • Команди
  • ВІКНА
    • Центр адміністрування Windows
    • Клієнт Windows
    • Windows Server
  • Список колекції запитів SCCM
Читання: Activating EPEL and EPEL Next in Almalinux 9 or Rocky Linux 9
Зміна розміру шрифтуАа
ЕнтеринЕнтерин
Зміна розміру шрифтуАа
  • ДІМ
  • Це про
  • ТЕХ
  • Microsoft
  • ВІКНА
  • Список колекції запитів SCCM
Пошук
  • ДІМ
  • Це про
  • ТЕХ
  • Microsoft
    • Лазурний
    • Configmgr/sccm
    • DPM
    • Оркестрант
    • Гіпер-V
    • Інсайдер Microsoft Edge
    • MSI
    • Офіс 365
    • Інсайдер Office
    • Потужність BI
    • Скайп
    • SQL Server
    • Команди
  • ВІКНА
    • Центр адміністрування Windows
    • Клієнт Windows
    • Windows Server
  • Список колекції запитів SCCM
Activating EPEL and EPEL Next in Almalinux 9 or Rocky Linux 9
Лінійка

Activating EPEL and EPEL Next in Almalinux 9 or Rocky Linux 9

Опублікований: березень 10, 2024
10 Хв. читання
ПОДІЛИТИСЯ

Activating EPEL and EPEL Next in Almalinux 9 or Rocky Linux 9.

Зміст
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 EPELВисновок

Enterprise Linux systems like Almalinux and Rocky Linux 9 come with a default set of packages that enable their basic functioning. Проте, users often require additional packages to enhance the functionality and capabilities of their systems. This is where the EPEL repository comes into play.

EPEL або 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, including, but not limited to, Red Hat Enterprise Linux (RHEL), Центоси, Scientific Linux (SL), Oracle Linux (OL), Альмарк (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 or 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
  • Висновок

About EPEL

EPEL is a community-based project led by the Fedora team that provides additional packages for Linux distributions, including RHEL, Центоси, Альмарк, 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.

For Almalinux 9 or 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, Використовуйте наступну команду:

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

For Almalinux 8 or Rocky Linux 8, you need to first enable the PowerTools repository which provides additional development and debugging tools. To enable PowerTools, Використовуйте наступну команду:

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. За умовчанням, the stable EPEL repo is enabled. Проте, 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, you can use the dnf search command as follows:

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

Replace <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, Використовуйте наступну команду:

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, Використовуйте наступну команду:

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, Використовуйте наступну команду:

sudo dnf remove <package_name>

Replace <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, Використовуйте наступну команду:

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

Replace <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, Використовуйте наступну команду:

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. Therefore, 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. Також, the EPEL Steering Committee meets on Wednesday every week in the Fedora Meeting 1 Matrix channel. Feel free to join them!

Висновок

In conclusion, activating the EPEL and EPEL Next repositories on Almalinux 9 or 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.

ПОМІЧЕНО:АльмаркБитиЦентосиEPELЛінійкаРоклінукс
Попередня стаття Creating a New Azure DevOps Build and Updating its Variables with REST API
Наступна стаття Installing SQLite3 on AlmaLinux 9 from source
Залиште коментар Залиште коментар

Залиште відповідь Скасувати відповідь

Ваша електронна адреса не буде опублікована. Обов'язкові поля позначені *

Цей сайт використовує Akismet для зменшення спаму. Дізнайтеся, як обробляються дані ваших коментарів.

Переклад

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

Популярні публікації

Системні вимоги для Windows Server 2016
Windows Server
Список колекції запитів диспетчера конфігурацій
Список колекції запитів диспетчера конфігурацій
Configmgr
Структуровану/керовану навігацію ввімкнено на сучасних сторінках класичних сайтів групи
техн
SCCM Не вдалося отримати розташування DP як очікувану версію від MP
Configmgr

Останні дописи

Встановлення та налаштування Fail2ban для захисту SSH на Ubuntu 24.04
Лінійка
Увімкнення та налаштування FirewallD на AlmaLinux
Лінійка
Створення користувача та налаштування ключа SSH в AlmaLinux
Лінійка
Як скинути пароль на AlmaLinux
Лінійка

© 2023 Ентерин

Перейдіть до мобільної версії
Ласкаво просимо назад!

Увійдіть у свій обліковий запис

Ім'я користувача або адреса електронної пошти
Пароль

Забули пароль?