All right.
So now we're going to learn how to install using the
dpkg and APT package managers.
The dpkg stands for Debian package manager.
Now we're going to dive into APT.
These are the more advanced versions
of the package managers.
So that's going to be for Debian based distributions.
And so I have Ubuntu installed on this server.
And so that's how we're going to go through
and use our APT package manager.
So the first thing we need to do is use the update command,
'cause with APT databases, you have to update it
in order to let that system know
that we're going to go out and search for new versions
of packages that are installed on our system.
So let's do that first.
Let's do sudo APT update.
All right, so you see how it says 42 packages
can be upgraded?
So if you want to upgrade a specific package using APT,
you're going to use the APT upgrade command.
Remember, you must update the system first.
That's good practice.
And then use the upgrade.
Next, we're going to go ahead and install Nmap here.
Again, it's very simple.
These package managers are made for ease of use.
So we'll see how we just install Nmap very similar
to Yum package manager.
And again, it's really no difference in power.
Everything is suited
to the distribution of Linux that you're using.
And we'll get some more information about this package.
Okay, APT.
All right.
So again, this is very similar
to the list function with Yum.
Version information, name, install size.
Pretty much, again,
this is just another way to install packages
if you happen to be using a Ubuntu operating system
or any type of Debian distribution.
All right, last but not least,
we're going to use the Nmap command
just to test out the utility and confirm that it executes
and checks the network functionality.
Okay, so we Nmap, do local host.
It's going to be ourselves.
All right, so we see the host is up.
This workforce is scanned.
The biggest thing we want to do there
was just to test the functionality of the Nmap,
just to make sure the package installed correctly
and everything was up and running and good to go.
All right, that concludes this lesson.
It was very short.
We just wanted to get a little familiar with the APT.
It's very similar to Yum.
The only difference is
now these are run on Debian distributions.
Thank you for sticking with this walkthrough,
and I'll see you in the next lesson.