Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
minimizing harddisk space for Gentoo install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TWolf
n00b
n00b


Joined: 12 Jul 2002
Posts: 45
Location: Netherlands

PostPosted: Tue Sep 03, 2002 9:34 am    Post subject: minimizing harddisk space for Gentoo install Reply with quote

Hi,

I have installed Gentoo on a system with limited harddisk space. Gentoo is used merely for a internetsharing and as aFTP server with the occasional KDE usage.

How can I limit the use of the harddisk space required?
Are there packages I can safely remove, like the audio of KDE or themes and the like?

Can someone redirect me to some info about this?

Thanks in advance.
_________________
Dutch Anime & Manga @ www.AniWay.nl
Back to top
View user's profile Send private message
kirill
Apprentice
Apprentice


Joined: 01 Aug 2002
Posts: 183
Location: Finland

PostPosted: Tue Sep 03, 2002 10:51 am    Post subject: Reply with quote

Gentoo base install really *minimal*. You can't delete that many proggies from there, well maby raidtools, reiserfstools, depends on if you use them.

You may want to search the forums on tips how to keep the disk space usage low. Start here.
_________________
--kirill
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Tue Sep 03, 2002 1:23 pm    Post subject: Reply with quote

A couple things you can do - use -Os in your CFLAGS to optimize executables for size (note that this isn't a big performance hit, the resultant executables are almost as fast as those optimized with -O2 or -O3, and MUCH faster than -O0 or -O1). Also, you can periodically delete everything in /usr/portage/distfiles as well as blow out any leftover stuff in /var/tmp/portage.

A thread also recently popped up about executable compression which can save quite a bit of space. I'm guessing that program would perform somewhat better (sizewise) with something like -O3 rather than -Os because it would create more redundant code which it could take advantage of (similar to how bzip2ing a gif file won't get as small a file as using bzip2 on the uncompressed image). I think I'm going to start playing with it myself at home even though I have plenty of space, because it looks like it improves performance.

As for uneccesary packages - when you emerge kde, just do "emerge kde-base/kdebase" and that will install the base set of KDE packages and dependancies instead of EVERYTHING. Then you can emerge additional portions if you need them (I use kdemultimedia, for example, but I never use kdeedu). Also, KDE is pretty bloated, so if you're REALLY cramped for space, you may want to try a more minimalistic WM like fluxbox.

edit: Also, try adjusting your USE variables. Look at /etc/make.profile/make.defaults. If you see things in there that you don't want to compile in support for, add a "minus" version to your /etc/make.conf. I.e. if you don't want to compile in support for quicktime, change your USE in your make.conf to include "-quicktime". That can save you some space.
_________________
"An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer
Back to top
View user's profile Send private message
TWolf
n00b
n00b


Joined: 12 Jul 2002
Posts: 45
Location: Netherlands

PostPosted: Tue Sep 03, 2002 3:21 pm    Post subject: Thanks Reply with quote

OK, thank you both. I will certainly try to figure it out!
_________________
Dutch Anime & Manga @ www.AniWay.nl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum