So our next step is to install a repo.
So repo is nothing but a wrapper on top of it.
So this is created by Google to make the Aosp source code management a little bit better.
So in case if you don't know what git or repo is, just keep in mind that they are source code management
tools.
So these tools help us to manage the source code and track the changes of your project.
So to download repo now let's head to source to Android icon.
We need to basically execute these commands as we did earlier.
So this command will install repo from the official package available in the Linux distribution.
So in case if this doesn't work, you could directly download repo using the car command.
So let's try this command first.
So this is pretty straightforward.
It's based it.
So now install repo.
So I have got a problem.
Unable to locate repo.
So now let's head back to Switzerland.
Now let's try the second method.
So in this method, we are just using the serial command command command.
So this basically downloads repo tools from this server.
So this serial command is basically to download or download something from an external server.
Well, let's execute this now.
Just copy this first line.
The.
PC oral.
Hmm.
Yeah.
She looks fine.
And you set up some.
Let's see what key.
Here is your failed server indicating a failure.
So while installing rapport I ran into a problem, so I was not able to install rapport by using this
method.
So here the rapport is not actually available in the repository for 20.0 4.2 version.
So if you have an open to version, which is 18.04 or prior to that, you will not have this problem.
So you should be able to install the repo.
But unfortunately, in the latest open to version, you don't have repo available in the Ubuntu repositories.
So these these commands will not work for you if you have the latest Ubuntu.
So even in my case, I was not even able to install repo like this because I was receiving issues while
trying to receive this particular key using GPG command.
So these two methods were actually not working for me, but I was able to find a different solution
for that, which is pretty simple.
I'll show you that.
So here is the solution.
So first, basically you need to simply pull repo into the pin repo folder like this.
So if you run it for the first time, it will download it and then after that just change the permission
by using the mod command like this.
And then you can check the version and you should find the version if it is installed successfully.
So in my case I have already installed 2.17, so this is applicable only in case if you have the latest
ubuntu.
But if you have the older older version of ubuntu, whatever commands mentioned in the source code,
android dot com should be fine.