Pages

Install and Unisntall Program Package in Ubuntu

There are some methods to install program in Ubuntu. The easiest way is using Ubuntu Software Center or Synaptic. Another way is using terminal. You can use dpkg, apt-get, or aptitude.

dpkg is used if you have .deb file. To install package use this command.
$ sudo dpkg -i package_name.deb
To uninstall package use this command.
$ sudo dpkg -r package_name
Another simpler method then dpkg is using apt-get or aptitude. You just need to connect with package repository server through internet or LAN. Then you can install package use this command.
$ sudo apt-get install package_name
To uninstall or remove a package use this command.
$ sudo apt-get remove package_name
But above command will leave data and configuration file of the package. To remove data and configuration file use this command.
$ sudo apt-get purge package_name
By using above command will remove data and configuration file but not for dependencies which was installed when main package was being installed. To remove unnecessary dependencies you can use this command.
$ sudo apt-get autoremove
Before you can install a package using apt-get you should configure package repository location. See this post to know how to configure package repository location.

7 comments:

  1. NRT offers the top volume of technical services in each and every phase of building. We've the skill-sets, knowledge and experience to supply excellent craftsmanship.

    ReplyDelete
  2. When we talk about prepaid electricity, what we will be looking at is the regime where electricity users pay in advance for their electricity usage. click here

    ReplyDelete
  3. There should be room for negotiation without lowering the quality of the work. Be careful with too low quotation since this may translate to low-quality products and workmanship. Emergency electrician

    ReplyDelete
  4. Precision Turned Parts Manufacturer

    Find the best Precision Turned Parts manufacturers, suppliers exporters, Sanjay precision is one of the best manufacturers in turned parts, CNC Machine parts and other machine components with professional engineers and available at the affordable price.

    ReplyDelete
  5. At the point when finished shamefully, electrical upgrades can turn out badly, thusly costing you substantially more than it would have cost to have it done well the first run through. electrician medford lakes nj

    ReplyDelete
  6. Our lives run on electricity. Look around your home and see just how many things you have that run on electricity. electricians in mount laurel nj

    ReplyDelete