WEBVTT - This file was automatically generated by VIMEO

0
00:00:05.400 --> 00:00:06.300
Hello, everyone.

1
00:00:07.400 --> 00:00:10.700
So in this lesson we are going to see what is rpm and

2
00:00:10.700 --> 00:00:13.300
 how you can use RPM to install.

3
00:00:14.400 --> 00:00:15.700
packages into your computer

4
00:00:17.300 --> 00:00:20.500
So RPM stands for Red Hat package manager.

5
00:00:20.500 --> 00:00:23.400
 It refers to basically all the dot

6
00:00:23.400 --> 00:00:24.900
 RPM file format.

7
00:00:25.600 --> 00:00:28.400
Which are basically the packages that will install

8
00:00:28.400 --> 00:00:32.400
 into red hat based operating systems initially.

9
00:00:31.400 --> 00:00:34.600
 It was created for the use in Red

10
00:00:34.600 --> 00:00:37.100
 Hat base operating system, which is red hot

11
00:00:37.100 --> 00:00:37.400
 Linux.

12
00:00:38.100 --> 00:00:41.900
Then it was ported and then used by Fedora

13
00:00:41.900 --> 00:00:44.900
 Centos open suse Etc.

14
00:00:46.300 --> 00:00:50.500
So basically all the RPM packages are arbitically

15
00:00:49.500 --> 00:00:51.000
 set of files.

16
00:00:51.700 --> 00:00:55.300
Most of the RPM files are basically binary RPMs,

17
00:00:54.300 --> 00:00:57.700
 which is basically nothing but a binary file.

18
00:00:58.900 --> 00:01:00.500
The syntax is again. Very simple.

19
00:01:01.200 --> 00:01:04.600
It is rpm command and the package name. So

20
00:01:04.600 --> 00:01:07.700
 command stands for what you want to do with that particular package.

21
00:01:08.800 --> 00:01:11.400
So let's quickly jump on to the Practical time

22
00:01:11.400 --> 00:01:14.600
 and let's see, how can we use RPM?

23
00:01:16.200 --> 00:01:20.700
so as you can see over here, I have already downloaded RPM

24
00:01:19.700 --> 00:01:22.900
 file which is wget from

25
00:01:22.900 --> 00:01:24.200
 the website, which is

26
00:01:25.300 --> 00:01:28.400
rpm find dot net and you can search

27
00:01:28.400 --> 00:01:28.800
 over here.

28
00:01:29.800 --> 00:01:32.400
Any package that you want and you

29
00:01:32.400 --> 00:01:34.800
 can basically download it from here.

30
00:01:35.700 --> 00:01:38.500
As you can see I have already downloaded a file as

31
00:01:38.500 --> 00:01:42.100
 you can see it over here, which is wget the

32
00:01:41.100 --> 00:01:43.600
 version number dot RPM.

33
00:01:44.300 --> 00:01:48.100
Okay, so as you can see, I have downloaded the wget

34
00:01:47.100 --> 00:01:51.400
 file from the website, which is rpm find

35
00:01:51.400 --> 00:01:52.400
 dot net.

36
00:01:53.100 --> 00:01:56.500
And the file has been downloaded and if you look closely the extension

37
00:01:56.500 --> 00:02:00.200
 is dot RPM which signifies this

38
00:01:59.200 --> 00:02:02.500
 file is for RPM base systems.

39
00:02:03.500 --> 00:02:03.800
Perfect.

40
00:02:04.900 --> 00:02:07.200
Now, let's quickly jump on to our terminal.

41
00:02:07.800 --> 00:02:11.100
And let's navigate to the downloads directory

42
00:02:10.100 --> 00:02:12.700
 and we are currently over here.

43
00:02:14.100 --> 00:02:17.300
Let's quickly list the files and you can see we have

44
00:02:17.300 --> 00:02:19.800
 our duplicate file over here.

45
00:02:20.800 --> 00:02:24.000
With extension which is dot RPM if

46
00:02:23.300 --> 00:02:25.600
 we check with the file command.

47
00:02:26.600 --> 00:02:29.700
It was going to tell us that yeah,

