您的位置:首页 > 其它

Ubuntu 下如何查看已安装的软件

2017-10-28 11:21 169 查看
1.查看安装的所有软件

dpkg -l     

例如:dpkg -l | grep ftp

[plain]
view plain
copy

<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

[plain]
view plain
copy

<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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: