In this video you'll learn about software packages.
A package is a tarball with some additions, and these additions are a script to copy
files to the right location and also a database to keep track of what is installed.
Packages typically focus on the software that they want to install,
and they are written to use dependencies for related software packages.
That means that for common features, dependencies need to be installed before
you can install the package or while you are installing the package.
Now, RPM is the standard package format in Red Hat, and DAP is the standard package format in Ubuntu.
Let me show you how you can work with these packages.
So the most important thing that you do with packages is query them.
So when I'm using a command like RPM qa, I'm querying all packages that are currently
in the RPM database and that might be convenient if you are looking for something. So
rpm, qa, pipe grab, nmap, for instance, is showing that the NMAP package was installed.
And if you want to know what's going on in these packages, use RPM QL on
your package and that is giving a list of all the files within the package.
But working with packages is not really the way how you want to do it nowadays.
Nevertheless, let's also have a quick look at Ubuntu. So here we are on Ubuntu.
D package is the name of the utility, and dpackage L is
showing a list of all the packages that are installed on Ubuntu.
Again, that is checking out the package database and that
allows you to figure out which packages you've got.
But don't worry about these packages too much. Worry about package managers.