Hello, and welcome to this presentation from Pluralsight. My name is Andrew
Mallett, and I'm your instructor to help guide you through the module where we
take a look at managing software in Linux systems.
Now as we work our way through this,
we're going to start by taking a look at our software packaging environments.
Again,
this is another area where there's a little bit of
difference between our different distributions. Now working
on Debian‑based systems such as Ubuntu,
we use the advanced packaging tools, or apt.
Working on our Red Hat‑based systems such as Alma Linux,
we use YUM, and I've got yum / dnf here.
DNF is the latest version of YUM, but you'll find that we have
symbolic links from YUM through to DNF, so it doesn't really matter
whether we use YUM or DNF. They're equally the same command. On our
openSUSE system, we can use zypper.
We'll also take a look at installing from source,
both how we install from source and why we install from source.
We'll also see that creating Python virtual environments allow
us to create almost sandbox environments where the code can run
separately from any other dependencies. With Python, we have a
lot of library files.
If we installed everything into our system,
we would have a very heavy system library base and even a clash of library
versions that we need between different Python applications.
Virtual environments will help stop that.
So to begin with, we're looking at software packaging.
As we said, on Alma Linux,
which is Red Hat Enterprise Linux 8‑based, we use dnf and yum. On openSUSE,
we use zypper. On Ubuntu 20.04, we're using a‑p‑t, or apt,
and that would be the same for any Debian‑based distribution.
We're going to start now with three simple demonstrations where
we can see the software management tools and their capabilities on each of their distributions, starting with Ubuntu.