Please note that many of these questions are answered within the official Gentoo documents and guides. This is simply a list of common questions. Please read the documentation and/or man pages to gain a greater understanding of how Gentoo and GNU/Linux works, and for answers to questions which may not be answered here.
A
Gentoo uses a BSD ports-like system called
With Gentoo you can build your entire system from source, using your choice of
optimizations. You have complete control over what packages are or aren't
installed. Gentoo provides you with numerous choices, so you can install Gentoo
to your own preferences, which is why Gentoo is called a
Gentoo is actively developed. The entire distribution uses a rapid pace development style: patches to the packages are quickly integrated in the mainline tree, documentation is updated on daily basis, Portage features are added frequently, and official releases occur twice per year.
Don't bother using anything higher than
Please try to compile with CFLAGS
You can use
The command
# useradd -m -G users,audio,wheel username
This will add a user named "username". The option
For security reasons, users may only
# gpasswd -a username wheel
Gentoo requires either devfs kernel support or udev userland support to
function correctly. With the advent of the 2.6 kernel being stable on most
archs, udev is recommended. Please see the
In fact, there is no difference between the various releases after they have
been installed. Gentoo 1.4 and later are
You don't need to redo every step of the installation, but investigating the
kernel and all associated steps is necessary. Suppose you have installed Gentoo
on
Boot from the Install CD and wait until you receive a prompt We first mount all partitions: # mount /dev/hda3 /mnt/gentoo # mount /dev/hda1 /mnt/gentoo/boot # swapon /dev/hda2 # mount -t proc none /mnt/gentoo/procThen we chroot into our Gentoo environment and configure the kernel: # chroot /mnt/gentoo /bin/bash # env-update && source /etc/profile # cd /usr/src/linux # make menuconfigNow (de)select anything you have (de)selected wrongly at your previous attempt. Then quit and compile your kernel: # make && make modules_installNow copy over your bzImage file, overwriting your previous one: # cp arch/i386/boot/bzImage /bootIf you use LILO, rerun lilo -- GRUB users should skip this: # /sbin/liloNow exit the chroot and reboot. # exit # umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo # reboot
If, on the other hand, the problem lays with your bootloader configuration, follow the same steps, but instead of configuring/compiling your kernel, you should reconfigure your bootloader (recompilation isn't necessary).
To have Portage automatically use this scheme, define it in
HTTP_PROXY="http://username:password@yourproxybox.org:portnumber" FTP_PROXY="ftp://username:password@yourproxybox.org:portnumber" RSYNC_PROXY="rsync://username:password@yourproxybox.server:portnumber"
You need to burn the file in raw mode. This means that you should
There are lots of CD burning tools available; covering them all would be a Sisyphean problem. However, describing a few popular tools never hurts:
First you need to find our what CPU you use. Suppose it's a Pentium-M. Then you
need to find out what CPU it is, instruction-wise, compatible with. You may
need to consult the CPUs vendor website for this, although
If you are uncertain, take a "lower" CD/stage file, for instance a i686 or even generic x86 (or the equivalent in your arch). This will ensure that your system will work, but may not be as fast as further optimizations.
If you are building from a Stage 1, please note that many more options exist
than those for which Gentoo builds binary stages. Please see the
Packages aren't "stored" per se. Instead, Gentoo provides a set of scripts
which can resolve dependencies, fetch source code, and compile a version of the
package specifically for your needs. We generally only build binaries for
releases and snapshots. The
For full ISO releases, we create a full suite of binary packages in an enhanced
It is possible to create RPMs (Redhat package manager files) using Gentoo's Portage, but it is not currently possible to use already existing RPMs to install packages.
Yes, but it is not trivial, nor is it recommended. Since the method to do this
requires a good understanding of Portage internals and commands, it is instead
recommended that you patch the ebuild to do whatever it is that you want and
place it in the Portage overlay (that's why it exists). This is
See the questions on
If you're behind a firewall that doesn't permit rsync traffic, then you can use
Definitely. You can run
Deleting these files will have no negative impact on day-to-day performance.
However, it might be wise to keep the most recent version of the files; often
several ebuilds will be released for the same version of a specific piece of
software. If you have deleted the archive and you upgrade the software it will
be necessary to download them from the internet again. There are programs which
During compilation, Gentoo saves the sources of the package in
Edit the
# /etc/init.d/keymaps restart
# chmod 0644 /etc/resolv.conf
You need to add that user to the
If you work in command line, you only need to
Each GUI provides different tools for this sort of thing; please check the help section or online manuals for assistance.
To have your terminal cleared, add
$ echo clear >> ~/.bash_logout
If you want this to happen automatically when you add a new
user, do the same for the
# echo clear >> /etc/skel/.bash_logout
This issue seems only to occur when you log on graphically.
export XAUTHORITY="${HOME}/.Xauthority"
If your ReiserFS partition is corrupt, try booting the Gentoo Install CD and
run
Use our
Gentoo's packages are usually updated shortly after the main authors release
new code. As for when Gentoo itself makes new stage/profile/ISO releases, check
our
Console beeps can be turned off using setterm, like this:
# setterm -blength 0
If you would like to turn off the console beeps on boot, you need to put this
command in
# setterm -blength 0 >/dev/vc/1
You need to replace /dev/vc/1 with the terminal you would like to disable console beeps for.
The official Gentoo documentation can be found at
Install CDs for all supported architectures are available on our
You can also find fresh CDs from various resellers listed on our
A good first step is to browse through the relevant