How to keep your SolydXK clean?

Questions about software.
User avatar
palimmo
Posts: 824
Joined: 19 Nov 2013 19:44
Contact:

How to keep your SolydXK clean?

Postby palimmo » 07 May 2016 10:58

I'm running SolydK 64bit on this machine since years.
Apparently I have lost some free space on the hard disk during these months.
I usually run these commands below to keep my installation clean. Are they enough (and correct)?
Thanks

Code: Select all

sudo apt-get clean && sudo apt-get autoclean && sudo apt-get autoremove
sudo apt-get remove --purge `deborphan`
sudo apt-get --purge autoremove
sudo rm -fr /tmp/*
sudo dpkg --purge `COLUMNS=300 dpkg -l "*" | egrep "^rc" | cut -d\  -f3`
find ~/.thumbnails -type f -atime +7 -exec rm {} \;
Proud user of SolydK!

Dai diamanti non nasce niente, dal letame nascono i fior. http://aquilone.wordpress.com/

User avatar
Arjen Balfoort
Site Admin
Posts: 9506
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: How to keep your SolydXK clean?

Postby Arjen Balfoort » 07 May 2016 12:23

You can enable Maintenance in the Update Manager's preference window and then start the UM. It will then show a Maintenance button where you find several options to clean up your system. It is recommended to backup your system before you do that.


SolydXK needs you!
Development | Testing | Translations

User avatar
Zill
Posts: 1850
Joined: 13 Aug 2013 14:28
Location: Lincolnshire, UK

Re: How to keep your SolydXK clean?

Postby Zill » 07 May 2016 12:30

From where have you been losing free space? eg. "/" or "/home" or somewhere else?

Code: Select all

df -h
Have you still got exactly the same applications on your machine or have you been adding new programs? New programs will reduce space on both "/" and "/home". Upgrading existing programs may leave old files behind on "/" that may need some manual cleaning up.

Whatever you do, please do not be tempted to use, or even install, Bleachbit - that would only end in tears! :-(

kurotsugi
Posts: 2274
Joined: 09 Jan 2014 00:17

Re: How to keep your SolydXK clean?

Postby kurotsugi » 07 May 2016 16:37

you only need this

Code: Select all

#clean unused apt deb caches
sudo apt-get autoclean
#replace with apt-get clean to to delete all deb caches. usefull for stable debians.

#removing configs of uninstalled stuff. it replaces your dpkg command above
sudo aptitude purge ~c
these command need to be used carefully. i only state them for the sake of information. don't use them unless you know the risk.

Code: Select all

#remove automatically installed packages which no longer needed
sudo apt-get autoremove --purge
#using apt with deborphan is more aggressive than the command above. dangerous.
sudo apt-get purge $( deborphan --guess-all)
#both command need to be executed several times

/temp is automatically cleaned. no need for that command. I never use the find command so I don't know about it.

User avatar
Redraw
Posts: 78
Joined: 19 Jan 2017 11:01
Location: S.E.Q.Australia

Re: How to keep your SolydXK clean?

Postby Redraw » 21 Jan 2017 00:47

So so true never ever use bleachbit It is a wrecking ball swinging through you’re precious machine and you will have no way to recover the damage done , take note of the post above here .

behrami
Posts: 15
Joined: 13 Dec 2016 10:59

Re: How to keep your SolydXK clean?

Postby behrami » 25 Jan 2017 08:12

Redraw wrote:So so true never ever use bleachbit It is a wrecking ball swinging through you’re precious machine and you will have no way to recover the damage done , take note of the post above here .
Haha, I wish I saw this yesterday. Hope it turns out well for me:)


Return to “Software”

Who is online

Users browsing this forum: No registered users and 6 guests