User Tools

Site Tools


remove_package

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
remove_package [2015/06/05 15:12]
pavroo
remove_package [2019/12/06 23:23]
8bit
Line 3: Line 3:
 Removing installed packages can be done via one of the two tools: **apt-get** or **dpkg**. Removing installed packages can be done via one of the two tools: **apt-get** or **dpkg**.
  
-Every command has to be run with root privileges ​**su** or **sudo**. ​+Every command has to be run with super user privileges **sudo**. ​
  
-1. To remove an already installed package (packages), run:+**1**. To remove an already installed package (packages), run:
  
-   ​apt-get remove package1 package2+   sudo apt-get remove package1 package2
  
-2. To remove a package with its configuration:​+**2**. To remove a package with its configuration:​
  
-   ​apt-get purge package1+   sudo apt-get purge package1
  
-3. To remove not needed dependencies,​ after removing a package:+**3**. To remove not needed dependencies,​ after removing a package:
  
-   ​apt-get autoremove+   sudo apt-get autoremove
  
-4. A package can be removed from the system via **dpkg** tool as well:+**4**. A package can be removed from the system via **dpkg** tool as well:
  
-   dpkg -r package1.deb+   sudo dpkg -r package1.deb
  
 ---- ----
  
-<WRAP center box 53%>+<WRAP center box 56%>
 [[install_package|<​--- Install new packages]]|[[fix_package|Fix broken packages --->]] [[install_package|<​--- Install new packages]]|[[fix_package|Fix broken packages --->]]
 </​WRAP>​ </​WRAP>​
remove_package.txt ยท Last modified: 2019/12/12 11:08 by 8bit