1
00:00:01,760 --> 00:00:04,640
Hello, everyone, and welcome to this lesson.

2
00:00:05,270 --> 00:00:11,840
So here we are going to use and install one more package manager which is known as BRU.

3
00:00:12,170 --> 00:00:18,740
One of the very, very famous package managers which has been used in apple based systems, or you can

4
00:00:18,740 --> 00:00:21,470
say MAC based operating systems.

5
00:00:22,360 --> 00:00:22,990
All right.

6
00:00:22,990 --> 00:00:28,180
So the actual name of this particular package manager is Homebrew.

7
00:00:28,180 --> 00:00:32,200
But sometimes, in short, it is generally known as brew.

8
00:00:32,890 --> 00:00:40,420
So what it does as it is a package manager, so it is going to install stuff that you need to run into

9
00:00:40,420 --> 00:00:46,330
your Apple or your Linux operating system that is basically not installed into your computer.

10
00:00:47,020 --> 00:00:47,380
All right.

11
00:00:47,380 --> 00:00:55,450
So it installed packages to its own directory and then it makes some links or symbolic links files into

12
00:00:55,450 --> 00:00:57,580
the user, local directories.

13
00:00:57,850 --> 00:00:58,940
What is the syntax?

14
00:00:58,960 --> 00:01:00,010
It's very simple.

15
00:01:00,580 --> 00:01:05,140
It is brew and install and whatever the package name that you require.

16
00:01:05,320 --> 00:01:06,090
All right.

17
00:01:06,100 --> 00:01:08,260
It looks like fairly simple.

18
00:01:08,380 --> 00:01:13,090
Now, let's jump onto the practical time and let's see how you can use this.

19
00:01:13,600 --> 00:01:14,230
All right.

20
00:01:14,740 --> 00:01:18,130
So here the website is, Blue Dot Search.

21
00:01:18,160 --> 00:01:26,410
So once we are over here, you can see Home Brew, the missing package manager for Mac OS or Linux.

22
00:01:26,590 --> 00:01:34,120
You can simply search any particular package that you want over here or you can do that using your command

23
00:01:34,120 --> 00:01:36,070
prompt or your terminal as well.

24
00:01:36,190 --> 00:01:38,620
Now, how to install Homebrew.

25
00:01:38,650 --> 00:01:45,430
You simply have to copy this command and paste it into your terminal and it will start installing brew

26
00:01:45,430 --> 00:01:47,650
or homebrew into your computer.

27
00:01:48,510 --> 00:01:55,590
Now the script explains what it will do and it will pause before asking anything you have to give your.

28
00:01:57,060 --> 00:01:57,660
Permission.

29
00:01:57,660 --> 00:01:59,120
That is basically yes.

30
00:01:59,130 --> 00:02:03,540
In case you want to install and you want to script to go ahead.

31
00:02:03,840 --> 00:02:07,020
Now what does Homebrew actually do?

32
00:02:07,230 --> 00:02:10,820
So it installed packages as it is a package manager.

33
00:02:10,830 --> 00:02:14,640
You can update as well as remove packages using it as well.

34
00:02:15,150 --> 00:02:21,690
The command as you can see onto your right over here, which is brew, install and the package name

35
00:02:21,690 --> 00:02:24,840
that you want to install, which is the blue gate, for example.

36
00:02:25,790 --> 00:02:29,450
So let us copy this and let's go to our terminal.

37
00:02:30,290 --> 00:02:32,370
So this is how a terminal looks like.

38
00:02:32,390 --> 00:02:38,310
And over here, I'm going to type or paste the command, which is blue install the blue gate.

39
00:02:38,330 --> 00:02:42,560
As blue is already installed into my computer, let's verify that.

40
00:02:42,840 --> 00:02:46,030
Just simply type the command which is blue and enter.

41
00:02:46,040 --> 00:02:52,400
And if you're able to see an example usage help menu which confirms that blue is installed.

42
00:02:53,060 --> 00:02:58,730
You can also read the main page if you are interested to see what are the possible options that you

43
00:02:58,730 --> 00:03:01,250
can explore to use blue.

44
00:03:01,820 --> 00:03:08,210
Now let me just paste the command again, and here we are going to install the blue gate in my computer.

45
00:03:09,210 --> 00:03:12,420
Most probably it is already installed into my computer.

46
00:03:12,420 --> 00:03:18,630
So either it is going to update the package or it is going to say that it is already installed to the

47
00:03:18,630 --> 00:03:19,830
latest version.

48
00:03:20,310 --> 00:03:20,670
Okay.

49
00:03:20,670 --> 00:03:23,310
So it was not to the latest version, as I expected.

50
00:03:23,310 --> 00:03:31,740
And you can see it got us it gave us a sweet message saying upgrading w get from version 1.20 .3. 2

51
00:03:31,740 --> 00:03:33,600
to 1.20 1.1.

52
00:03:33,600 --> 00:03:38,580
So it is updating the latest version for me and that's awesome.

53
00:03:39,270 --> 00:03:46,410
You can also see it is installing dependencies automatically, which if I would have done manually,

54
00:03:46,410 --> 00:03:49,080
would have took a lot of time for me.

55
00:03:49,290 --> 00:03:54,600
As you can see, the dependencies for W gate were these and which are automatically installed.

56
00:03:54,990 --> 00:04:03,030
And finally we can see installing the blue gate and done which is pouring w gate, which basically means

57
00:04:03,120 --> 00:04:06,450
in blue language that it is successfully done.

58
00:04:06,750 --> 00:04:07,430
Perfect.

59
00:04:07,440 --> 00:04:09,870
Let's verify if w gate is installed.

60
00:04:09,900 --> 00:04:11,070
Lets it enter.

61
00:04:11,070 --> 00:04:12,570
And we should see that.

62
00:04:12,570 --> 00:04:12,990
Yeah.

63
00:04:12,990 --> 00:04:16,650
The blue gate is there and it is now to the latest version.

64
00:04:17,190 --> 00:04:20,700
It was very simple and very easy to use.

65
00:04:20,730 --> 00:04:25,690
I hope you guys understood how you can install the blue gate and how you can use it.

66
00:04:25,710 --> 00:04:26,430
Thank you.
