1 00:00:00,990 --> 00:00:08,970 If you want, uh, to, uh, remove the configuration files at the same time as the package, you can 2 00:00:08,970 --> 00:00:11,670 use purge option here. 3 00:00:12,510 --> 00:00:19,320 So in previous lecture, we used to remove here, but remove is just remote application, but we will 4 00:00:19,320 --> 00:00:25,860 now, uh, remove the configuration, file a civil with powered, uh, command here. 5 00:00:26,340 --> 00:00:33,390 Sudo apt get purge here and our application names small. 6 00:00:35,350 --> 00:00:40,060 And type your password, color and operating system password here. 7 00:00:40,420 --> 00:00:42,250 And if if you want. 8 00:00:43,270 --> 00:00:48,820 You will see the task being in real time and you will be asked whether you want continue or not, so 9 00:00:48,820 --> 00:00:55,930 you can enter E to, uh, when you install per your application and then enter. 10 00:00:56,590 --> 00:01:03,040 Um, so as you can see here, there is, uh, our application is perched there. 11 00:01:03,040 --> 00:01:10,870 So you may have noticed along the line the following packages were automatically installed and are no 12 00:01:10,870 --> 00:01:12,050 longer required. 13 00:01:12,700 --> 00:01:13,570 Um. 14 00:01:14,540 --> 00:01:22,430 And no longer required in the article terminals or to keep things simple and modular, many Linux packages 15 00:01:22,430 --> 00:01:27,920 are broken into the software unit that many different programs might use. 16 00:01:28,460 --> 00:01:35,000 When you install snort, you install several dependencies or libraries with it that's not required in 17 00:01:35,000 --> 00:01:35,870 order to run. 18 00:01:36,500 --> 00:01:43,960 So now that you are removing snort with purge dos or the libraries or dependencies are no longer required. 19 00:01:44,000 --> 00:01:45,590 So they are removed, too. 20 00:01:46,730 --> 00:01:50,240 So now I want to show you these updating packages here. 21 00:01:52,220 --> 00:01:59,570 Software repositories here periodically updated with new software or versions of existing software. 22 00:02:00,520 --> 00:02:07,500 News updates don't reach you automatically, so you have to request them in order to apply these updates 23 00:02:07,510 --> 00:02:09,940 to your own system. 24 00:02:10,480 --> 00:02:17,260 Updating isn't the same as upgrading updating the simpler updates the list of packages available for 25 00:02:17,260 --> 00:02:25,120 download from the repository where upgrading will upgrade the package to the latest version in the repository. 26 00:02:25,600 --> 00:02:30,850 You can update your individual system by entering UM. 27 00:02:32,860 --> 00:02:34,120 APT, get. 28 00:02:34,630 --> 00:02:40,090 I will just sort of hear APT get common, followed by the keyword update. 29 00:02:41,660 --> 00:02:42,080 So. 30 00:02:45,510 --> 00:02:52,230 This whole search trod all the packages on your system and checked whether updates are available. 31 00:02:52,530 --> 00:02:56,280 So if so, the updates are downloaded here. 32 00:02:57,060 --> 00:03:02,700 Uh, so the soonest available in software requests are in your system will be updated here. 33 00:03:03,120 --> 00:03:06,150 So it might take, uh, nine. 34 00:03:06,220 --> 00:03:13,970 As you can see, there is a, uh, how many kilobytes per second is downloading and how many packages 35 00:03:14,010 --> 00:03:15,340 need to normalize here. 36 00:03:15,370 --> 00:03:15,850 And so. 37 00:03:17,840 --> 00:03:19,250 It's downloading now. 38 00:03:32,440 --> 00:03:41,800 It might take five seconds, so I want to show you what you will say after successful off the updating, 39 00:03:41,800 --> 00:03:48,250 so if the update is successful, your terminal will start reading package lists. 40 00:03:48,490 --> 00:03:50,740 Done, as you can see here. 41 00:03:50,950 --> 00:03:52,690 Not at the name of the repository. 42 00:03:52,690 --> 00:03:57,250 And the volume is time, size and so on might be different than your system here. 43 00:03:58,520 --> 00:04:06,350 Uh, so now I want to show you upgrading packages, so to upgrade the existing packages on your system, 44 00:04:06,350 --> 00:04:17,090 use a p t, uh, a P to get up grade because upgrading your packages may make changes to your software. 45 00:04:17,450 --> 00:04:26,780 You must logged in as root or used a pseudo here pseudo command before entering APT get upgrade. 46 00:04:27,170 --> 00:04:35,000 So this command will upgrade every package in your system that apt norms meaning only do stored in a 47 00:04:35,000 --> 00:04:36,510 repository here. 48 00:04:36,530 --> 00:04:42,200 Upgrading can be time consuming, so you might not be able to use your system for a while. 49 00:04:43,340 --> 00:04:45,410 As you can see, I just need. 50 00:04:46,720 --> 00:04:47,320 Uh. 51 00:04:49,670 --> 00:04:53,180 Ten megabyte of something downloading here. 52 00:04:53,660 --> 00:04:56,120 So let's continue here. 53 00:05:04,500 --> 00:05:14,580 So if your system is old, so I mean, uh, if you don't know that the um old version of Linux and uh, 54 00:05:14,580 --> 00:05:23,010 you might have uh and very good, uh, sort of ish applications to update here, but in my case, it's 55 00:05:23,340 --> 00:05:23,760 uh. 56 00:05:26,470 --> 00:05:36,220 Good do so for now, I will close here, so for closing, just press controlled plus the shortcuts or 57 00:05:36,220 --> 00:05:44,800 see sort of shortcuts in one time so we can add the repositories to source that list file. 58 00:05:45,970 --> 00:05:53,720 So the servers that hold the software for particular distribution of Linux are known as very poor seed 59 00:05:53,720 --> 00:05:56,190 Tor for use here. 60 00:05:56,860 --> 00:06:03,970 So nearly every distribution has its own repositories of software developed and configured for that 61 00:06:03,970 --> 00:06:04,930 distribution. 62 00:06:05,110 --> 00:06:11,590 So that might not work well or at all with other distributions altered, and these researchers often 63 00:06:11,590 --> 00:06:14,970 contain the same or similar software. 64 00:06:14,980 --> 00:06:20,890 They are identical, and they sometimes have different versions of the same software or entirely different 65 00:06:20,890 --> 00:06:21,430 software. 66 00:06:21,970 --> 00:06:26,980 You will, of course, be using the Colina repository, which has a large amount of security and hacking 67 00:06:26,980 --> 00:06:27,580 software. 68 00:06:27,910 --> 00:06:35,320 But because they specialize in schools and hacking, it doesn't include some special software and tools 69 00:06:35,320 --> 00:06:38,530 and even some run of the mill software. 70 00:06:38,890 --> 00:06:47,950 It's worth adding a backup ripper story or tool that your system can kind of research fraud in case 71 00:06:47,950 --> 00:06:52,330 it doesn't find its specific software in the repository. 72 00:06:53,230 --> 00:07:00,490 So the repositories your system will search for software are stored in the sources that list file, 73 00:07:01,300 --> 00:07:07,210 and you can alter this file to to define from whichever source you want to download software. 74 00:07:08,670 --> 00:07:16,830 Uh, so, yeah, I often want repositories after the Kali repositories in my sources that at least file 75 00:07:17,220 --> 00:07:21,120 that way, then I request to download the new software package. 76 00:07:21,480 --> 00:07:27,840 My system will first look in the color of history, and if the software package isn't there, it will 77 00:07:27,840 --> 00:07:30,210 look in the Ubuntu repository. 78 00:07:30,570 --> 00:07:40,860 You can find the sources that this file in, uh, eighty eighty eight sources. 79 00:07:40,870 --> 00:07:48,840 The list here, as you can see here, I have some additional software. 80 00:07:48,900 --> 00:07:49,350 See it. 81 00:07:53,580 --> 00:07:57,390 And let's open it up with Moshpit. 82 00:08:03,440 --> 00:08:08,090 So mouse pads, I'm sorry, uh, mouse pad. 83 00:08:08,470 --> 00:08:13,430 It is a police source that list. 84 00:08:14,910 --> 00:08:20,190 As you can see here, we have so text while here and then to. 85 00:08:22,410 --> 00:08:27,240 So after entering this command, you shall see in this window, um. 86 00:08:28,360 --> 00:08:32,950 Many Linux distributions divide repositories into separate categories. 87 00:08:33,370 --> 00:08:41,590 For instance, you want to break up breaks out, it's sort of categories like Main Universe, Multiverse, 88 00:08:41,590 --> 00:08:43,390 restricted break points, you. 89 00:08:44,810 --> 00:08:51,030 So I don't recommend using testing experimental or unstable repositories on your sources. 90 00:08:51,050 --> 00:08:52,040 Not this file. 91 00:08:52,610 --> 00:08:59,150 So because they can download problematic software to your system, the software that isn't fully tested 92 00:08:59,150 --> 00:09:01,010 might break your system as well. 93 00:09:01,460 --> 00:09:06,410 So I will open this file shouldn't because it's read only on this system file. 94 00:09:06,420 --> 00:09:11,060 So I supposed to open this file with sudo command here. 95 00:09:13,580 --> 00:09:13,970 So. 96 00:09:15,680 --> 00:09:25,220 When you ask the Donald and you sort of package the system logs sequential at, you're a store is listed 97 00:09:25,220 --> 00:09:29,870 in sauces that list and stops when it finds the desired package. 98 00:09:30,380 --> 00:09:34,190 Check first that the repository is compatible for your system. 99 00:09:34,550 --> 00:09:38,630 Uh, Colleen, like is Wilton, uh, Debian. 100 00:09:38,900 --> 00:09:45,350 So these repositories works pretty well with each of these systems to other repository. 101 00:09:45,350 --> 00:09:52,520 Just edit sources that at least file by adding the name of the repository or to the list and then save 102 00:09:52,520 --> 00:09:53,030 the file. 103 00:09:53,510 --> 00:09:58,040 So say, for example, you want to install Oracle Java eight on column. 104 00:09:58,070 --> 00:09:59,540 No effort to package for Oracle. 105 00:09:59,540 --> 00:10:05,930 Java eight is available as part of the default color sources, but the Quick Search online shows that 106 00:10:05,930 --> 00:10:10,610 the fine folks at Webb will p the aid have created one. 107 00:10:11,240 --> 00:10:17,270 If you are the repository to those sources, you can then install Oracle Java eight with the APT Get 108 00:10:17,630 --> 00:10:20,120 Install Oracle Java eight Installer Command. 109 00:10:20,510 --> 00:10:27,380 At the time of this course, you will need to add the following repositories here for example. 110 00:10:28,070 --> 00:10:28,670 Um? 111 00:10:31,090 --> 00:10:36,070 They're here, much of it here. 112 00:10:38,550 --> 00:10:39,830 How steep? 113 00:10:40,890 --> 00:10:41,760 EPA. 114 00:10:43,410 --> 00:10:51,540 Uh, PPA, EPA, dot, launch pad, launch pad. 115 00:10:52,170 --> 00:10:52,710 Net. 116 00:10:54,260 --> 00:11:05,990 And they were all paid the team Java and one tool for us to main. 117 00:11:06,410 --> 00:11:10,220 And the second request that we built is saucier. 118 00:11:10,760 --> 00:11:11,870 Let's see. 119 00:11:13,640 --> 00:11:14,640 Uh, excellent. 120 00:11:15,020 --> 00:11:17,180 Excellent teaching to appear. 121 00:11:18,090 --> 00:11:20,080 A launch pad. 122 00:11:22,190 --> 00:11:28,940 And that meant that, uh, we all paid the eighteen. 123 00:11:30,030 --> 00:11:30,600 Java. 124 00:11:32,860 --> 00:11:36,340 We're going to criticize. 125 00:11:38,340 --> 00:11:39,030 And me. 126 00:11:39,930 --> 00:11:44,850 But let's save this file here and then. 127 00:11:45,180 --> 00:11:48,990 So the AP team, get off date here. 128 00:11:50,760 --> 00:11:52,530 As you can see here, we're updating. 129 00:11:52,860 --> 00:11:55,470 And now we can you install this file here? 130 00:11:55,920 --> 00:12:00,360 So sudo apt get install Java. 131 00:12:01,750 --> 00:12:06,490 Here, as you can see here, we can install Java packages here. 132 00:12:08,410 --> 00:12:13,990 So we have a quick, graphical user interface based installer here as well. 133 00:12:14,380 --> 00:12:21,790 So new versions of it no longer include a graphical user interface based software installation tool, 134 00:12:21,790 --> 00:12:26,440 but you can always install of one of them with a pretty good command. 135 00:12:26,860 --> 00:12:34,090 So these are the two most common graphical user interface based installation tools are synaptic and 136 00:12:34,090 --> 00:12:34,870 GDP. 137 00:12:35,230 --> 00:12:41,830 So let's install synaptic and, you know, use it to install our support package, so apply to sudo 138 00:12:42,400 --> 00:12:45,910 apt get install synaptic. 139 00:12:47,140 --> 00:12:48,490 And yes. 140 00:12:50,370 --> 00:12:52,800 Uh, and this is stunning now. 141 00:13:00,210 --> 00:13:04,590 Once it's nothing installed, you can start it from settings here. 142 00:13:05,610 --> 00:13:06,300 Umm hmm. 143 00:13:07,990 --> 00:13:14,740 Sitting synaptic package manager as well, you can start it here as well, but you just you can start 144 00:13:14,740 --> 00:13:26,250 it soon for lesson, click here, which is what I will start with the settings option here. 145 00:13:26,260 --> 00:13:32,230 Synaptic Package Manager and uh, paste your password here as you can see it there. 146 00:13:32,260 --> 00:13:34,120 So we open it. 147 00:13:35,970 --> 00:13:37,470 And our synaptic package file. 148 00:13:38,070 --> 00:13:45,960 So now you can search the search for the package you are looking for seem to click on the Search tab. 149 00:13:46,410 --> 00:13:47,490 Uh, here. 150 00:13:49,190 --> 00:13:56,090 And you will find your applications here.