1.查看安装的所有软件
dpkg -l
例如:dpkg -l | grep ftp
<span style="font-size:18px;">:~$ dpkg -l | grep ftp
ii ftp 0.17-28 i386 classical file transfer client
</span>
2.查看软件安装的路径
dpkg -L | grep ftp
<span style="font-size:18px;">:~$ dpkg -L ftp
/.
/usr
/usr/bin
/usr/bin/netkit-ftp
/usr/share
/usr/share/doc
/usr/share/doc/ftp
/usr/share/doc/ftp/BUGS
/usr/share/doc/ftp/copyright
/usr/share/doc/ftp/README.Debian
/usr/share/doc/ftp/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/netkit-ftp.1.gz
/usr/share/man/man5
/usr/share/man/man5/netrc.5.gz
/usr/bin/pftp
/usr/share/man/man1/pftp.1.gz
</span>
也可以用 whereis ftp
3.查看软件版本
aptitude show
例如:aptitude show ftp
原文链接:https://blog.csdn.net/m1205979825/article/details/40855583