﻿1
00:00:00,460 --> 00:00:07,720
‫So in this video, we're going to install the compiler for Linux and this is where we left off in the

2
00:00:07,720 --> 00:00:15,700
‫last video and we're going to come down here and click on GCSE on Linux and that's going to open up

3
00:00:15,700 --> 00:00:22,720
‫a web browser and I'm going to move that over here to the right and I'll scroll this up a little bit

4
00:00:22,720 --> 00:00:23,050
‫here.

5
00:00:23,050 --> 00:00:30,850
‫So the first two steps that we need to do are to install Visual Studio code and then install the C++

6
00:00:30,850 --> 00:00:33,070
‫extension for VS code.

7
00:00:33,190 --> 00:00:35,710
‫That's what this is over here.

8
00:00:36,100 --> 00:00:37,870
‫So I'm going to scroll up again here.

9
00:00:38,350 --> 00:00:45,010
‫And most likely the only thing you're going to need to do is run this line here in your terminal.

10
00:00:45,610 --> 00:00:47,170
‫So I'll open the terminal.

11
00:00:48,290 --> 00:00:52,010
‫And I'll type in GCC dash v.

12
00:00:52,950 --> 00:00:58,050
‫And the important thing to look for is do you have a version installed?

13
00:00:58,050 --> 00:01:02,370
‫And you can see down here that we do have a GCSE version.

14
00:01:02,400 --> 00:01:09,120
‫Yours might be different, but you just need to have a version installed and if you're running Linux,

15
00:01:09,120 --> 00:01:11,370
‫this is what you would expect.

16
00:01:11,370 --> 00:01:13,770
‫So I'm going to close the terminal window.

17
00:01:14,430 --> 00:01:24,240
‫So if GCSE isn't installed, you just run these two lines here and that will take care of that.

18
00:01:24,780 --> 00:01:28,200
‫But it is unlikely that you will need to do that.

19
00:01:28,710 --> 00:01:33,300
‫So I'm going to scroll up again here and here it says Create Hello World.

20
00:01:33,300 --> 00:01:39,870
‫And then you do these things at the command line to create a directory and a Hello World file, but

21
00:01:39,870 --> 00:01:43,950
‫I'm not going to do it that way because I already have that created.

22
00:01:44,190 --> 00:01:46,080
‫I'm going to close the browser.

23
00:01:46,280 --> 00:01:53,250
‫What I'm going to do is come up here to file and then I'm going to click on Open Folder.

24
00:01:53,960 --> 00:02:01,060
‫And in the documents folder, I have a folder called CPP where I have all of the code for the course.

25
00:02:01,070 --> 00:02:03,890
‫I'll just highlight this and click.

26
00:02:03,890 --> 00:02:04,610
‫Okay.

27
00:02:04,970 --> 00:02:10,550
‫And you can see up here that CPP is now at the root of the Explorer.

28
00:02:10,700 --> 00:02:16,460
‫And then what I'm going to do is come up here to miscellaneous, and that's where I have my Hello World

29
00:02:16,460 --> 00:02:18,410
‫file and I'll click on this.

30
00:02:18,710 --> 00:02:22,430
‫And all this is going to do is output hello world.

31
00:02:22,850 --> 00:02:29,750
‫So I'll come up to this play button up here and click on this and that will run this code.

32
00:02:30,260 --> 00:02:37,400
‫And you can see down here that this is output hello world, which means that we have a working compiler.

33
00:02:38,060 --> 00:02:39,740
‫Now for the next video.

34
00:02:39,770 --> 00:02:40,790
‫Go watch.

35
00:02:40,820 --> 00:02:47,930
‫Additional configuration and the additional configuration in that video will apply to Windows or Linux

36
00:02:47,930 --> 00:02:48,890
‫or Mac.

37
00:02:49,340 --> 00:02:52,130
‫And I will see you in that video.

