1 00:00:03,090 --> 00:00:11,580 Well, one of the most fundamental tasks in Linux or any operating system is adding and removing software. 2 00:00:12,150 --> 00:00:18,630 You will often need to install software that didn't come with your distribution or remove unwanted software, 3 00:00:18,630 --> 00:00:22,410 so it doesn't take up her hard drive space. 4 00:00:23,820 --> 00:00:27,330 Some software requires other software to run. 5 00:00:27,740 --> 00:00:34,350 Uh, so and you will sometimes find that you can download everything you need at once in a software 6 00:00:34,350 --> 00:00:41,850 package, which is group of files, typically libraries and other dependencies that you need for a piece 7 00:00:41,850 --> 00:00:44,520 of software to run successfully. 8 00:00:45,210 --> 00:00:48,510 When you install the package, I'll um. 9 00:00:49,560 --> 00:00:52,380 Uh, we don't when you install a package here. 10 00:00:54,670 --> 00:01:04,960 All the files fit within it are installed together here, as you can see here, we have so many hacking 11 00:01:04,960 --> 00:01:08,410 tools in Linux like password attacks, violence so that we will. 12 00:01:08,800 --> 00:01:13,150 You will learn all of our tools in our course here. 13 00:01:13,480 --> 00:01:14,860 So, um. 14 00:01:16,480 --> 00:01:26,020 In this lecture, we examine three key methods for adding new software a package manager, uh, graphical 15 00:01:26,020 --> 00:01:28,930 user, interface based installation managers and kit. 16 00:01:29,710 --> 00:01:34,780 So using API to let's start using epithet to handle software. 17 00:01:36,320 --> 00:01:43,970 In Debian based Linux distributions, which includes no Kali and Ubuntu, the default software manager 18 00:01:43,970 --> 00:01:51,680 is an advanced packaging tool, a team whose primary command is apt. 19 00:01:51,830 --> 00:01:59,720 Get here and in the simplest and most common form, you can use APT, get to download and install new 20 00:01:59,720 --> 00:02:05,420 software packages, but you can also update and upgrade and charter it. 21 00:02:06,260 --> 00:02:10,460 So let's search a package here now. 22 00:02:10,850 --> 00:02:17,000 Before downloading this software package, you can check whether the package you need is available from 23 00:02:17,000 --> 00:02:22,030 your repository or not, which has placed you where your operating system stays. 24 00:02:22,280 --> 00:02:28,910 Stores information The APC tool has a search function that can check whether the packages available, 25 00:02:29,570 --> 00:02:32,780 so the syntax is informative to NPR team. 26 00:02:33,500 --> 00:02:34,670 Check here. 27 00:02:34,670 --> 00:02:38,660 Search Keyword here. 28 00:02:38,750 --> 00:02:42,410 For example, a key tool and, for example, search Chrome. 29 00:02:43,660 --> 00:02:47,860 As you can see here, we have so many from here. 30 00:02:49,490 --> 00:02:52,870 Cro-Magnon, Sheryl Crow, Muma and others. 31 00:02:55,230 --> 00:02:56,520 Or we can search. 32 00:02:57,200 --> 00:02:58,320 Senator. 33 00:03:02,920 --> 00:03:03,970 Let's see here. 34 00:03:04,420 --> 00:03:12,190 So now I want your adding software to it now that, you know the snort package here. 35 00:03:13,060 --> 00:03:13,690 Um. 36 00:03:18,470 --> 00:03:28,070 As you can see here, exist in your story, so you can use APT, get to download the software to install 37 00:03:28,070 --> 00:03:34,400 a piece of software from your operating systems default repository in the terminal, use the APT get 38 00:03:34,400 --> 00:03:41,870 command, followed by the key word installed here install and then the name of the package you want 39 00:03:41,870 --> 00:03:42,860 to install. 40 00:03:43,760 --> 00:03:51,470 The syntax will look like that, for example, the name of the package here, so let's install small 41 00:03:51,470 --> 00:03:53,630 theater arts. 42 00:03:54,920 --> 00:04:03,970 So if you get error like that odd pseudo promotion, so run this command, which should have permissioned 43 00:04:04,230 --> 00:04:07,820 and interior kelly passport here and as you can see here. 44 00:04:08,240 --> 00:04:13,570 And after all these, uh, operation ten point five megabyte of additional disk space will be yours. 45 00:04:13,580 --> 00:04:17,570 Do you want to continue for this year and enter? 46 00:04:17,630 --> 00:04:19,180 Yes and no. 47 00:04:19,220 --> 00:04:21,350 Now Francis is demanding. 48 00:04:24,130 --> 00:04:24,490 Yes. 49 00:04:40,460 --> 00:04:44,150 As you can see, his snot is installed now. 50 00:04:50,690 --> 00:04:54,890 As you can see, eBay started snored as well. 51 00:04:58,750 --> 00:04:59,980 But I will quit now. 52 00:05:02,120 --> 00:05:02,660 Actually. 53 00:05:05,990 --> 00:05:06,380 So. 54 00:05:07,990 --> 00:05:13,210 We can't remove packages, so you will remember in pictures in Linux, no. 55 00:05:13,660 --> 00:05:22,750 So when removing a software news API to get with the removal option followed by the name of the software 56 00:05:22,750 --> 00:05:23,320 to remove. 57 00:05:23,330 --> 00:05:31,840 So if I want to remove snored here small remove snore care. 58 00:05:32,860 --> 00:05:37,930 Uh, if you get this error, uh, just uh, the pseudo here. 59 00:05:39,840 --> 00:05:41,310 And your county? 60 00:05:42,480 --> 00:05:45,240 A password and a Kindle, yes. 61 00:05:45,570 --> 00:05:45,870 Yes. 62 00:05:58,030 --> 00:06:04,450 So we removed our snort with three more comment here, but again, you will see the task being done 63 00:06:04,450 --> 00:06:08,590 in real time and you will be asked whether you want to continue or not. 64 00:06:09,070 --> 00:06:20,050 So you can enter year two one install and end to, um, keep snorts of signs we will be using again. 65 00:06:21,430 --> 00:06:29,740 So, no, but I removed it, so I will instantly snort again and putting it in remove, snort I to get 66 00:06:29,980 --> 00:06:32,230 install, snort here we will. 67 00:06:32,410 --> 00:06:41,250 I have another, uh, software removing a comment here and you will see it. 68 00:06:41,260 --> 00:06:41,890 And now?