User Tools

Site Tools


clean_packages

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
clean_packages [2018/08/16 23:00] lami07clean_packages [2021/05/04 15:24] (current) – external edit 127.0.0.1
Line 1: Line 1:
-=====  Packages clean up =====+=====  Package clean up =====
  
-After removing, installing new or upgrading packages, there are some (not always) packages not needed any more.+After removing, installing new or upgrading packages, there can be some packages not needed any more.
  
-They can be safely removed from the system. Every command has to be run with root privileges **su** or **sudo**.+They can be safely removed from the system. Every command has to be run with super user privileges **sudo**.
  
 Run: Run:
  
-   apt-get autoremove+   sudo apt-get autoremove
  
 After upgrading packages, the package manager keeps all **deb** packages even if doesn't need them any more. After upgrading packages, the package manager keeps all **deb** packages even if doesn't need them any more.
Line 13: Line 13:
 To remove all old **deb** packages from the system (the latest **deb** versions will be NOT removed), run: To remove all old **deb** packages from the system (the latest **deb** versions will be NOT removed), run:
  
-   apt-get autoclean+   sudo apt-get autoclean
  
 If you would like to remove all the **deb** packages from the system, run: If you would like to remove all the **deb** packages from the system, run:
  
-   apt-get clean+   sudo apt-get clean
  
 ---- ----
  
-<WRAP center box 53%> +<WRAP center box 75%> 
-[[fix_package|<--- Fix broken packages]] | [[start|Wiki start page --->]]+|[[fix_package|<--- Fix broken packages]]   [[start|Wiki Start Page ^]]  |
 </WRAP> </WRAP>
  
clean_packages.1534453228.txt.gz · Last modified: 2021/05/04 15:25 (external edit)