Conteúdo do Curso
Linux Basics
Linux Basics
The Ubuntu Repository
In the previous chapter, we installed a program from the official website, but there's an alternative method that allows you to quickly download or update a program from the Ubuntu repository.
The Ubuntu repository is a centralized software storage used for storing, managing, and distributing software packages for the Ubuntu operating system. It's a key component of the package management system, enabling users to easily install, update, and remove programs.
The primary Ubuntu repositories include official, partner, and universe repositories. Official repositories contain software officially supported by Ubuntu, while partner repositories contain software from Canonical partners, the company behind Ubuntu. Universe repositories contain packages that can be installed on any Ubuntu version.
Installing a Program from a Repository
Let's try to find a program in the repository and install it. The video demonstrates how to do this using the example of installing the media player "Clementine". The installation process for other programs will look similar.
The command sudo apt update
is used to update the list of packages from the Ubuntu repositories on your computer. It doesn't install or update the programs themselves; it simply refreshes the information about the availability and versions of packages in the repositories. Using the sudo apt update
command before installing programs helps ensure the accuracy and efficiency of the software installation process on your computer.
The primary use of this command is to quickly find a package containing a specific file or program, or packages related to a specific term. For example, if you're looking for a particular program or file but don't know which package contains it, the sudo apt search
command will help you find it.
<package_name>
: This is a command-line argument that specifies the name or part of the name of the program you want to find.
So, the command sudo apt install <package_name>
allows you to quickly and conveniently install new programs on your Ubuntu system using official package distribution channels.
<package_name>
: This is a command-line argument that specifies the name of the program you want to install. You can specify the name of a program that is located in Ubuntu's official repositories.
Obrigado pelo seu feedback!