How To Find Out The Version Of A Package

Table of contents:

How To Find Out The Version Of A Package
How To Find Out The Version Of A Package

Video: How To Find Out The Version Of A Package

Video: How To Find Out The Version Of A Package
Video: Find Out Which Package Version is Loaded in R (Example Code) | packageVersion Function 2024, May
Anonim

Setting up a workplace in the Linux operating system (of any kind) completely depends on the wishes of the user. Only the user decides which programs to install and what to use. New programs are installed by updating and downloading new packages from the console or graphical interface.

How to find out the version of a package
How to find out the version of a package

Instructions

Step 1

Start the console to work with the installed packages. To find out which RPM distributions are installed on the system, enter the command # rpm -qa. For DEB distributions, the # dpkg -l | more command performs the same function. You can just copy this command and paste it into the console on your personal computer. As practice shows, for faster memorization of commands, you need to enter everything manually, since memory and fingers quickly memorize such combinations.

Step 2

You can display brief information about installed DEB packages using the # apt-cache search [package name] command. The # apt-cache showpkg [package name] command displays complete information about a package, including its version. You will be fully provided with information on packages, release, supported modules, and more.

Step 3

To get a list of package updates from the Internet, enter the # [sudo] apt-get update command in the console. # [Sudo] apt-get upgrade will upgrade the packages available on the Internet. However, it is worth noting that you must have an active internet connection to do this, otherwise you will get an update error.

Step 4

Use the commands # [sudo] apt-get install [package name] for DEB packages and # [sudo] rpm -i [package name] for RPM packages to install the selected packages. To remove installed packages, enter # [sudo] apt-get remove [package name] and # [sudo] rpm -e [package name] respectively.

Step 5

You can get complete information about working with packages in Linux operating systems on the Internet using a search engine. There is a wealth of information available. Check the version of the installed system and enter it in the search engine. There are also special electronic tutorials that describe the principles of each operation in a given operating system.

Recommended: