1 00:00:00,540 --> 00:00:02,550 In the old days of Linux. 2 00:00:02,550 --> 00:00:05,490 Installing software could be a painful experience. 3 00:00:05,520 --> 00:00:11,910 Fortunately, the Linux developers have made life a little easier for us by bundling software into pre-built 4 00:00:11,910 --> 00:00:14,370 packages that are much easier to install. 5 00:00:14,400 --> 00:00:19,620 However, you still have a little work to do to get the software packages installed, especially if 6 00:00:19,620 --> 00:00:21,900 you want to do from the command line. 7 00:00:21,900 --> 00:00:27,810 And in this section of our course we will look at the various package management systems available in 8 00:00:27,810 --> 00:00:34,470 Linux and the command line tools for use for software installation management and removal. 9 00:00:34,530 --> 00:00:39,570 And here I made a little meme for that installing actually it's not that hard to install web browser, 10 00:00:39,990 --> 00:00:41,640 but anyways, so. 11 00:00:42,810 --> 00:00:44,580 A package management primer. 12 00:00:47,810 --> 00:00:48,170 Here. 13 00:00:48,170 --> 00:00:51,230 Actually, we should open that with the Firefox. 14 00:00:53,850 --> 00:00:54,330 Here. 15 00:00:54,330 --> 00:00:59,220 So before diving the world of the Linux software package management. 16 00:01:00,520 --> 00:01:04,780 In this lecture, we will go through the five of the basics first. 17 00:01:04,780 --> 00:01:11,200 So each of the major each of the major Linux distributions utilizes some of some form of package management 18 00:01:11,200 --> 00:01:12,250 system PMS. 19 00:01:12,280 --> 00:01:15,670 So to control installing software applications and libraries. 20 00:01:15,670 --> 00:01:20,800 So a PMS utilizes a database that keeps track of these items. 21 00:01:20,950 --> 00:01:23,590 What software packages are installed on a Linux system? 22 00:01:23,590 --> 00:01:29,410 What files have been installed for each package versions of each of the software packages installed 23 00:01:29,410 --> 00:01:38,920 so software packages are stored on servers and these are called repositories and access across the internet 24 00:01:38,920 --> 00:01:39,850 via PMS. 25 00:01:40,150 --> 00:01:46,720 So as I said, PMS means package management systems, utilities running on your local Linux system and 26 00:01:46,720 --> 00:01:52,570 you can use the PMS utilities to search for a new software packages or even update to software packages 27 00:01:52,570 --> 00:01:55,660 already installed on your system. 28 00:01:56,760 --> 00:02:03,240 So a software package often has dependencies or other packages that must be installed first for the 29 00:02:03,240 --> 00:02:04,590 software to run properly. 30 00:02:04,590 --> 00:02:04,980 Right? 31 00:02:04,980 --> 00:02:11,070 So the package management systems utilities detect these dependencies and offer to install any additional 32 00:02:11,070 --> 00:02:15,450 needed software packages before installing the desired package. 33 00:02:16,360 --> 00:02:23,530 And the downside, The downside to PMS is that there isn't a single standard utility, whereas all the 34 00:02:23,530 --> 00:02:30,470 bash shell commands discussed so far in this course work, no matter which Linux distribution you use. 35 00:02:30,490 --> 00:02:33,910 And this is not true with the software package management systems. 36 00:02:33,910 --> 00:02:40,840 So the PMS utilities and their associated commands are vastly different between various Linux distributions 37 00:02:40,840 --> 00:02:52,030 and the two primary PMS based utilities commonly used for use in the Linux world are the dpkg here the 38 00:02:52,270 --> 00:02:54,250 P key? 39 00:02:55,180 --> 00:02:55,630 G. 40 00:02:56,440 --> 00:02:57,310 And. 41 00:02:58,440 --> 00:02:58,950 The. 42 00:03:03,180 --> 00:03:03,780 He. 43 00:03:06,400 --> 00:03:06,760 M. 44 00:03:12,710 --> 00:03:21,560 And and Debian based distributions such as Ubuntu, Linux, Mint, Kali, Linux Parrot operating system 45 00:03:21,560 --> 00:03:22,700 and others. 46 00:03:23,610 --> 00:03:24,500 Uh, there. 47 00:03:25,350 --> 00:03:27,590 At the base of the PMS utilities. 48 00:03:27,600 --> 00:03:34,680 These are the dpkg command for Kali linux and other ubuntu ubuntu like debian like system and this command 49 00:03:34,680 --> 00:03:42,090 interacts directly with the PMS on the Linux system and is used for installing, managing and removing 50 00:03:42,090 --> 00:03:49,680 software packages and the redhat distributions such as fedora opensource mandriva use. 51 00:03:50,620 --> 00:03:58,960 The RPM command at the base of their package management systems, PMS and similar to the dpkg command, 52 00:03:58,960 --> 00:04:05,680 the RPM command can list installed packages, install new packages and remove existing packages. 53 00:04:05,680 --> 00:04:14,380 And I will also mention that these two commands are the core of their respective PMS and not the entire 54 00:04:14,380 --> 00:04:15,460 PMS itself. 55 00:04:15,460 --> 00:04:24,730 So many Linux distributions that use the dpkg or RPM methods have built additional speciality PMS utilities 56 00:04:24,760 --> 00:04:30,640 upon these base commands to help your your help to make your life easier. 57 00:04:30,640 --> 00:04:34,230 So the this here in this lecture you will learn about. 58 00:04:34,240 --> 00:04:38,530 Firstly, we will learn about the Debian based PMS system. 59 00:04:38,530 --> 00:04:43,030 So thats it with our first lecture and I am waiting you in the next lecture.