WEBVTT - This file was automatically generated by VIMEO

0
00:00:03.700 --> 00:00:06.400
Hello and welcome everyone.

1
00:00:07.200 --> 00:00:12.100
So in this lesson, we are going to learn about dpkg which

2
00:00:11.100 --> 00:00:14.900
 is one of the package manager for

3
00:00:14.900 --> 00:00:16.300
 Debian base systems.

4
00:00:17.200 --> 00:00:20.500
So I am currently logged in into my Kali

5
00:00:20.500 --> 00:00:23.000
 Linux operating system, which is basically.

6
00:00:24.600 --> 00:00:25.900
developed over Debian

7
00:00:26.900 --> 00:00:27.000
now

8
00:00:27.800 --> 00:00:31.000
As you can see over here. This is the

9
00:00:30.900 --> 00:00:34.600
 Debian dot orc packages subdomain

10
00:00:33.600 --> 00:00:37.000
 wherein you can identify all

11
00:00:36.300 --> 00:00:40.200
 the packages that are available and can

12
00:00:39.200 --> 00:00:41.900
 be installed using

13
00:00:42.700 --> 00:00:44.500
the dpkg package manager

14
00:00:45.600 --> 00:00:47.100
over here you can see

15
00:00:48.100 --> 00:00:51.200
you can search for any specific package that you need

16
00:00:51.200 --> 00:00:55.000
 to install. So I have searched for girl because

17
00:00:54.200 --> 00:00:56.900
 I need to install curl.

18
00:00:57.400 --> 00:00:58.300
for demonstration

19
00:00:59.400 --> 00:01:02.800
and you can see here. It is the version which

20
00:01:02.800 --> 00:01:05.400
 is in the format, which is Deb which

21
00:01:05.400 --> 00:01:08.800
 is dot d e b which basically stands for

22
00:01:09.700 --> 00:01:10.400
Debian

23
00:01:11.200 --> 00:01:14.500
Now here we can confirm that. Yeah, this

24
00:01:14.500 --> 00:01:18.400
 is what we need to install into our debian-based operating

25
00:01:18.400 --> 00:01:21.100
 system similarly in case you want to

26
00:01:21.100 --> 00:01:25.000
 install the Android package. You would use dot APK

27
00:01:24.600 --> 00:01:28.400
 in case you need to install a iOS

28
00:01:27.400 --> 00:01:30.400
 package. You would be installing dot

29
00:01:30.400 --> 00:01:31.300
 IPA.

30
00:01:32.200 --> 00:01:35.900
Now we need to download this into a computer now we

31
00:01:35.900 --> 00:01:38.600
 can see this belongs to Debian.

32
00:01:39.200 --> 00:01:42.500
And now we have to download this and install

33
00:01:42.500 --> 00:01:44.400
 it using dpkg.

34
00:01:45.300 --> 00:01:46.400
So here it

35
00:01:47.100 --> 00:01:50.700
mentions and strongly suggest that we use package

36
00:01:50.700 --> 00:01:53.700
 managers to install curl, but we

37
00:01:53.700 --> 00:01:56.300
 will download the requested file, which

38
00:01:56.300 --> 00:01:58.600
 is cool. And this is how it looks like

39
00:01:59.600 --> 00:02:02.300
Now we have successfully downloaded the latest version

40
00:02:02.300 --> 00:02:06.100
 of girl seven point $52.1 which

41
00:02:05.100 --> 00:02:08.700
 is for Debian AMD 64

42
00:02:08.700 --> 00:02:11.300
 architecture. And this is dot Deb

43
00:02:11.300 --> 00:02:14.400
 as I've already expressed. This is for Debian based

44
00:02:14.400 --> 00:02:17.500
 systems. Now, you need to open up your terminal

45
00:02:17.500 --> 00:02:20.600
 and you simply have to type dpkg hyphen.

46
00:02:20.600 --> 00:02:23.500
 I when I stands for install

47
00:02:24.600 --> 00:02:27.500
And the path of the package that

48
00:02:27.500 --> 00:02:30.100
 you need to install which is curl in

49
00:02:30.100 --> 00:02:33.100
 our case which have which we have just downloaded.

50
00:02:33.900 --> 00:02:36.700
Now you can see it did not

51
00:02:36.700 --> 00:02:39.400
 install and there are some messages that we

52
00:02:39.400 --> 00:02:43.000
 can see onto the screen which is dependency problems

53
00:02:42.100 --> 00:02:45.600
 prevented configuration of curl.

54
00:02:46.200 --> 00:02:49.700
We can clearly see that curl depends on lip curl

55
00:02:49.700 --> 00:02:50.300
 three version.

56
00:02:51.300 --> 00:02:53.700
Which is not installed into a computer.

57
00:02:54.400 --> 00:02:57.300
so we can confirm over here that

58
00:02:58.600 --> 00:03:02.300
whatever packages we would like to install using dpkg

59
00:03:01.300 --> 00:03:04.700
 manually will give

60
00:03:04.700 --> 00:03:07.100
 us broken dependencies. And the

61
00:03:07.100 --> 00:03:11.100
 conclusion is that we need to install manually

62
00:03:10.100 --> 00:03:13.900
 all the required dependencies to

63
00:03:13.900 --> 00:03:16.800
 successfully install a specific tool

64
00:03:16.800 --> 00:03:18.900
 that we want like curl for example.

65
00:03:20.100 --> 00:03:23.600
So what is the alternative to it we are going to instead

66
00:03:23.600 --> 00:03:26.400
 use apt and the command is super simple,

67
00:03:26.400 --> 00:03:29.800
 which is apt-get install and

68
00:03:29.800 --> 00:03:31.700
 the package name, which is curl.

69
00:03:32.100 --> 00:03:36.300
this will automatically install all the dependencies required

70
00:03:35.300 --> 00:03:37.600
 for girl and

71
00:03:38.500 --> 00:03:41.000
Successfully install and finish it as you can

72
00:03:41.100 --> 00:03:44.500
 see over here. So we have now curl installed

73
00:03:44.500 --> 00:03:47.300
 without manually installing the

74
00:03:47.300 --> 00:03:51.100
 dependencies and we can confirm that curl

75
00:03:50.100 --> 00:03:53.800
 is installed by running the command curl. Let

76
00:03:53.800 --> 00:03:56.500
 us also see The Help menu and we can see yeah,

77
00:03:56.500 --> 00:03:59.100
 it is successfully installed. Let us see

78
00:03:59.100 --> 00:04:02.500
 the version and here we can see. Yeah, this is actually the

79
00:04:02.500 --> 00:04:06.600
 latest version which is 7.74.0.

80
00:04:07.600 --> 00:04:11.100
This is it for this lesson. I hope you guys understood there

81
00:04:10.100 --> 00:04:13.200
 is a easier way to

82
00:04:13.200 --> 00:04:16.100
 install your packages then dpkg if you want to do it

83
00:04:16.100 --> 00:04:19.400
 manually definitely you can but you have

84
00:04:19.400 --> 00:04:22.500
 to install all the dependencies one by

85
00:04:22.500 --> 00:04:25.500
 one manually, which can be a tiring task

86
00:04:25.500 --> 00:04:25.900
 for you.

87
00:04:26.700 --> 00:04:29.900
So this is it for this lesson? I hope you guys understand. Thank

88
00:04:29.900 --> 00:04:30.000
 you.
