Ubuntu: Deb
RedHat: Rpm
DPKG
tangym@ubuntu:/etc$ dpkg -l | grep openssh --Filter file name with :openssh
ii openssh-client 1:5.9p1-5ubuntu1 secure shell (SSH) client, for secure access to remote machines
tangym@ubuntu:/etc$
Install:
sudo dpkg -i openssh
Unstall:
1) sudo dpkg -r openssh
2) dpkg --remove openssh
[3] Software Package(Install,Uninstall)
原文地址:http://yuanzhitang.blog.51cto.com/2769219/1783049