[How To]: Delete Obsolete Packages, useless packages Using Command Line


After installing many applications, adding extra repositories you might need to remove useless packages and repositories, this will help you to save some space form system directory and keep your system performing better.

Sometimes when you update any applications to newer version you might leave extra unneeded packages and dependencies files you won’t need any more.

Note: This instructions for Debian distributions based That required apt packages.

so there are two commands will use for this operation:

sudo apt-get clean

This will clean all files located on these directories ” /var/cash/apt/archive/ ” , ” /var/cash/apt/archive/partial/ ” except locked files.

sudo apt-get autoclean

This command doing same operation for the clean command but also deletes all .deb packages located on the directories mentioned up there and useless package that no longer be used.

that’s quite good way to keep your system clean, do it from time to time.

About the author

wrote 410 articles on this blog.

Mohamed Hussein "mhnassif" is the founder of LinuxNov project.

Related posts:

  1. [How To]: Remove Yum Cashed Packages | Files
  2. Command Line | System Informations
  3. [How To]: Limit Download Speed For Apt Command Using Terminal
  4. Command Line | Change The Owner Of Files And Folders | chown
  5. [How To]: Add Multiple Files Using Touch Command Line
  6. Command Line | du Disk Usage Commands | Tips
  7. How to Install/Uninstall RPM Packages and source packages
  8. System Monitor/Kill Current processes Using ps Command Line #CLI

1 Comment Leave yours

1 Trackbacks

Leave a Reply





Search

Loading
share

Enter your email address to receive LinuxNov updates

Join me on the New Digg

Cinnamon 1.2 Released | What’s New | Installation Instructions

Cinnamon-1-2-Classic-Layout

Android Ice Cream Sandwich Theme For Gnome Shell

Android-ice_cream-Gnome-shell-theme_by_tmari0-d4le1zc

10 Advanced Plugins | Features To gedit Text Editor

toggle-bookmark-gedit