So in the last lecture, we set up and showed you how to do that famously.
Now there is another way to do it.
You could go get that docker dot com script there, but the Ducati will love it.
Although many say it's antiquated and deprecated, it still works.
And so, you know, that's the method I've chosen to go speaking up.
So, again, we are now go away.
That is.
So we're going to start.
Let me show you the right way to do this.
If you miss one of these steps, it work, especially when it comes to the co pad.
So the first thing we're going to do is grab the tar file.
So we go to download golf and here we want to get the an exposure.
So we'll just write this and say copy link.
Minimize.
All right, so we'll go to our own folder and then we can, when we get here, pull this file down.
All right, so we've got it right here.
Let's go ahead and extract it.
And first, we want to make sure we remove any existing go installations.
That's just the way it is, a sanity check to make sure that we don't have any existing ones, that
you could go further and you'll see nothing.
Nothing happens.
That's why it goes red, because we don't actually have the binary.
All right.
So let's entered into user local X, the F, and we have a binary name.
Let's do that.
All right, so now it should be in local
and you can see go right here, right.
But it's still not in our path.
This is our path.
You can see we don't have these are local go inside of our path anywhere.
So if we tigo, nothing happens.
It doesn't go.
So let's change that.
We're doing this.
The Gopalnath will set that to our home directory and we'll send that into our SHC file.
So the Army with us has control a graps.
These are all the configurations that run control AISI that run when we get into the shell.
So we're just going to basically export some environment variables so that they and make it into a shell.
So the first thing we're going to do is add this line right here to export our current home directory
into the path for the gopalnath variable.
And we'll put that in the WSA SHC file.
Then what we'll do is do the same thing, go route.
The route will be user local, go right.
These are local go.
Because this contains Avago binary in the bin folder and this redirection operator, the to greater
than signs means that it's going to append this line to the bottom of this file, which is exactly what
we want to do.
And then lastly, we'll update the path.
We'll see the path is equal to the current path, whatever that is, which is actually.
That's right.
And then we're going to add go route again because the route is user, local go user Thoko go and the
bin continues to go by here, hence the name bin.
And we also want to add go back to bed, go back.
Remember, is this so that we can run go from our workspace.
OK, it all makes sense once we finish this.
So now if we tell that file just to see the tail end of it, you can see we've got it there.
So now all we need to do is basically tell the terminal to, hey, use the settings that we just updated
into this, this are the SHC file.
So we'll say.
Dot, and then we put in the path to the file.
Very good.
Now, can we go
make this directory?
Let's go back here.
You take a look.
You can see it actually didn't.
For some reason, didn't update this path, watch, right, it didn't do what we wanted here.
I could just ignore this, let's try to enter it again.
There it is.
I don't know, I didn't work the first time.
That is really, really weird.
Now we can delete the other one.
Wow, that's weird.
Compelled to go to the bottom of that, I was going to die on the line one want to delete, which is
this one, did she have them going to tell the shell to use the updated and the SHC file?
It now goes green.
So now we're good to go.
So once you have that in place, you should be good.
In the next lecture, we are going to install cyclists and all that text now go is absolutely critical
because a lot of the tools you'll use are built in golf.
And if you don't get this right, you won't be able to go in.
It'll be really hard for you to install.
The tools are.
So make sure your path is right, make sure everything is correct, you have any problems, just go
back over this video and you still have a chance to reach out to me and I'll try to help you.
Great to see you guys in the next lecture by.