You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

0 Días
3 Hrs
23 Min
53 Seg

¿Qué es un manejador de paquetes?

21/30
Resources

What is a package manager in Linux?

A package manager is an essential software management tool for Linux operating systems, responsible for automating the installation, update and removal of software packages. These packages contain all the files needed to run a program, and the package manager facilitates their integration into the operating system.

What package managers exist for the different Linux distributions?

The choice of package manager is determined by the Linux distribution in use. There are two main ones, based on the type of Linux server: Debian and Red Hat. This division directly influences the package handler used.

Which package manager is used in Debian-based distributions?

For Debian-derived Linux distributions, such as Ubuntu Server, the APT (Advanced Package Tool) package handler is used. APT is recognized for its ease of use and for efficiently automating the download and installation of software from remote repositories.

APT features:

  • Automation: Simplifies software download, installation, and configuration.
  • Dependency Management: Automatically manages dependencies between packages.
  • Efficient upgrade: Allows the entire system to be upgraded with a single command.

Which package manager is used on Red Hat-based systems?

In Red Hat-based Linux distributions, two main package managers are distinguished: DNF and YUM.

DNF (Dandified YUM)

  • Used in modern distributions such as Fedora Server, CentOS Stream and RHEL 8 and later versions.
  • Speed: Faster than YUM, being a newer and more optimized solution.
  • Advanced functionality: Offers improved package search and manipulation.

YUM (Yellowdog Updater Modified)

  • Used in RHEL versions prior to 8.
  • Compatibility: Although replaced by DNF, its legacy in previous configurations is still compatible in certain contexts.

Particularities of DNF usage in Red Hat

In Red Hat, although DNF has been the standard since version 8, it differs slightly from its use in Fedora or CentOS Stream. This is because it has been modified to provide backward compatibility with older YUM configurations, ensuring that internal enterprise packages that still rely on YUM can be managed and upgraded without difficulty.

Importance of choosing the right handler

Selecting the right package handler is crucial to ensure efficient software management and system optimization. With APT, DNF, and YUM serving different distributions, system administrators must familiarize themselves with the specifics of each to maintain secure and effective systems.

In conclusion, each Linux distribution and server has its recommended package manager that greatly facilitates software management. Whether APT, DNF or YUM, each tool has features that allow users to keep their servers up to date and functional. As we continue to explore the world of Linux, mastering these tools becomes essential to optimizing and maintaining our systems. Follow along and you will soon master the art of Linux package management!

Contributions 8

Questions 0

Sort by:

Want to see more contributions, questions and answers from the community?

Un manejador de paquetes en Linux es un programa que se utiliza para instalar, actualizar, configurar y eliminar paquetes de software en un sistema Linux. Los manejadores de paquetes se encargan de todo el proceso de gestión de paquetes, desde la descarga del software hasta su instalación y eliminación.

Algunos de los manejadores de paquetes más comunes en Linux incluyen:

  • APT (Advanced Package Tool): utilizado en distribuciones basadas en Debian, como Ubuntu y Linux Mint.
  • YUM (Yellowdog Updater Modified): utilizado en distribuciones basadas en Red Hat, como Fedora y CentOS.
  • DNF (Dandified YUM): utilizado en distribuciones basadas en Red Hat, como Fedora y CentOS (a partir de CentOS 8).
  • Zypper: utilizado en distribuciones basadas en SUSE, como openSUSE y SUSE Linux Enterprise.
  • Pacman: utilizado en Arch Linux y distribuciones derivadas de Arch.

Cada manejador de paquetes tiene su propio conjunto de comandos y opciones para realizar diferentes tareas, como instalar, actualizar o eliminar paquetes de software. Los manejadores de paquetes son una parte fundamental del ecosistema de software de Linux, y permiten a los usuarios gestionar el software de una forma más fácil y segura.

Regenerate response

📢 ATENCIÓN 📢

Una cosa es la gestión local de paquetes, que es lo que trata el video anterior (Es decir, paquetes ya descargados).
En ese caso usamos dpkg y rpm.
Y lo otro (este video) es la gestión de paquetes de los repositorios. En ese caso hablamos de apt y de yum/dnf
Espero les sirva

Gestores de paquetes

Hagan que DNF5 sea la nueva herramienta de empaquetado predeterminada:
https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5

Es curioso e interesante el manejador de paquetes que tiene cada servidor. El mas curiosos parece ser RedHat debido a ser un software nuevo y recuerdo que su instalacion fue un dolor de cabeza. Espero que la clase de mas adelante no sea tediosa como su instalacion.

### **Tipos de Manejadores de Paquetes** #### **Para Servidores basados en Debian** * **Manejador de Paquetes:** apt (Advanced Package Tool) * **Distribuciones:** Debian, Ubuntu Server, y otras basadas en Debian. #### **Para Servidores basados en Red Hat** * **Manejadores de Paquetes Principales:** yum y dnf * **Distribuciones:** Fedora Server, CentOS Stream, y RHEL 8 en adelante. ### **Detalles sobre los Manejadores de Paquetes** #### **apt (Advanced Package Tool)** * Utilizado en servidores basados en Debian. * Facilita la gestión de paquetes y dependencias. #### **yum (Yellowdog Updater Modified) y dnf (Dandified yum)** * Utilizados en servidores Red Hat. * En Fedora Server y CentOS Stream: dnf. * En RHEL (versiones anteriores a la 8): yum. * En RHEL 8 en adelante: dnf. * dnf es más rápido y ofrece mejoras en búsqueda y velocidad en repositorios. ### **Diferencia entre yum y dnf** * **Velocidad:** dnf tiende a ser más rápido. * **Evolución:** dnf es una versión más nueva y mejorada de yum. ### **Especificidades de dnf en Red Hat** * En Fedora y CentOS: dnf es la versión oficial. * En RHEL: dnf es una versión modificada con compatibilidad de yum. * Esto permite la actualización y gestión de paquetes heredados de yum en RHEL.
Los manejadores de paquetes más recientes en Linux, como APT, DNF y JUMP, tienen diferencias clave. APT es utilizado en distribuciones basadas en Debian, como Ubuntu, y es conocido por su simplicidad. DNF, usado en Fedora y RHEL 8+, ofrece mejoras en velocidad y búsqueda en comparación con su predecesor YUM. JUMP, que se utilizaba en versiones anteriores de RHEL, es similar a DNF pero menos eficiente. En general, DNF es el estándar actual debido a sus avances en funcionalidad y rendimiento.

¿Qué es un manejador de paquetes?

SO Manejador
Debian / Ubuntu APT
Red hat yum/dnf