1
00:00:00,000 --> 00:00:01,363
All right.

2
00:00:01,363 --> 00:00:03,480
So now we're going to learn how to install using the

3
00:00:03,480 --> 00:00:07,200
dpkg and APT package managers.

4
00:00:07,200 --> 00:00:11,223
The dpkg stands for Debian package manager.

5
00:00:12,120 --> 00:00:13,950
Now we're going to dive into APT.

6
00:00:13,950 --> 00:00:15,630
These are the more advanced versions

7
00:00:15,630 --> 00:00:17,640
of the package managers.

8
00:00:17,640 --> 00:00:20,550
So that's going to be for Debian based distributions.

9
00:00:20,550 --> 00:00:23,730
And so I have Ubuntu installed on this server.

10
00:00:23,730 --> 00:00:25,440
And so that's how we're going to go through

11
00:00:25,440 --> 00:00:27,393
and use our APT package manager.

12
00:00:28,530 --> 00:00:32,040
So the first thing we need to do is use the update command,

13
00:00:32,040 --> 00:00:35,803
'cause with APT databases, you have to update it

14
00:00:35,803 --> 00:00:37,920
in order to let that system know

15
00:00:37,920 --> 00:00:40,200
that we're going to go out and search for new versions

16
00:00:40,200 --> 00:00:42,510
of packages that are installed on our system.

17
00:00:42,510 --> 00:00:43,620
So let's do that first.

18
00:00:43,620 --> 00:00:46,773
Let's do sudo APT update.

19
00:00:54,000 --> 00:00:56,310
All right, so you see how it says 42 packages

20
00:00:56,310 --> 00:00:57,390
can be upgraded?

21
00:00:57,390 --> 00:01:01,350
So if you want to upgrade a specific package using APT,

22
00:01:01,350 --> 00:01:03,870
you're going to use the APT upgrade command.

23
00:01:03,870 --> 00:01:06,000
Remember, you must update the system first.

24
00:01:06,000 --> 00:01:07,080
That's good practice.

25
00:01:07,080 --> 00:01:08,463
And then use the upgrade.

26
00:01:09,450 --> 00:01:12,063
Next, we're going to go ahead and install Nmap here.

27
00:01:24,630 --> 00:01:26,400
Again, it's very simple.

28
00:01:26,400 --> 00:01:28,740
These package managers are made for ease of use.

29
00:01:28,740 --> 00:01:32,005
So we'll see how we just install Nmap very similar

30
00:01:32,005 --> 00:01:33,155
to Yum package manager.

31
00:01:34,261 --> 00:01:36,390
And again, it's really no difference in power.

32
00:01:36,390 --> 00:01:38,205
Everything is suited

33
00:01:38,205 --> 00:01:39,690
to the distribution of Linux that you're using.

34
00:01:39,690 --> 00:01:42,173
And we'll get some more information about this package.

35
00:01:43,459 --> 00:01:44,292
Okay, APT.

36
00:01:46,320 --> 00:01:47,310
All right.

37
00:01:47,310 --> 00:01:48,810
So again, this is very similar

38
00:01:49,816 --> 00:01:51,316
to the list function with Yum.

39
00:01:52,530 --> 00:01:56,040
Version information, name, install size.

40
00:01:56,040 --> 00:01:56,910
Pretty much, again,

41
00:01:56,910 --> 00:02:00,240
this is just another way to install packages

42
00:02:00,240 --> 00:02:03,720
if you happen to be using a Ubuntu operating system

43
00:02:03,720 --> 00:02:06,210
or any type of Debian distribution.

44
00:02:06,210 --> 00:02:07,560
All right, last but not least,

45
00:02:07,560 --> 00:02:09,990
we're going to use the Nmap command

46
00:02:09,990 --> 00:02:13,200
just to test out the utility and confirm that it executes

47
00:02:13,200 --> 00:02:15,568
and checks the network functionality.

48
00:02:15,568 --> 00:02:19,020
Okay, so we Nmap, do local host.

49
00:02:19,020 --> 00:02:20,220
It's going to be ourselves.

50
00:02:21,720 --> 00:02:23,763
All right, so we see the host is up.

51
00:02:25,200 --> 00:02:26,733
This workforce is scanned.

52
00:02:29,460 --> 00:02:31,373
The biggest thing we want to do there

53
00:02:31,373 --> 00:02:33,300
was just to test the functionality of the Nmap,

54
00:02:33,300 --> 00:02:35,010
just to make sure the package installed correctly

55
00:02:35,010 --> 00:02:37,890
and everything was up and running and good to go.

56
00:02:37,890 --> 00:02:38,970
All right, that concludes this lesson.

57
00:02:38,970 --> 00:02:39,990
It was very short.

58
00:02:39,990 --> 00:02:42,720
We just wanted to get a little familiar with the APT.

59
00:02:42,720 --> 00:02:44,100
It's very similar to Yum.

60
00:02:44,100 --> 00:02:44,933
The only difference is

61
00:02:44,933 --> 00:02:48,060
now these are run on Debian distributions.

62
00:02:48,060 --> 00:02:49,260
Thank you for sticking with this walkthrough,

63
00:02:49,260 --> 00:02:51,060
and I'll see you in the next lesson.

