Hello, everyone, and welcome to this lesson.
So here we are going to use and install one more package manager which is known as BRU.
One of the very, very famous package managers which has been used in apple based systems, or you can
say MAC based operating systems.
All right.
So the actual name of this particular package manager is Homebrew.
But sometimes, in short, it is generally known as brew.
So what it does as it is a package manager, so it is going to install stuff that you need to run into
your Apple or your Linux operating system that is basically not installed into your computer.
All right.
So it installed packages to its own directory and then it makes some links or symbolic links files into
the user, local directories.
What is the syntax?
It's very simple.
It is brew and install and whatever the package name that you require.
All right.
It looks like fairly simple.
Now, let's jump onto the practical time and let's see how you can use this.
All right.
So here the website is, Blue Dot Search.
So once we are over here, you can see Home Brew, the missing package manager for Mac OS or Linux.
You can simply search any particular package that you want over here or you can do that using your command
prompt or your terminal as well.
Now, how to install Homebrew.
You simply have to copy this command and paste it into your terminal and it will start installing brew
or homebrew into your computer.
Now the script explains what it will do and it will pause before asking anything you have to give your.
Permission.
That is basically yes.
In case you want to install and you want to script to go ahead.
Now what does Homebrew actually do?
So it installed packages as it is a package manager.
You can update as well as remove packages using it as well.
The command as you can see onto your right over here, which is brew, install and the package name
that you want to install, which is the blue gate, for example.
So let us copy this and let's go to our terminal.
So this is how a terminal looks like.
And over here, I'm going to type or paste the command, which is blue install the blue gate.
As blue is already installed into my computer, let's verify that.
Just simply type the command which is blue and enter.
And if you're able to see an example usage help menu which confirms that blue is installed.
You can also read the main page if you are interested to see what are the possible options that you
can explore to use blue.
Now let me just paste the command again, and here we are going to install the blue gate in my computer.
Most probably it is already installed into my computer.
So either it is going to update the package or it is going to say that it is already installed to the
latest version.
Okay.
So it was not to the latest version, as I expected.
And you can see it got us it gave us a sweet message saying upgrading w get from version 1.20 .3. 2
to 1.20 1.1.
So it is updating the latest version for me and that's awesome.
You can also see it is installing dependencies automatically, which if I would have done manually,
would have took a lot of time for me.
As you can see, the dependencies for W gate were these and which are automatically installed.
And finally we can see installing the blue gate and done which is pouring w gate, which basically means
in blue language that it is successfully done.
Perfect.
Let's verify if w gate is installed.
Lets it enter.
And we should see that.
Yeah.
The blue gate is there and it is now to the latest version.
It was very simple and very easy to use.
I hope you guys understood how you can install the blue gate and how you can use it.
Thank you.