1
00:00:08,670 --> 00:00:13,850
So in the last lecture, we set up and showed you how to do that famously.

2
00:00:14,300 --> 00:00:15,370
Now there is another way to do it.

3
00:00:15,390 --> 00:00:21,630
You could go get that docker dot com script there, but the Ducati will love it.

4
00:00:21,850 --> 00:00:26,430
Although many say it's antiquated and deprecated, it still works.

5
00:00:26,740 --> 00:00:30,420
And so, you know, that's the method I've chosen to go speaking up.

6
00:00:30,440 --> 00:00:33,950
So, again, we are now go away.

7
00:00:33,990 --> 00:00:34,440
That is.

8
00:00:34,830 --> 00:00:36,420
So we're going to start.

9
00:00:36,460 --> 00:00:37,740
Let me show you the right way to do this.

10
00:00:37,920 --> 00:00:42,190
If you miss one of these steps, it work, especially when it comes to the co pad.

11
00:00:43,080 --> 00:00:46,310
So the first thing we're going to do is grab the tar file.

12
00:00:46,680 --> 00:00:52,470
So we go to download golf and here we want to get the an exposure.

13
00:00:53,450 --> 00:00:57,650
So we'll just write this and say copy link.

14
00:00:58,940 --> 00:00:59,580
Minimize.

15
00:01:00,650 --> 00:01:08,870
All right, so we'll go to our own folder and then we can, when we get here, pull this file down.

16
00:01:11,010 --> 00:01:13,000
All right, so we've got it right here.

17
00:01:13,560 --> 00:01:15,200
Let's go ahead and extract it.

18
00:01:15,660 --> 00:01:19,090
And first, we want to make sure we remove any existing go installations.

19
00:01:23,610 --> 00:01:27,240
That's just the way it is, a sanity check to make sure that we don't have any existing ones, that

20
00:01:27,240 --> 00:01:30,450
you could go further and you'll see nothing.

21
00:01:31,110 --> 00:01:31,860
Nothing happens.

22
00:01:32,100 --> 00:01:34,230
That's why it goes red, because we don't actually have the binary.

23
00:01:34,680 --> 00:01:34,890
All right.

24
00:01:34,890 --> 00:01:45,970
So let's entered into user local X, the F, and we have a binary name.

25
00:01:46,020 --> 00:01:46,680
Let's do that.

26
00:01:47,960 --> 00:01:49,910
All right, so now it should be in local

27
00:01:53,300 --> 00:01:55,310
and you can see go right here, right.

28
00:01:57,230 --> 00:01:59,570
But it's still not in our path.

29
00:02:00,200 --> 00:02:00,950
This is our path.

30
00:02:03,050 --> 00:02:08,960
You can see we don't have these are local go inside of our path anywhere.

31
00:02:09,120 --> 00:02:10,760
So if we tigo, nothing happens.

32
00:02:11,330 --> 00:02:12,020
It doesn't go.

33
00:02:12,540 --> 00:02:13,550
So let's change that.

34
00:02:14,150 --> 00:02:14,930
We're doing this.

35
00:02:15,530 --> 00:02:25,840
The Gopalnath will set that to our home directory and we'll send that into our SHC file.

36
00:02:26,510 --> 00:02:30,470
So the Army with us has control a graps.

37
00:02:34,820 --> 00:02:40,250
These are all the configurations that run control AISI that run when we get into the shell.

38
00:02:40,430 --> 00:02:45,610
So we're just going to basically export some environment variables so that they and make it into a shell.

39
00:02:46,310 --> 00:02:52,730
So the first thing we're going to do is add this line right here to export our current home directory

40
00:02:53,540 --> 00:02:56,480
into the path for the gopalnath variable.

41
00:02:56,720 --> 00:03:00,020
And we'll put that in the WSA SHC file.

42
00:03:01,670 --> 00:03:05,570
Then what we'll do is do the same thing, go route.

43
00:03:08,270 --> 00:03:13,230
The route will be user local, go right.

