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
For packages that are in your repositories you can use:
or
or
or
The
apt-cache show
command can be used, instead ofdpkg -s
. Like this:(source)
Or for more details
This will show only the description: