Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Updating Programs | Fundamental Skills
Linux Basics
course content

Course Content

Linux Basics

Linux Basics

1. About Linux
2. Virtual Machine
3. Fundamental Skills
4. Users, Roles and The Permissions

book
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.

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 5
We're sorry to hear that something went wrong. What happened?
some-alt