From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage software with dpkg and APT

Manage software with dpkg and APT - Linux Tutorial

From the course: LPIC-1 Exam 101 (Version 5.0) Cert Prep

Start my 1-month free trial

Manage software with dpkg and APT

- [Instructor] We have several Debian tools for installing and removing software. In the past, we would have used the apt-get install command to install software from a repository. In this course, we'll be focusing on the new APT tool. Let's install the Apache Web server. In a terminal type in sudo apt install apache2 and hit enter. Type in your password if prompted. This time it prompts us because it's going to install software that we didn't specify, namely dependencies of the Apache2 to package. Say yes. To verify let's do an APT info. Type in clear and then type in sudo apt info apache2 and hit enter. Here we see that it's installed, what it provides and a list of its dependencies. It also gives us a list of other suggested packages, which is nice. Since we just installed this package, there won't be any upgrades to it. However, we can get a list of software to upgrade by using the APT list command again.…

Contents