This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
remove_package [2019/08/14 20:50] – pavroo | remove_package [2021/05/04 13:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
Every command has to be run with super user privileges **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: |
sudo 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: |
sudo apt-get purge package1 | sudo apt-get purge package1 | ||
- | 3. To remove not needed dependencies, | + | **3**. To remove not needed dependencies, |
sudo 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: |
sudo dpkg -r package1.deb | sudo dpkg -r package1.deb | ||
Line 23: | Line 23: | ||
---- | ---- | ||
- | <WRAP center box 58%> | + | <WRAP center box 75%> |
- | [[install_package|< | + | |[[install_package|< |
</ | </ |