1. apt list package name
apt list pv
Listing... Done
pv/kali-rolling,now 1.6.0-1 i386 [installed]
apt list htop
apt list vim
2. aptitude versions package name
aptitude versions pv
i 1.6.0-1 kali-rolling 500
aptitude versions htop
aptitude versions vim
3. dpkg -s package name
dpkg -s pv
or
dpkg -s pv |grep -i version
Version: 1.6.0-1
Ref:
debian-ubuntu-linux-apt-get-aptitude-show-package-version-command
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment