I was wondering how to get the information about a package in the terminal, before installation with apt install
so that I can decide whether to install it, based on the description.
Thanks!
I was wondering how to get the information about a package in the terminal, before installation with apt install
so that I can decide whether to install it, based on the description.
Thanks!
Use
to see the description and some other information about package after its installed
to see what files the package contains.
For similar tasks, the package management system ATP (the Advanced Package Tool) provide several solutions (https://en.wikipedia.org/wiki/Advanced_Packaging_Tool).
apt-cache showpkg package_name
Description taken from here https://linux.die.net/man/8/apt-cache
apt-cache show package_name
apt-cache policy package_name
apt-cache madison package_name
apt-cache showsrc package_name
apt-cache depends package_name
Testing environment
Based on https://linux.die.net/man/8/apt-cache and http://manpages.ubuntu.com/manpages/zesty/man8/apt-cache.8.html
For those just looking for a basic summary of the package :