We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 1
coursera
= Item Navigation
Package managers for installing applications
Previously, you learned about Linux istributions and that ctferent distributions derive from different sources, such as
Debian or Red Hat Enterprise Linux dstibution, You were also introduced to package managers, and learned that
Linux applications are commonly distributed through package managers. In this reading, you'll apaly this knowledge
to earn more about package managers.
Introduction to package managers
[Apackage isa piece of software that can be combined with other packages to form an application. Some packages
‘may be large enough to form applications oa thelr own,
Packages contain the files necessary for an application tobe installed, These files include dependencies, which are
supplemental les used torun an application,
Package managers can help resolve any issues with dependencies and perform other management tasks. package
manager is 2 tool that helps users install, manage, and remove packages or applications. Linux uses multiple package
managers.
Note: I's important to use the most recent version ofa package when possible. The most recent version has the most
up-to-date bug fxes and security patches. These help keep your system more secure.
Types of package managers
Many commonly used Linux distributions are derived from the same parent distribution. For example, KALILINUX™,
‘Ubuntu, and Parra all come from Debian, CentOS comes from Red Hat.
‘This knowledge is useful when installing applications because certain package managers work with certain
distributions. For example, the Red Hat Package Manager (RPM) can be used for Linux distributions derived from Red
Hat, and package managers such as dpkg can be used for Linux cstibutions derived from Debian,
Different package managers typically use different file extensions, For example, Red Hat Package Manager (RPM) has
files which use the -xpm fle extension, such as Package-Version-Release Architecture. rpm Package
‘managers for Debian-cerived Linux distributions, such as dpkg, have files which use the . dab file extension, such as
Package)
-sion-Release Architecture. deb.
Package management tools
In addition to package managers like RPM and dpkg, there are also package management tools that allow you to easily
‘work with packages through the shel, Package management tools are sometimes utilized instead of package
‘managers because they allow users to more easily perform basic tasks, such as installing a new package. Two notable
tools are the Advanced Package Too! (APT) and Yellowdog Updater Modified (YUM)
‘Advanced Package Tool (APT)
[APT a tool used with Debian-derived distributions. Its run from the command-line interface to manage, search, and
install packages.
Yellowdog Updater M
fled (yUM)
YUM isa tool used with Red Hat-derived distributions tis run from the command-line interface to manage, search, and
install packages. YUM works with .xpa files.
Key takeaways
‘Apackage is a piece of software that can be combined with other packages to form an apalication, Packages can be
‘managed using 3 package manager. There are multiple package managers and package management tools for
different Linux distributions. Package management tools allow users to easily work with packages through the shell
Debian-derived Linux distributions use package managers ike dpkg as well as package management tools ike
[Advanced Package Too! (APT). Red Hat-derived distributions use the Red Hat Package Manager (RPI) or tools like
Yellowdog Updater Modified (YUM)