Questions related removing temporary, unnecessary, redundant files or libraries; also the questions for cleaning the cache, logs, etc.
Questions tagged [cleanup]
158 questions
764
votes
40 answers
How do I remove old kernel versions to clean up the boot menu?
Every time I install a new Linux kernel, it gets left in the grub_config, making the boot menu longer each time.
I know I can manually search through the installed packages and remove them.
Does Ubuntu provide any easier way to clean them up or…
ImaginaryRobots
- 9,058
- 4
- 34
- 38
268
votes
4 answers
Big /var/log/journal?
I don't understand why the /var/log/journal/ folder is so big.
For example, by executing the command systemctl -f, i see the fill.
If I click on an email on Thunderbird, it generates dozens of lines that I consider useless.
Currently, I have more…
Bristow
- 2,722
- 2
- 7
- 10
146
votes
5 answers
var/cache/apt/archives occupying huge space
I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?
Vivek
- 3,679
- 10
- 26
- 30
110
votes
2 answers
What is the advantage of using sudo apt-get autoremove over a cleaner app?
I'm not sure what sudo apt-get autoremove does, but have read that you should use this command to remove any unnecessary packages.
One of the processes I saw was to use sudo apt-get autoremove and then use something like BleachBit to remove temp…
gman
- 2,206
- 4
- 26
- 39
54
votes
8 answers
What's the good way to clean up the system (and is Bleachbit safe) on Ubuntu 14.04?
I used Ubuntu 14.04 (Trusty Tahr) for about a year (actually upgraded it from Ubuntu 12.04 (Precise Pangolin)), and during the time I installed some packages, and removed some other packages.
Now I think it's probably time to clean up the system as…
artm
- 1,015
- 4
- 11
- 23
49
votes
1 answer
clean, autoclean, and autoremove --- combining them is a good step?
Will it be logical by means of Debian oriented logic to unite the three commands apt-get clean and apt-get autoclean, and apt-get autoremove into one single command that does all of them?
Arcticooling
- 1
- 6
- 22
- 40
45
votes
6 answers
How to clean /var/cache?
When I woke up this morning, I found my root had filled overnight
du -hx --max-depth=1 /
132M /boot
4.0K /media
16K /lost+found
16M /root
702M /lib
4.0K /OLDHOME
8.2G /usr
73M /etc
4.0K /srv
11M /sbin
4.0K …
avmohan
- 563
- 2
- 5
- 8
26
votes
4 answers
Cleaning up my Home Directory
I have the following problem, I've installed a bunch of Ubuntu packages ever since I used Ubuntu, now I've removed these packages using the Synaptic Package Manager but somehow it still left hidden folders in my home directory for the specific…
Elitmiar
- 2,535
- 5
- 19
- 12
26
votes
2 answers
Reset MS Teams completely
I used Microsoft Teams (Linux) few months back with an organizational account. Now I want to use it with some other account. I'm currently in logged out state since I don't have access to the org account. Everytime I open, it takes me to the…
kl_divergence
- 363
- 1
- 3
- 4
20
votes
5 answers
analyse disk space usage of an encrypted home directory
I'm having some problems with a full disk.
According to df -k I'm using 47 gb of data in my home folder and I have no idea where all of that data is hiding. I tried using the disk usage analyser aka baobab but since my home directory is encrypted I…
Akisame
- 3,283
- 6
- 31
- 61
13
votes
3 answers
How to clean caches in my homedir
My home directory is getting huge (100GB plus). When backupping it I notices that there are quite some caches there.
Which important caches are there in my homedir and how should I clean them?
One cache in particular is bothering me, the cache in…
Peter Smit
- 7,467
- 9
- 42
- 48
12
votes
1 answer
Can I delete /var/tmp/mkinitramfs-* files?
I notice that my /var/tmp folder has occupied by 9.3GB space on my Ubuntu 16.04.2. Particularly, there are a bunch of mkinitramfs_* folders taken most of the space in the tmp folder. I looked into them, and they seem to be the temporary files for…
Xiaodong Qi
- 2,562
- 3
- 16
- 21
12
votes
1 answer
Is there a usage count for packages or programs?
Motivation:
I want to remove applications I do not use to speed up my package processing tasks like dist upgrades, regular updates, but also for saving disk space and other reasons. I know this is a complex topic so first I will ask my question and…
math
- 1,428
- 4
- 17
- 35
11
votes
4 answers
Is there any application or command that cleans the memory like CCleaner in Windows?
After the system has been running for 8 hours continuously, it becomes slow. When I faced the same situation on Windows, I used CCleaner to clean memory, which used to give me a little boost.
Is there any application or command that cleans the…
mateen
- 657
- 2
- 7
- 18
11
votes
5 answers
How do I clean up my harddrive?
Not to long ago I was using only 35% of my HD. Just recently it shot up to 54% and my diskspace is 16gb so that's more then 3gigs that have been taken.
From what I remember I failed to build mysql, I installed gitolite which required me to build git…
user4482