Зміст курсу
Linux Basics
Linux Basics
Updating Programs
In the world of Linux operating systems, updating programs has become much simpler and more convenient compared to Windows or macOS. One of the key advantages of this process is that you don't need to uninstall and reinstall a program to get the updated version. Instead, using package management systems, users can easily update programs with minimal effort.
In Linux systems, programs are typically distributed through repositories, centralized collections of software packages. When a new version of a program becomes available, developers update the package in the repository. As a result, users can update programs with just a few simple 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.
The GIF demonstrating how to update programs using the example of updating the Firefox browser.
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.
On this illustration, we found what the browser package Firefox is called.
Task
Update the LibreOffice program.
Дякуємо за ваш відгук!