Home ubuntu Clear the apt-get cache

Clear the apt-get cache




How to properly remove the uploaded apt-get package archives? I looked in the folder

/ var / cache / apt / archives

Answer 1, authority 100%

Use apt-get with the clean command to clear the local package cache:

sudo apt-get clean

Answer 2, authority 8%

During APT installation, package files are cached in the / var / cache / apt / archives directory and can be removed.

# apt-get autoclean # removes only unused package files
 # apt-get clean # removes all files from cache

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions