LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-11-2008, 01:42 PM   #1
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Rep: Reputation: 30
on the nature of updates


i recently installed opensuse 11 on my notebook and for the first time everything seems to work exactly as it should (had 9.1, 9.3, 10.1 before; have not started with the multimedia-installations yet). since i had so much trouble with linux - conversion was always an issue, i do a lot of work on photos and i couldn't install software in 10.1 for the last year or so - i decided to change the power balance to a large windows-partition and a smaller linux-partition. but it turned out that opensuse 11 expands a lot, i have only 1.3gb left. is this due to updates? i thought an update would replace stuff, not necessary expand a system. where do i start deleting unnecessary files?

best regards
ungua
 
Old 10-11-2008, 02:43 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Instead of deleting files, first uninstall unneeded packages using YaST2. You may have both KDE4 and KDE3.5 installed.

You could examine how much space is taken up by directories with:
sudo du -hs * 2>/dev/null | grep '^[[:digit:]]*M'

The grep filter will just show directories containing over 10M.

You can safely delete anything in /tmp before shutting down. You can configure SuSE to do that every time you shutdown. (YaST2 -> /etc/sysconfig editor) or "kdesu yast2 sysconfig".

If you have kerry beagle installed, it may have around 100M of cache in /var/cache/beagle/. I think you can delete the contents.

Also look at logs in /var/log/. The ones ending in *.gz are backups and can be deleted. If you run mysql, look in /var/lib/mysql/. There may be archived logfiles there as well.

There may be old system file backups as well if your system is configured to backup /etc/sysconfig/.

You may be able to delete 100M-1G from /usr/share/doc/.
 
Old 10-11-2008, 04:01 PM   #3
ungua
Member
 
Registered: Oct 2004
Location: bergen, norway
Distribution: OpenSuSe (SuSe 10.1), Win XP Pro
Posts: 539

Original Poster
Rep: Reputation: 30
thank you for your extensive answer!

in /etc/sysconfig i only find "cron" with tmp-time already set to 0. i guess this means everything is deleted on shutdown or startup?

did i misunderstand something with the filesizes-command? (screenshot)

kde4 is deleted.

best regards!
ungua
 
Old 10-12-2008, 07:52 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You could use [0-9]* instead of [[:digit:]]*. You don't need the grep pipe. I just used it to filter out smaller numbers.
 
  


Reply



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
LXer: Mom Nature Wins Again LXer Syndicated Linux News 0 08-08-2008 10:10 PM
Something of the general nature - Ramdisk akvino Linux - Enterprise 2 06-28-2008 07:08 AM
LXer: The Contradictory Nature of OOXML LXer Syndicated Linux News 0 01-18-2007 07:54 PM
Nature Of War HadesThunder General 17 05-18-2004 03:09 PM
Bugs in Mandrake 9.2 or the nature of the best? Sociologo Mandriva 19 11-25-2003 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:09 PM.

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