48
00:02:29.700 --> 00:02:32.200
 it is a binary file. The name is

49
00:02:32.200 --> 00:02:35.400
 wget and the extension is dot RPM, which

50
00:02:35.400 --> 00:02:36.500
 is exactly correct.

51
00:02:37.400 --> 00:02:37.600
now

52
00:02:38.800 --> 00:02:40.700
let us use RPM.

53
00:02:41.300 --> 00:02:44.600
Which is default install into our this.

54
00:02:45.400 --> 00:02:48.600
Rel operating system to install this file,

55
00:02:48.600 --> 00:02:50.000
 so I'm going to

56
00:02:51.100 --> 00:02:54.600
Just type - I which

57
00:02:54.600 --> 00:02:58.300
 signifies that we are going to install something and the

58
00:02:57.300 --> 00:03:00.700
 path or the name

59
00:03:00.700 --> 00:03:01.900
 of that particular file.

60
00:03:03.100 --> 00:03:06.300
Okay, so now once I hit enter you have

61
00:03:06.300 --> 00:03:08.000
 to observe what happens?

62
00:03:10.100 --> 00:03:13.300
So as you can see when I hit enter you can see we got a

63
00:03:13.300 --> 00:03:13.600
 error.

64
00:03:14.400 --> 00:03:18.200
The error says failed dependencies and

65
00:03:17.200 --> 00:03:21.100
 the dependencies are g-lib which

66
00:03:20.100 --> 00:03:24.000
 is greater than equals to 2.33 and

67
00:03:23.500 --> 00:03:26.600
 a version number lip C

68
00:03:26.600 --> 00:03:29.700
 Lipsy and lip nettle

69
00:03:29.700 --> 00:03:31.000
 dot so and so on.

70
00:03:31.800 --> 00:03:35.000
So here we can see that there are multiple dependencies

71
00:03:34.900 --> 00:03:37.100
 for the package that we

72
00:03:37.100 --> 00:03:41.000
 are trying to install which are not satisfied or

73
00:03:40.100 --> 00:03:44.500
 fulfilled by just downloading

74
00:03:43.500 --> 00:03:45.700
 the RPM file.

75
00:03:46.900 --> 00:03:49.600
this is something like you have downloaded a file

76
00:03:49.600 --> 00:03:52.600
 and you're trying to install but that particular file

77
00:03:52.600 --> 00:03:55.700
 contains more dependencies with itself and

78
00:03:55.700 --> 00:03:59.500
 you're doing it manually so you have to basically installed

79
00:03:58.500 --> 00:04:01.300
 all the dependencies manually as

80
00:04:01.300 --> 00:04:02.300
 well, but

81
00:04:03.300 --> 00:04:06.600
it is totally opposite when you're using package manager

82
00:04:06.600 --> 00:04:07.200
 like

83
00:04:08.200 --> 00:04:08.700
em

84
00:04:09.700 --> 00:04:12.800
in which we have seen that it automatically

85
00:04:12.800 --> 00:04:14.700
 results all the dependencies.

86
00:04:16.300 --> 00:04:19.300
We exactly saw the same in Brew wherein we

87
00:04:19.300 --> 00:04:23.600
 tried to install wget, and it just seamlessly installed

88
00:04:23.600 --> 00:04:25.800
 all the dependencies without any issues.

89
00:04:26.400 --> 00:04:29.700
But that is an added Advantage when you we use

90
00:04:29.700 --> 00:04:30.500
 package managers.

91
00:04:31.400 --> 00:04:32.300
and try to install

92
00:04:33.100 --> 00:04:36.700
packages or apps without installing them manually like

93
00:04:36.700 --> 00:04:39.400
 this. This can also be done but it

94
00:04:39.400 --> 00:04:42.400
 is a tedious process and we do not want to waste much

95
00:04:42.400 --> 00:04:45.700
 time in installing this tools and their dependencies one

96
00:04:45.700 --> 00:04:45.900
 by one.

97
00:04:46.700 --> 00:04:48.500
So I hope you guys understood. Thank you.
