August 26, 2023

Check whether a package is availabile in the repository of a GNU/Linux’s distribution

In the terminal, run:

$ apt list package

For example:

$ apt list git


$ apt list git
Listing... Done
git/nabia-security,now 1:2.25.1-1ubuntu3.11 amd64 [installed]
git/nabia-security 1:2.25.1-1ubuntu3.11 i386

To lear more about apt, the command-line interface for the package management system, and the option list run

$ man apt

See also:

command-line interface (cli) gnu linux trisquel personal computing wiki shell literacy office applications

No affiliate links, no analytics, no tracking, no cookies. © 2016-2023 Content is licensed under CC BY-NC-SA 4.0 .