44
00:03:13,970 --> 00:03:15,140
These are local go.

45
00:03:16,260 --> 00:03:24,480
Because this contains Avago binary in the bin folder and this redirection operator, the to greater

46
00:03:24,480 --> 00:03:30,810
than signs means that it's going to append this line to the bottom of this file, which is exactly what

47
00:03:30,810 --> 00:03:31,360
we want to do.

48
00:03:32,520 --> 00:03:36,570
And then lastly, we'll update the path.

49
00:03:38,430 --> 00:03:42,300
We'll see the path is equal to the current path, whatever that is, which is actually.

50
00:03:42,300 --> 00:03:43,830
That's right.

51
00:03:44,370 --> 00:03:55,470
And then we're going to add go route again because the route is user, local go user Thoko go and the

52
00:03:55,470 --> 00:03:58,010
bin continues to go by here, hence the name bin.

53
00:03:58,470 --> 00:04:04,320
And we also want to add go back to bed, go back.

54
00:04:04,660 --> 00:04:09,150
Remember, is this so that we can run go from our workspace.

55
00:04:10,020 --> 00:04:12,270
OK, it all makes sense once we finish this.

56
00:04:12,810 --> 00:04:19,890
So now if we tell that file just to see the tail end of it, you can see we've got it there.

57
00:04:21,260 --> 00:04:26,060
So now all we need to do is basically tell the terminal to, hey, use the settings that we just updated

58
00:04:26,060 --> 00:04:28,570
into this, this are the SHC file.

59
00:04:29,090 --> 00:04:29,750
So we'll say.

60
00:04:32,790 --> 00:04:35,640
Dot, and then we put in the path to the file.

61
00:04:37,650 --> 00:04:38,190
Very good.

62
00:04:38,680 --> 00:04:40,350
Now, can we go

63
00:04:43,470 --> 00:04:44,820
make this directory?

64
00:04:50,760 --> 00:04:51,600
Let's go back here.

65
00:04:52,410 --> 00:04:53,300
You take a look.

66
00:04:53,970 --> 00:04:55,350
You can see it actually didn't.

67
00:04:57,410 --> 00:05:06,290
For some reason, didn't update this path, watch, right, it didn't do what we wanted here.

68
00:05:07,390 --> 00:05:10,330
I could just ignore this, let's try to enter it again.

69
00:05:13,350 --> 00:05:13,980
There it is.

70
00:05:14,010 --> 00:05:15,480
I don't know, I didn't work the first time.

71
00:05:15,690 --> 00:05:16,980
That is really, really weird.

72
00:05:17,910 --> 00:05:19,140
Now we can delete the other one.

73
00:05:19,740 --> 00:05:20,450
Wow, that's weird.

74
00:05:22,650 --> 00:05:27,630
Compelled to go to the bottom of that, I was going to die on the line one want to delete, which is

75
00:05:27,630 --> 00:05:37,950
this one, did she have them going to tell the shell to use the updated and the SHC file?

76
00:05:39,300 --> 00:05:40,680
It now goes green.

77
00:05:42,690 --> 00:05:44,010
So now we're good to go.

78
00:05:44,940 --> 00:05:47,250
So once you have that in place, you should be good.

79
00:05:47,460 --> 00:05:53,880
In the next lecture, we are going to install cyclists and all that text now go is absolutely critical

80
00:05:53,880 --> 00:05:57,090
because a lot of the tools you'll use are built in golf.

81
00:05:57,450 --> 00:06:00,240
And if you don't get this right, you won't be able to go in.

82
00:06:00,240 --> 00:06:01,500
It'll be really hard for you to install.

83
00:06:01,500 --> 00:06:01,980
The tools are.

84
00:06:03,160 --> 00:06:07,390
So make sure your path is right, make sure everything is correct, you have any problems, just go

85
00:06:07,390 --> 00:06:11,050
back over this video and you still have a chance to reach out to me and I'll try to help you.

86
00:06:11,440 --> 00:06:14,200
Great to see you guys in the next lecture by.
