Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
260
rated 0 times [  260] [ 0]  / answers: 1 / hits: 258322  / 1 Year ago, wed, december 7, 2022, 11:23:11

How can I get some details about a package without installing it, (eg. the description and version number) like in Synaptic or Aptitude. The command



dpkg -s PACKAGE


does not work, with this error. It works for installed packages, though



dpkg-query: package 'PACKAGE' is not installed and no information is available

More From » apt

 Answers
6

For packages that are in your repositories you can use:



dpkg --print-avail PACKAGE_NAME


or



apt-cache show PACKAGE_NAME


or



aptitude show PACKAGE_NAME


or



apt show PACKAGE_NAME

[#29616] Friday, December 9, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rryble

Total Points: 489
Total Questions: 121
Total Answers: 119

Location: Marshall Islands
Member since Mon, May 31, 2021
3 Years ago
;