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$

安装:

sudo dpkg -i openssh


卸载:

1) sudo dpkg -r openssh  

2) dpkg --remove openssh