LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2016, 10:59 AM   #16
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,573

Rep: Reputation: 210Reputation: 210Reputation: 210

In whatever browser you use (like Firefox or Chromium or Chrome or whatever) make sure to clear the cache. In Firefox, it's found at History/Clear Recent History... <-- this gives the option to clear all your history (you may wish to preserve cookies and logins, but the cache should be cleared.)

Also, run the following commands in your terminal/console:

Code:
sudo apt autoclean && sudo apt autoremove
Note, if these commands do not work, then try what's below. The commands above are the newer updated commands in Ubuntu, though maybe Mint still uses the older "apt-get" command. If so, try what's below:

Code:
sudo apt-get autoclean && sudo apt-get autoremove
This should free up some space. Some of the other suggestions made before by those with more knowledge than I are likely also helpful. Good luck.

Last edited by mark_alfred; 10-17-2016 at 01:33 PM. Reason: correct a typo
 
Old 10-17-2016, 11:29 AM   #17
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
It's worth running the autoclean command every month or two or after you've performed a major update to your system.
 
Old 10-17-2016, 10:30 PM   #18
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
I tend to take a more manual method.

# dpkg -l | grep -v ^ii

# dpkg --purge --force-all <the packages no longer fully installed>

Until the list is short or gone, then:

# deborphan

Then remove the things not a kernel or bootloader. And of course:

# rm -rf /var/cache/apt/archives/*.*deb

But I'm normally on debian stable which doesn't have many updates beyond security updates. So not something that I do, except at the end of a fresh install, or every six or more months of running a distro. Although I tend towards quarterly fresh installs these days. In a post Snowden world. Plus a lot of times a fresh install is lower bandwidth than an update.
 
  


Reply

Tags
linux mint


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No-Windows + not enough drive space. How could I Format the disk ? gramos Linux - Newbie 8 05-16-2016 06:56 PM
Nagios: Free disk space : Invalid drive TalkingMarble Linux - Software 4 08-15-2012 02:33 PM
real size of the drive. Actual disk space used. lgtrean Linux - General 9 10-08-2010 06:11 PM
Disk space usage increased after move to other drive. stefaandk Linux - General 4 06-20-2006 01:59 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration