1 00:00:00,090 --> 00:00:01,510 Hello, the beautiful people. 2 00:00:01,530 --> 00:00:07,050 Now, one key thing that probably brought you to work with Linux is the idea of open source software. 3 00:00:07,050 --> 00:00:09,070 But what does that term really mean? 4 00:00:09,090 --> 00:00:13,410 Well, in this video, we're going to talk about the new project and what it actually means for software 5 00:00:13,410 --> 00:00:17,120 to be open source and the history of the whole open source movement. 6 00:00:17,130 --> 00:00:19,020 So let's go ahead and get into it. 7 00:00:19,350 --> 00:00:19,770 Okay. 8 00:00:19,770 --> 00:00:23,370 So the first thing that we probably need to understand is what Linux actually is. 9 00:00:23,370 --> 00:00:27,810 When we hear the word Linux, we probably think of a whole operating system that we use as being the 10 00:00:27,810 --> 00:00:29,130 Linux operating system. 11 00:00:29,220 --> 00:00:34,410 Now, surprisingly, this is actually not the case and Linux is actually just one of the pieces of the 12 00:00:34,410 --> 00:00:36,570 whole operating system, the kernel. 13 00:00:36,570 --> 00:00:37,830 So let me explain. 14 00:00:38,160 --> 00:00:45,000 On the 27th of September in 1983, a person called Richard Stallman announced that he was going to begin 15 00:00:45,000 --> 00:00:51,840 developing a operating system that was similar to the Unix operating system, but made of entirely free 16 00:00:51,840 --> 00:00:52,590 software. 17 00:00:52,680 --> 00:00:56,640 Now the operating system was called the new operating system, spelled G. 18 00:00:56,660 --> 00:01:01,860 New, which stands for GNU, is not UNIX, which they like to call a recursive acronym. 19 00:01:01,860 --> 00:01:02,170 Okay. 20 00:01:02,340 --> 00:01:09,240 Now, in in January 1984, Richard Stallman quit his job in the artificial intelligence lab at the Massachusetts 21 00:01:09,240 --> 00:01:10,500 Institute of Technology. 22 00:01:10,500 --> 00:01:16,740 So MIT to work on the new project full time in the aims of creating an operating system made of completely 23 00:01:16,740 --> 00:01:18,090 free software. 24 00:01:18,420 --> 00:01:24,270 Now, the term free software actually refers to several freedoms that the software gives the user rather 25 00:01:24,270 --> 00:01:26,010 than being free as in money. 26 00:01:26,010 --> 00:01:30,630 So when you hear the term free software, think free speech and not free lunch. 27 00:01:30,750 --> 00:01:32,880 Now these freedoms are the first. 28 00:01:33,000 --> 00:01:37,740 First one is the freedom to run the program as you wish, for any purpose. 29 00:01:37,740 --> 00:01:38,850 That's the first freedom. 30 00:01:38,850 --> 00:01:44,820 The second freedom is the freedom to study how the program works and change it so that it does the computing 31 00:01:44,820 --> 00:01:46,710 as you wish, which is what freedom one is. 32 00:01:46,710 --> 00:01:49,200 Okay, freedom one is that the program will do what you wish. 33 00:01:49,200 --> 00:01:54,450 And Freedom two is the freedom to study how the program works and to change it so that it does as you 34 00:01:54,450 --> 00:01:54,960 wish. 35 00:01:54,960 --> 00:01:59,250 Now, access to the source code for a program is a precondition for this. 36 00:01:59,250 --> 00:02:02,430 You can't study how a program works unless you can look at its code. 37 00:02:02,430 --> 00:02:06,030 So having access to the source code is a precondition for freedom. 38 00:02:06,030 --> 00:02:11,700 Number two The third freedom is the freedom to redistribute copies of the software so that you can, 39 00:02:11,880 --> 00:02:14,130 as they say, help your neighbor. 40 00:02:15,090 --> 00:02:21,150 And freedom number four is the freedom to distribute copies of your modified version of of your of the 41 00:02:21,150 --> 00:02:21,570 software. 42 00:02:21,570 --> 00:02:25,650 So if you modify it, you can redistribute that which links to freedom number three of helping other 43 00:02:25,650 --> 00:02:26,160 people. 44 00:02:26,160 --> 00:02:32,070 But by and apparently by doing this you can give the whole community a chance to benefit from your changes. 45 00:02:32,070 --> 00:02:36,090 And again, access to the source code is a precondition for this. 46 00:02:36,600 --> 00:02:41,790 So if you want to modify software and redistribute it, you need to have access to the source code in 47 00:02:41,790 --> 00:02:43,050 order to be able to change it. 48 00:02:43,350 --> 00:02:48,630 Now there's a license that legally provides a user of software with these freedoms, and it's known 49 00:02:48,630 --> 00:02:51,420 as the new public license or the GPL. 50 00:02:51,450 --> 00:02:55,680 Now there's several versions of the new public license or the GPL, but at the time of recording the 51 00:02:55,680 --> 00:02:59,220 GPL, version three is the most modern version. 52 00:03:00,780 --> 00:03:04,380 But in 1991, the new system was almost finished. 53 00:03:04,380 --> 00:03:09,300 But there was still one part missing from the new operating system, and it was an important part. 54 00:03:09,330 --> 00:03:14,040 This final piece is a major part of every operating system, and it's called the kernel. 55 00:03:14,040 --> 00:03:18,690 Now, the kernel is responsible for allocating the resources on the computers, hardware that is required 56 00:03:18,690 --> 00:03:20,100 by the software that it's running. 57 00:03:20,100 --> 00:03:24,840 So it's the interface layer between a computer's hardware and the applications that it's running. 58 00:03:24,850 --> 00:03:25,280 Okay. 59 00:03:25,410 --> 00:03:32,670 Now, at this time in 1991, a man called Linus Torvalds was completing his MSC thesis at the University 60 00:03:32,670 --> 00:03:34,170 of Helsinki in Finland. 61 00:03:34,170 --> 00:03:40,680 And as part of this work, Linus invented a Unix like kernel called Linux, and it was called Linux 62 00:03:40,680 --> 00:03:41,700 after his own name. 63 00:03:41,700 --> 00:03:47,520 But everything in the Unix world kind of ends in an x, so Linus ending in an x is Linux. 64 00:03:48,000 --> 00:03:53,250 And after being invited, after being invited by a fellow student to go see a talk by Richard Stallman, 65 00:03:53,640 --> 00:03:59,940 who was also a prominent activist at the time, Linus released the Linux kernel under the version two 66 00:03:59,940 --> 00:04:05,220 of the new public license or GPL, thereby making the Linux kernel free software. 67 00:04:05,370 --> 00:04:11,130 So thanks to the Linux kernel, the new operating system was complete and was a fully reasonable operating 68 00:04:11,130 --> 00:04:13,830 system made of entirely free software. 69 00:04:14,100 --> 00:04:18,060 With those four freedoms we talked to you about before and it began to gain popularity. 70 00:04:18,060 --> 00:04:24,540 And it's in fact the Linux kernel that is used today on on Android devices and even Chrome OS. 71 00:04:24,540 --> 00:04:29,700 So if you ever hear people say, oh, Android runs a Linux or Chrome OS runs Linux, what they mean 72 00:04:29,700 --> 00:04:35,640 is they use the Linux kernel to interface between the software layer and the hardware layer of your 73 00:04:35,640 --> 00:04:36,360 computer. 74 00:04:37,020 --> 00:04:42,390 But because the Linux kernel was the final piece, it kind of got a whole lot of attention and the rest 75 00:04:42,390 --> 00:04:46,050 of the work that went into the new operating system was kind of forgotten. 76 00:04:46,050 --> 00:04:50,670 But because what we run when we run a distribution like a Bun two or any other Linux distribution is 77 00:04:50,670 --> 00:04:53,880 actually the new operating system and the Linux kernel. 78 00:04:53,880 --> 00:04:58,050 It is recommended that in order to give the new project its credit, instead of just calling the whole 79 00:04:58,050 --> 00:04:59,400 thing Linux, we should call it. 80 00:04:59,530 --> 00:05:01,160 A new plus Linux. 81 00:05:01,850 --> 00:05:07,280 In fact, there is a command called the you name command that will actually tell you loads of information 82 00:05:07,280 --> 00:05:11,520 about your computer, such as what hardware it has and what operating system that it's running. 83 00:05:11,540 --> 00:05:16,220 So if you run the unknown command with the O option, it will tell you your operating system. 84 00:05:16,220 --> 00:05:21,440 So if we run that, we see that we can that we get GNU Linux as the operating system. 85 00:05:21,440 --> 00:05:22,430 So that's pretty cool, right? 86 00:05:22,680 --> 00:05:23,090 Okay. 87 00:05:23,090 --> 00:05:24,470 So with that history, understood. 88 00:05:24,470 --> 00:05:29,060 We now know pretty much all of the commands that we've used so far in the course, such as the RLS command 89 00:05:29,060 --> 00:05:32,600 and the fine command and so on, are all part of the new project. 90 00:05:32,600 --> 00:05:37,820 And to give the users the freedoms that free software provides, the source code needs to be available 91 00:05:37,820 --> 00:05:42,020 to read because access to the source code is a precondition for those freedoms, right? 92 00:05:42,020 --> 00:05:46,130 So in other words, the software must be open source. 93 00:05:46,520 --> 00:05:48,770 So the source code must be openly accessible. 94 00:05:48,770 --> 00:05:50,150 It's open source. 95 00:05:50,150 --> 00:05:53,420 So how can we have a look at the code that our computer runs? 96 00:05:53,420 --> 00:05:59,300 Well, it's actually all freely accessible on the new project's official website, going to dot org. 97 00:05:59,300 --> 00:06:06,770 So if I just open up a Firefox browser here and when that boots up we head over to SNHU dot org, we'll 98 00:06:06,770 --> 00:06:08,510 be able to see what I'm talking about. 99 00:06:08,510 --> 00:06:09,020 So here we are. 100 00:06:09,020 --> 00:06:09,920 Here's Firefox. 101 00:06:10,040 --> 00:06:13,070 Let's go to new dot org and press enter. 102 00:06:15,320 --> 00:06:16,130 There we go. 103 00:06:16,130 --> 00:06:22,930 So you can read all about the the philosophy behind the free software ideology in more detail. 104 00:06:22,930 --> 00:06:25,580 And you can see here, it's telling you to try the new Linux here. 105 00:06:25,970 --> 00:06:30,830 But if you head over to the software section, so if we click on software here and scroll down to a 106 00:06:30,830 --> 00:06:35,480 part that says all new packages, so here it says all new packages. 107 00:06:35,660 --> 00:06:41,720 And you can you can see here that there's every there's basically links to every bit of code that is 108 00:06:41,720 --> 00:06:47,750 run on a new system, including a free software version of the Linux kernel itself, which we can find 109 00:06:47,780 --> 00:06:50,420 under the Linux Libra package. 110 00:06:50,420 --> 00:06:51,560 Say we are Linux Libra. 111 00:06:51,620 --> 00:06:51,780 Okay. 112 00:06:51,800 --> 00:06:53,210 That's the that's the package. 113 00:06:53,210 --> 00:06:59,330 That's the full downloadable folder that contains all of the source code for the for the Linux kernel 114 00:06:59,330 --> 00:06:59,720 itself. 115 00:06:59,720 --> 00:07:00,860 So that's pretty awesome. 116 00:07:00,860 --> 00:07:06,800 Now for all the commands that you've run so far, such as the LS command grep find whatever it might 117 00:07:06,800 --> 00:07:07,280 be. 118 00:07:07,280 --> 00:07:13,240 Okay, you can find those under the core utils package that we are call utils. 119 00:07:13,250 --> 00:07:13,620 Okay. 120 00:07:13,640 --> 00:07:17,090 So that's where you can find the stuff in there in that call utils package. 121 00:07:17,090 --> 00:07:23,810 And in the next video we're going to download the core utils package, modify it and install a new version 122 00:07:23,810 --> 00:07:28,070 of the RLS command to our computer, which is going to be super, super exciting. 123 00:07:29,340 --> 00:07:32,820 But first, let's just take a quick recap of what we've learned in this video. 124 00:07:33,060 --> 00:07:38,010 So in this video, you learned about Richard Stallman beginning the development of the new operating 125 00:07:38,010 --> 00:07:44,580 system in 1983, and the idea was to create a Unix like operating system that was made of entirely free 126 00:07:44,580 --> 00:07:45,330 software. 127 00:07:45,330 --> 00:07:50,730 And you learn that when we say the words free software, we mean software that provides users with certain 128 00:07:50,730 --> 00:07:51,210 freedoms. 129 00:07:51,210 --> 00:07:54,450 So think of free speech rather than free lunch. 130 00:07:54,720 --> 00:07:59,640 Now the fourth, there are four freedoms that the free the free software gives the users. 131 00:07:59,640 --> 00:08:03,450 So it gives the users the ability to run programs as they wish for any purpose. 132 00:08:03,480 --> 00:08:08,670 It gives the users the ability to study how a program works and change it so it does the computing as 133 00:08:08,670 --> 00:08:09,270 they wish. 134 00:08:09,270 --> 00:08:12,060 And access to source code is a precondition for that. 135 00:08:12,380 --> 00:08:18,810 It gives the users the ability to freely, freely distribute any copies they get so that they can help 136 00:08:18,810 --> 00:08:19,740 out other people. 137 00:08:19,740 --> 00:08:25,110 And it also gives the users the ability to distribute modified versions of the software that they create 138 00:08:25,110 --> 00:08:26,010 to other people. 139 00:08:26,370 --> 00:08:30,600 So this allows the whole community to benefit from any changes that a user makes. 140 00:08:30,600 --> 00:08:34,049 And again, access to source code is a precondition for that as well. 141 00:08:34,080 --> 00:08:41,130 Now, these freedoms are legally provided to users using the new public license or the GPL and as as 142 00:08:41,130 --> 00:08:45,300 the time of recording the, the third version of the GPL. 143 00:08:45,300 --> 00:08:51,240 So GPL version three is the most modern version of the license and open access to the source code is 144 00:08:51,240 --> 00:08:53,460 a precondition for giving these freedoms. 145 00:08:53,460 --> 00:08:59,340 So and one of software has openly accessible source code, it is known as open source software. 146 00:08:59,340 --> 00:09:06,030 So you can say that free software is open source, but not all soft or not all open source software 147 00:09:06,030 --> 00:09:07,110 is free software. 148 00:09:07,110 --> 00:09:11,790 Because whilst people might let you see the source code, that doesn't mean they necessarily give you 149 00:09:11,790 --> 00:09:14,010 the freedoms required to modify and distribute it. 150 00:09:14,040 --> 00:09:15,480 They might just let you see the source code. 151 00:09:15,480 --> 00:09:15,720 Okay. 152 00:09:15,720 --> 00:09:20,400 But the free software does does require open source software. 153 00:09:20,400 --> 00:09:22,230 So it works one way, but not the other. 154 00:09:22,320 --> 00:09:27,750 And you've also learned that in 1991, the good new project was almost finished, but it had an important 155 00:09:27,750 --> 00:09:29,490 missing piece, which was the kernel. 156 00:09:29,490 --> 00:09:34,320 And the kernel is the part of the operating system that interfaces between the hardware and allocates 157 00:09:34,320 --> 00:09:39,450 resources from the hardware depending upon what software requires it. 158 00:09:39,450 --> 00:09:47,340 And in 1991, Linus Torvalds created his own version of a kernel and called it the Linux kernel and 159 00:09:47,340 --> 00:09:55,290 released it in 1991 under the new public license version two, thereby making it free software. 160 00:09:55,290 --> 00:10:01,380 So the Linux kernel was the final piece for the new operating system, and now the two tend to work 161 00:10:01,380 --> 00:10:01,740 together. 162 00:10:01,740 --> 00:10:07,020 So when you download a bunch to or when you download any other type of Linux distribution, what you're 163 00:10:07,020 --> 00:10:11,010 actually downloading is a version of the new plus Linux operating system. 164 00:10:11,010 --> 00:10:16,080 So henceforth we won't just call it Linux, we'll call it the GNU Linux operating system. 165 00:10:16,080 --> 00:10:16,460 Okay. 166 00:10:16,530 --> 00:10:20,730 So in the next video, now that we understand this, a little bit of a history lesson we understand 167 00:10:20,730 --> 00:10:23,310 about the freedoms and what open source software is all about. 168 00:10:23,340 --> 00:10:24,870 We're going to play with some source code. 169 00:10:24,870 --> 00:10:25,040 Okay? 170 00:10:25,080 --> 00:10:29,340 We're going to download and take a look at some of the source code for some core commands, modify their 171 00:10:29,340 --> 00:10:33,930 code and install that modified code on our computer and see how they behave differently. 172 00:10:33,930 --> 00:10:38,370 So this is going to be amazing and it's going to really allow you to see what open source free software 173 00:10:38,370 --> 00:10:39,180 is all about. 174 00:10:39,180 --> 00:10:42,510 So for all that, goodness, I'll see you in the next video.