Sunday, 26 April 2015

How To Install and Uninstall "deb" Package in Ubuntu


1)
Using "apt-get" command

a) Install git package using apt-get:

     $ sudo apt-get install git


  • If we install a package using apt-get, it first download the package into /var/cache/apt/archives directory, after that it will install that package into your system.
  • So, you can copy the deb package from  /var/cache/apt/archives


b) Uninstall git package using apt-get

    $ sudo apt-get remove git