WEBVTT - This file was automatically generated by VIMEO

0
00:00:05.200 --> 00:00:08.200
Hello everyone and welcome to this lesson.

1
00:00:09.200 --> 00:00:12.800
So here we are going to use and install one

2
00:00:12.800 --> 00:00:15.100
 more package manager, which is known as

3
00:00:15.100 --> 00:00:15.500
 Brew.

4
00:00:16.100 --> 00:00:19.200
One of the very very famous package managers, which has been used

5
00:00:19.200 --> 00:00:22.500
 in apple based systems, or you

6
00:00:22.500 --> 00:00:24.900
 can say mac based operating systems.

7
00:00:26.100 --> 00:00:29.800
Alright, so the actual name of this particular package

8
00:00:29.800 --> 00:00:32.800
 manager is Homebrew, but sometimes

9
00:00:32.800 --> 00:00:35.300
 in short, it is generally known as

10
00:00:35.300 --> 00:00:35.900
 true.

11
00:00:36.800 --> 00:00:39.300
So what it does as it is

12
00:00:39.300 --> 00:00:42.600
 a package manager, so it is going to install stuff that

13
00:00:42.600 --> 00:00:45.700
 you need to run into your Apple or your

14
00:00:45.700 --> 00:00:48.300
 Linux operating system. That is basically not

15
00:00:48.300 --> 00:00:49.800
 installed into your computer.

16
00:00:50.800 --> 00:00:53.700
Alright, so it installed packages. It's own

17
00:00:53.700 --> 00:00:56.800
 directory. And then it makes Sim links

18
00:00:56.800 --> 00:00:59.300
 or symbolic links files into

19
00:00:59.300 --> 00:01:02.000
 the user local bin directories. What is

20
00:01:02.100 --> 00:01:03.400
 the syntax? It's very simple.

21
00:01:04.300 --> 00:01:07.300
It is true and install and whatever the

22
00:01:07.300 --> 00:01:10.400
 package name that you require. Alright, it looks

23
00:01:10.400 --> 00:01:13.600
 like fairly simple now, let's jump onto

24
00:01:13.600 --> 00:01:16.200
 the Practical time and let's see how you can use

25
00:01:16.200 --> 00:01:16.500
 this.

26
00:01:17.400 --> 00:01:17.700
All right.

27
00:01:18.500 --> 00:01:21.600
So here the website is Brew dot

28
00:01:21.600 --> 00:01:24.300
 sh. So once we are over here, you can

29
00:01:24.300 --> 00:01:27.900
 see Homebrew the missing package manager

30
00:01:27.900 --> 00:01:30.700
 for Mac OS or Linux. You

31
00:01:30.700 --> 00:01:33.500
 can simply search any particular package

32
00:01:33.500 --> 00:01:36.100
 that you want over here, or you can do that

33
00:01:36.100 --> 00:01:39.200
 using your command prompt or your terminal

34
00:01:39.200 --> 00:01:42.900
 as well. Now how to install Homebrew you

35
00:01:42.900 --> 00:01:45.300
 simply have to copy this command and paste it

36
00:01:45.300 --> 00:01:49.200
 into your terminal and it will start installing Brew

37
00:01:48.200 --> 00:01:51.100
 or home brew into your computer.

38
00:01:52.200 --> 00:01:55.100
Now the script explains what it will

39
00:01:55.100 --> 00:01:58.300
 do and it will pause before asking anything. You have

40
00:01:58.300 --> 00:01:59.000
 to give your

41
00:02:00.800 --> 00:02:03.400
permission. That is basically yes in case

42
00:02:03.400 --> 00:02:06.600
 you want to install and you want to script to

43
00:02:06.600 --> 00:02:07.900
 go ahead now.

44
00:02:08.800 --> 00:02:11.600
What does Homebrew actually do so it

45
00:02:11.600 --> 00:02:14.800
 installed packages as it is a package manager you

46
00:02:14.800 --> 00:02:17.700
 can update as well as remove packages using it

