Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Keeping Your System Updated | Fundamental Skills
Linux Basics

bookKeeping Your System Updated

Updating programs in Linux is simpler and more convenient than in Windows or macOS. You don't need to uninstall and reinstall anything, package managers handle updates automatically.

Software is stored in repositories, centralized collections of packages. When developers release new versions, they update the repository, allowing you to upgrade programs with just a few commands.

The sudo apt update command is used to refresh the list of available packages. After that, you can use the sudo apt upgrade <package_name> command to update a specific program. This process allows users to quickly and efficiently receive program updates, ensuring the security and stability of the system.

<package_name>: This is a command-line argument that specifies the name or part of the name of the program you want to update.

Compared to Windows or macOS, where updating programs often requires large downloads and system restarts, the update process in Linux is much less intrusive and more efficient. As a result, Linux users can enjoy up-to-date versions of programs without spending a lot of time and effort on it.

If you don't know the name of the required package, you can use the command dpkg -l | grep <pattern> to find the package among those already installed.

question mark

Which command updates the list of available packages in a Linux system before you upgrade specific programs?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 5

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 6.25

bookKeeping Your System Updated

Swipe to show menu

Updating programs in Linux is simpler and more convenient than in Windows or macOS. You don't need to uninstall and reinstall anything, package managers handle updates automatically.

Software is stored in repositories, centralized collections of packages. When developers release new versions, they update the repository, allowing you to upgrade programs with just a few commands.

The sudo apt update command is used to refresh the list of available packages. After that, you can use the sudo apt upgrade <package_name> command to update a specific program. This process allows users to quickly and efficiently receive program updates, ensuring the security and stability of the system.

<package_name>: This is a command-line argument that specifies the name or part of the name of the program you want to update.

Compared to Windows or macOS, where updating programs often requires large downloads and system restarts, the update process in Linux is much less intrusive and more efficient. As a result, Linux users can enjoy up-to-date versions of programs without spending a lot of time and effort on it.

If you don't know the name of the required package, you can use the command dpkg -l | grep <pattern> to find the package among those already installed.

question mark

Which command updates the list of available packages in a Linux system before you upgrade specific programs?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 5
some-alt