Gentoo is a Linux distribution designed to be automatically optimized and customized according to the user's need.

learn more… | top users | synonyms

16
votes
3answers
6k views

Using ABI_X86 in Gentoo

For one reason or another (I've been busy, I guess), it's been months since I've updated my Gentoo system. And, as you can imagine, this means there's a lot of packages (and USE changes) I need to go ...
14
votes
4answers
3k views

Why people recommend the -j3 option for make when having a dual-core CPU?

In Gentoo Linux it is possible to set the MAKEOPTS variable in /etc/portage/make.conf to tell make how many jobs it should run in parallel when building packages. Since I have a dual-core CPU, I ...
13
votes
2answers
2k views

Correctly setting environment

I'm using zsh and gdm to run gnome. Some time ago I discovered that variables are not set correctly. For example LANG/LC_ALL are incorrect ("" instead of en_GB.UTF-8). I split the .zshrc into .zshrc ...
12
votes
2answers
2k views

zsh wants to correct vim to .vim

I'm using zsh on Gentoo x64, and when I type sudo vim /path/to/file from my home folder, zsh asks: zsh: correct 'vim' to '.vim' [nyae]? I want to run vim not my .vim folder. How do I fix this? ...
11
votes
4answers
5k views

Gentoo versus Funtoo [closed]

I've heard that Funtoo is a somewhat improved version of Gentoo, but I haven't been able to find any concrete sources for this. Funtoo's website says this: Funtoo Linux features native UTF-8 ...
9
votes
3answers
2k views

How to install multiple versions of the same package in Gentoo?

I would like to install two (or more) versions of the same packages on my Gentoo system. I know for sure there won't be any file clash, since there very few files installed and each of them is named ...
8
votes
4answers
6k views

Safely uninstall a package in Gentoo

I wanted to uninstall a specific package in Gentoo and browsed through the emerge man page. I found the --unmerge option: WARNING: This action can remove important packages! Removes all ...
7
votes
3answers
4k views

How do I tell what version of Gentoo & Linux is running?

Is there a way to tell from Bash what distro version # I'm running and also what Kernel version is included?
7
votes
2answers
3k views

On Gentoo, how do I rebuild all packages depended on some other package?

I made mistake and changed perl non-threaded version to threaded by unmerge first, change USE flags to include ithreads and emerge perl again. Now most packages depending on perl are broken. How do I ...
7
votes
1answer
868 views

How to find which package provides a file?

For example, I can't install package qcad because of error: "can't find qdict.h". How can I find the package which provides the file qdict.h so I can install the package qcad?
7
votes
1answer
2k views

LVM + LUKS + SSD + Gentoo — making it all work together

I'm finding a lot of conflicting information out there, and as of yet haven't found anyone trying to pull together all of the components that I'm trying to do, so I'm hoping someone who understands ...
7
votes
2answers
2k views

linux multiple internet connections load balancing with fail handling

I have two ISP connections and need automatic load balancing between them. I also need to handle failed connections (not use one that does not work). First link is a PPTP connection (ppp0), second is ...
7
votes
1answer
6k views

How to check why sound over HDMI doesn't work

I installed Gentoo clean on my system, except my /home but I deleted all hidden folders that might have an impact on sound (.mplayer .pulse* .config .esd_auth and more) and with a fresh user adduser ...
7
votes
1answer
1k views

Suggestions needed for udev, udisks, autofs, notification setup for a complete automounting solution on Linux

Continuing on Automounting plugged devices in linux, which left things a bit basic. Running Gentoo, I'm automounting a combination of local and network devices on my laptop with autofs-5.0.4-r5. Doing ...
7
votes
2answers
4k views

Slow NFS, nfsstat -c: what is authrefrsh (aka newcreds?) field about in detail?

(net-fs/nfs-utils-1.2.3-r1, 2.6.38.5-zen+ Gentoo) Googling this seems to be a complete dead end. man nfsstat says a whole lot of nothing about the subject. The closest I could get was finding out ...
6
votes
2answers
2k views

Which Gentoo should I download?

I am looking for the most compatibility in a Gentoo download. When I go to the download page, I am greeted by this: install-x86-minimal-20120306.iso 07-Mar-2012 08:50 135M ...
6
votes
2answers
2k views

In Gentoo, what is the difference between amd64, ~amd64 and ~amd64-linux?

When I run equery depgraph www-client/chromium-10.0.648.151, not all dependencies are available. Some shows M[package.mask], while some other shows [missing keyword]. My ACCEPT_KEYWORDS is ...
6
votes
2answers
725 views

emacs does not see my fonts in gentoo

I copied my ~/.emacs file from ubuntu linux; I've installed Consolas font (and it works in gnome terminal, and as a default Monospace font); but Emacs does not see it (custom-set-faces '(default ((t ...
6
votes
1answer
344 views

Razer Ouroboros mouse not working

The Problem I don't mean the extra keys and what not, I'm just talking about getting the pointer to move across the screen and the left and right buttons to click. I've got it plugged into the ...
6
votes
2answers
801 views

Find files that were not installed by the package manager

I'd like to get a list of all files in my Gentoo Linux system that were not installed by the package manager (Portage). This is because I want to keep my system as clean as possible, removing all ...
5
votes
2answers
2k views

Colored man pages not working on gentoo

I have a problem using these methods to get colors in my man pages in gentoo. I've asked already in the gentoo forums but it still doesn't work, and the comments in a bug report (Bug 184604) don't ...
5
votes
3answers
244 views

RAID 1 in linux

I'd like to setup RAID 1 with two drives in linux. I don't have a hardware RAID controller and don't want to buy one, so what is the best software RAID option for linux? Note: If it makes a ...
5
votes
3answers
4k views

Why can't I use the REJECT policy on my iptables OUTPUT chain?

I currently have my OUTPUT chain set to DROP. I'd like to change it to REJECT, so that I have a clue that it's my firewall stopping me from getting somewhere rather than a problem with whatever ...
5
votes
4answers
4k views

Grub error 15 (file not found)

I'm trying to fix a problem with a new installation. I'm running this existing distro (Ubuntu) from /dev/sdb with a new OS, Gentoo, installed on /dev/sda. I'm glad I took the trouble of setting these ...
5
votes
1answer
3k views

mmap() failed: Cannot allocate memory - how do I find out who's complaining?

mmap() failed is popping up in my .xsession-errors in bursts. But there's no indication about what application it is failing with. How do I look into this after it has happened? I usually discover the ...
5
votes
2answers
126 views

Packages to rebuild after upgrading gcc on gentoo systems

Which packages should be rebuilt after upgrading gcc on a gentoo system? Is it sufficient to run # emerge -a --oneshot `equery depends gcc |awk '{print " ="$1}'` as suggested similar for perl in ...
5
votes
2answers
426 views

On Gentoo is there a way to find a list of installed packages which doesn't have other packages depended on them?

On Gentoo, is there a way to find a list of installed packages which doesn't have other packages depended on them (so called leaf packages)? Or, is there analog of pkg-orphan FreeBSD utility?
5
votes
2answers
2k views

Gentoo default application for opening files

On my Gentoo box running without a desktop environment, every time I try to open a file the system tries to open it with Firefox. I understand that without a desktop environment "open file" cannot ...
5
votes
2answers
305 views

What files in /var need to have specific owners?

I accidentally wreaked unknown amounts of havoc on my web server by running sudo chown -R myuser:mygroup * .* in /var/www, not remembering that .* would include the parent directory (as ..). I ...
5
votes
2answers
146 views

Customize ebuild in Gentoo within the portage tree

How can I customize an ebuild in Gentoo without maintaining a customized package in own overlay? The case is that I need to mark compiled binaries with paxctl. But there are about 100 of such ...
5
votes
2answers
1k views

Why is mount.cifs not installed suid by default?

I am using Gentoo, and on my machine at least mount.cifs is not installed suid root by default. In particular, this means that I can't use the user mount option with CIFS shares. I noticed that ...
5
votes
4answers
1k views

Error while loading shared libraries

My project tree looks something like that: src/ include/ Makefile lib/ lib/3rdparylib/ I didn't code 3rdpartylib, but decided to embed its source code in my project packaging. I compile the ...
5
votes
1answer
678 views

Installing Gentoo packages as an ordinary user (non-root)

Is it possible to install Gentoo packages (ebuild-enabled programs, programs with support for portage) as an ordinary user (non-root) to one's own home directory (--prefix=$HOME or sth. like that)?
5
votes
3answers
76 views

How to tidy up the .keywords file on a gentoo system?

One can select testing packages on a gentoo stable system by adding a line with the following syntax to keywords list: cat /etc/portage/package.keywords =dev-python/ipython-0.13.2 ~amd64 # and many ...
5
votes
1answer
350 views

How to configure Ethernet in Gentoo on s390x?

I've booted from SLES 10 SP2 CD and installed Gentoo. Now I'm trying to make Ethernet work (it is working in SLES). I found this document, but in current kernel (2.6.38.2) sysfs layout is some ...
5
votes
2answers
2k views

Xorg Server Failing to Startup

I am having difficulty starting up the Xorg server within my Gentoo installation. I set it up via The X Server Configuration HOWTO. When I get to the part where I startx, the screen flickers a bit, ...
4
votes
4answers
217 views

Non-Ebuild Programs on Gentoo

I like the "compile it yourself" philosophy that Gentoo runs on, but how is the support for non-ebuild programs? That might just mean binaries, but also programs in general that were not acquired ...
4
votes
3answers
4k views

What is the basic difference between Arch and Gentoo Linux? [closed]

What is the difference between Arch Linux and Gentoo Linux? Their ideologies seem quite similar to me.
4
votes
2answers
629 views

Find out a package's configure/compile options in Gentoo

On a Gentoo Linux box which I'm not administering (and to which I don't have root access), how can I find out the options which were used to compile the package? (Please note I've never worked with ...
4
votes
3answers
937 views

Portage on Gentoo how to view available software versions?

I would like to install program foo using emerge on a Gentoo system; so I simply use emerge foo to install and portage selects the most current version of that software that's in its repository. If I ...
4
votes
1answer
7k views

How to check that perf events are enabled in Linux kernel, and how to install perf userland as non-root?

From what I have checked it looks like kernel side of 'perf' subsystem is enabled on computer I work on. Checking kernel configuration shows the following $ zgrep "_PERF[_= ]" /proc/config.gz ...
4
votes
2answers
2k views

How to install Gentoo with VirtualBox and use it as native OS later?

I'd like to try Gentoo (again...). I know that many steps require a lot of configuration and much more time. I'd like to do something else on computer during long waiting, because of that I would like ...
4
votes
1answer
2k views

On Gentoo how do I find list of packages installed after some specific date?

I have Gentoo VM that I use to test different puppet recipes and I frequently need to remove packages to bring it to clean initial state. While I could do this by hand when there are only few packages ...
4
votes
1answer
496 views

How to view all packages in some overlay?

I have some overlay installed. How I can see all packages in there ?
4
votes
2answers
477 views

/etc/motd is not displayed when a named pipe?

Running Gentoo 3.4.0 Having recently heard about the /etc/motd file, i tried to have it display random cowsay fortunes. I wrote some random bash script to act as a daemon, feeding the /etc/motd as a ...
4
votes
1answer
875 views

How to use the EXTRA_FIRMWARE_DIR kernel option?

I am using Gentoo, and I need to load an extra firmware to get my USB Wifi adapter work. I found an EXTRA_FIRMWARE_DIR kernel option, but I do not understand if it is used during compile time only or ...
4
votes
3answers
694 views

Changing my toolchain architecture (in gentoo)

This is somewhat gentoo-specific, so I'll explain it in that context, then try to abstract it to a generic linux machine. I accidently set my CHOST to "i686-pc-linux-gnu" in the beginning, not paying ...
4
votes
1answer
898 views

Safe to delete System.map-* files in /boot?

I'm experimenting with generating some custom kernels using genkernel. However, each iteration leaves a file in /boot called System.map-genkernel-<arch>-<version>. Is it safe to rename ...
4
votes
3answers
2k views

russian letters in gentoo console as '?'

I managed to get russian language working in my Gnome apps, but neither in the console (Alt-Shift-F2 and such) nor in the Gnome Terminal valyagentoo va1en0k # locale LANG=ru_RU.UTF-8 ...
4
votes
1answer
619 views

LVM2 pvdisplay and vgdisplay disagree

In my laptop, I have a single hard drive (/dev/sda). On this hard drive, I have an EFI partition (/dev/sda1), a boot partition (/dev/sda2), and an encrypted partition containing / (/dev/sda3). Inside ...