47
00:02:17.700 --> 00:02:18.100
 as well.

48
00:02:19.200 --> 00:02:22.300
The command as you can see onto your right over here, which

49
00:02:22.300 --> 00:02:25.600
 is Brew install and the package name

50
00:02:25.600 --> 00:02:28.200
 that you want to install which is duplicate. For example.

51
00:02:29.700 --> 00:02:32.600
So let us copy this and let's go to our

52
00:02:32.600 --> 00:02:33.100
 terminal.

53
00:02:34.100 --> 00:02:37.000
So this is how a terminal looks like and over here.

54
00:02:37.700 --> 00:02:40.200
 I'm going to type or paste the command

55
00:02:40.200 --> 00:02:43.400
 which is grew install duplicate as Brew is already

56
00:02:43.400 --> 00:02:46.800
 installed into my computer. Let's verify that just

57
00:02:46.800 --> 00:02:50.200
 simply type the command which is true and enter and

58
00:02:49.200 --> 00:02:52.700
 if you are able to see example usage help

59
00:02:52.700 --> 00:02:55.500
 menu, which confirms that Brew is

60
00:02:55.500 --> 00:02:56.000
 installed.

61
00:02:56.900 --> 00:02:59.600
You can also read the man page if you're

62
00:02:59.600 --> 00:03:02.400
 interested to see what are the possible options that

63
00:03:02.400 --> 00:03:03.200
 you can explore.

64
00:03:03.900 --> 00:03:04.900
to use Brew

65
00:03:05.700 --> 00:03:08.900
Now, let me just paste the command again and

66
00:03:08.900 --> 00:03:11.300
 here we are going to install wget in

67
00:03:11.300 --> 00:03:11.600
 my computer.

68
00:03:13.100 --> 00:03:16.400
Most probably it is already installed in my computer. So

69
00:03:16.400 --> 00:03:19.400
 either it is going to update the package or it

70
00:03:19.400 --> 00:03:22.400
 is going to say that it is already installed to the

71
00:03:22.400 --> 00:03:23.200
 latest version.

72
00:03:24.300 --> 00:03:27.600
Okay, so it was not to the latest version as I expected and you

73
00:03:27.600 --> 00:03:31.100
 can see it got us it gave us a sweet message saying upgrading

74
00:03:30.100 --> 00:03:35.900
 duplicate from version 1.20.3.2 to

75
00:03:35.900 --> 00:03:38.600
 1.21.1. So it is

76
00:03:38.600 --> 00:03:41.400
 updating the latest version for me and that's

77
00:03:41.400 --> 00:03:42.000
 awesome.

78
00:03:43.100 --> 00:03:47.700
You can also see it is installing dependencies automatically, which

79
00:03:46.700 --> 00:03:49.400
 if I would have

80
00:03:49.400 --> 00:03:52.200
 done manually would have took a lot of time

81
00:03:52.200 --> 00:03:55.200
 for me as you can see the dependencies for

82
00:03:55.200 --> 00:03:59.100
 duplicate were these and which are automatically installed and

83
00:03:58.100 --> 00:04:02.100
 finally we can see installing duplicate

84
00:04:01.100 --> 00:04:05.100
 and done which is pouring duplicate

85
00:04:04.100 --> 00:04:08.100
 which basically means in Brew

86
00:04:07.100 --> 00:04:09.900
 language that it is successfully done.

87
00:04:10.600 --> 00:04:13.400
Perfect. That's verify FW get is installed.

88
00:04:13.400 --> 00:04:16.200
 Let's hit enter and we should see

89
00:04:16.200 --> 00:04:19.200
 that yeah W get is there and it is now

90
00:04:19.200 --> 00:04:20.200
 to the latest version?

91
00:04:21.300 --> 00:04:24.800
It was very simple and very easy to use. I

92
00:04:24.800 --> 00:04:28.200
 hope you guys understood how you can install duplicate and

93
00:04:27.200 --> 00:04:29.900
 how you can use it. Thank you.
