Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

/usr quite big - what do I need?

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
f.kater
Guru
Guru
Posts: 342
Joined: Thu May 23, 2002 1:26 pm
Location: Berlin

/usr quite big - what do I need?

  • Quote

Post by f.kater » Sun Jun 02, 2002 7:36 pm

Hi y'all,

can I some how make my /usr smaller? I mean, is it normal to have 1.3 GB only in /usr on a gentoo-system with kde3.0.1 (only kadebase! no extra kde applications), mozilla and openoffice? (I remember my ms-windows life using not more than 500 MB for all this inclusive the system itself...)

/usr/portage -> 310 MB
/usr/share -> 297 MB
/usr/lib -> 186 MB
/usr/X11R6 -> 102 MB

Thanks
Felix
Top
tomte
Tux's lil' helper
Tux's lil' helper
Posts: 122
Joined: Wed May 08, 2002 11:10 pm
Contact:
Contact tomte
Website

  • Quote

Post by tomte » Sun Jun 02, 2002 7:42 pm

under windows you didn't had the complete source code, the development headers and a complete compiler collection installed, I assume...

regards,
tom
Top
474
l33t
l33t
Posts: 714
Joined: Fri Apr 19, 2002 2:55 pm

Some ideas ...

  • Quote

Post by 474 » Sun Jun 02, 2002 7:53 pm

Here are some folders for which it is generally safe to clean:

/usr/portage/distfiles
Contains source tarballs and patches which are downloaded by Portage for all builds. It is safe to delete them, but should you recompile anything they will need to be downloaded again. Good candidates for burning to CD if you have a burner.

/var/tmp/portage
Temporary working files used during compilation process invoked by Portage.

/usr/share/doc
Generally speaking, documentation is optional and could be backed up and removed.

You can try running emerge clean to remove stale files belonging to out-of-date builds. Be advised also that CPU-optimised compiling (one of Gentoo's chief attractions) will often generate *larger* binaries. Speed in code is often gained at the expense of memory. In other words, the greater the optimisations used in make.conf, the greater in size every single binary on your system may be!

You may also consider using a different filesystem. If you are not using ReiserFS you might consider it because it is more efficient than most at packing large numbers of relatively small files, thus avoiding disk "slack".
Top
MaRTiaN
Tux's lil' helper
Tux's lil' helper
Posts: 85
Joined: Mon Apr 22, 2002 1:07 pm
Location: London

  • Quote

Post by MaRTiaN » Sun Jun 02, 2002 8:02 pm

/usr/share/doc
Generally speaking, documentation is optional and could be backed up and removed.
I never use man pages, my internet connection is too quick, anyway I can just tell gentoo not to install man pages?
Some people are alive only because it's illegal to kill them.
Top
f.kater
Guru
Guru
Posts: 342
Joined: Thu May 23, 2002 1:26 pm
Location: Berlin

  • Quote

Post by f.kater » Sun Jun 02, 2002 8:19 pm

tomte wrote:under windows you didn't had the complete source code, the development headers and a complete compiler collection installed, I assume...
True - and I like it to compile the code everytime I need it, but I don't need the src present on my harddisk when the bins are ready, do I?
'bye
Felix
Top
tomte
Tux's lil' helper
Tux's lil' helper
Posts: 122
Joined: Wed May 08, 2002 11:10 pm
Contact:
Contact tomte
Website

  • Quote

Post by tomte » Sun Jun 02, 2002 9:38 pm

f.kater wrote:
tomte wrote:under windows you didn't had the complete source code, the development headers and a complete compiler collection installed, I assume...
True - and I like it to compile the code everytime I need it, but I don't need the src present on my harddisk when the bins are ready, do I?
'bye
Felix
The archives, certainly not, but they come in handy if you want to recompile a package; how big your bandwidth might be, the server bandwidth is limited and shared by many downloading users, and recompiling without downloading is faster anyway; so if you aren't short of hd space, there's one big reason to keep the source-archives, and the smaller reason of speed ;-) and no reason against it.

regards,
tom
Top
lx
Veteran
Veteran
User avatar
Posts: 1012
Joined: Tue May 28, 2002 8:19 am
Location: Netherlands

  • Quote

Post by lx » Sun Jun 02, 2002 10:21 pm

. :idea: You could use the mount bind option in /etc/fstab to link the /usr/portage/distfiles to another partition which has more space, a normal link could also be enough.

I'm a master at stating the obvious, cya lX
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Top
B

Using LVM

  • Quote

Post by B » Fri Jun 21, 2002 3:31 pm

The other option is to do what I did and do a full LVM
Check out this:

install.http://forums.gentoo.org/viewtopic.php?t=1897
Top
Post Reply

8 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy