Monday, August 27, 2012

Ubuntu Package Installation

Install
  sudo apt-get install openssh-server
Remove
 sudo apt-get remove openssh-server
apt-get --purge remove

Show installed packages
dpkg --get-selections | grep php
 
Install 
$ sudo dpkg -i package.deb
Remove
$ sudo dpkg -r package
To check installed package
$ sudo dpkg -s package 
List all installed pkg
$ dpkg --get-selections
$ dpkg --get-selections | grep required  

No comments: