From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Manage software with package manager

Manage software with package manager

- [Instructor] In this lesson, we'll learn how to install and manage software on Ubuntu. Now Linux makes it easy to install, remove, and upgrade software using a package management system. Let's explore how these systems work on Ubuntu through some practical examples. To manage software on Ubuntu, we use the apt command. Apt stands for advanced package tool. Now, before installing or upgrading anything, we run sudo apt update and this refreshes the local database of available packages. This information is downloaded from repositories, which are servers that store package information and the packages themselves. So why is this needed? The package management system maintains a database of software packages that it knows about. So this information becomes outdated. For example, if we last ran the apt update command one week ago, we only have information about the packages that were available one week ago. So with this command, we can update or refresh the information on our machine. The…

Contents