Tag Info

Hot answers tagged

19

I must disclose that I have little experience using multilib-build.eclass-style multilib in Gentoo. ABI_X86 is a USE_EXPAND variable; setting ABI_X86="32 64" or USE="abi_x86_32 abi_x86_64" are equivalent. The default setting of ABI_X86, as of this writing (2013-09-09), for the default/linux/amd64/13.0 profile seems to be just ABI_X86=64. This variable ...


14

The simple way is to invent a time machine, visit the various people who devised shell startup files and tell them to cleanly distinguish between three things: session setup, e.g. environment variables; session launching, i.e., e.g. starting a command-line shell or a window manager or running startx; shell initialization, e.g. aliases, prompt, key ...


14

Oh you will notice the differences... a git pull is way faster than the rsync one :) the automated kernel build is a real nice feature, you will see ebuilds that are maintained by CoreTeam have a cleaner structure, not so much usage of external modules but inline the ebuild so a build gets clean... GPT/GUID support is also very nice, cleaner structure of ...


13

OK, I got this. The problem isn't autocd, it's correctall. vim as a command (vim file) doesn't trigger any correction*, but vim in sudo vim is an argument, zsh sees that it's close to the name of a folder in the current directory, and asks if you want to change to that, as files and folders are more common arguments. So the solution is unsetopt correctall ...


12

Could be a number of problems. Seeing as you're using zsh, try putting this in your ~/.zshrc: export LESS_TERMCAP_mb=$'\E[01;31m' export LESS_TERMCAP_md=$'\E[01;31m' export LESS_TERMCAP_me=$'\E[0m' export LESS_TERMCAP_se=$'\E[0m' export LESS_TERMCAP_so=$'\E[01;47;34m' export LESS_TERMCAP_ue=$'\E[0m' export LESS_TERMCAP_us=$'\E[01;32m' export LESS=-r Then ...


11

I don't think depclean works the way you described. Without any arguments it does, but if you pass it a package name it works like unmerge with an additional dependency check. From emerge(1): Depclean serves as a dependency aware version of --unmerge. When given one or more atoms, it will unmerge matched packages that have no reverse dependencies. Use ...


10

Use mdadm, check the manpage. However, I will list one gotcha here. If you do this and really want reliability, you should make sure your master boot record is copied to both drives. By default it will likely only get copied to one drive. If that drive dies, you cannot boot from the other drive, even though all your data is safe. To copy the mbr to both ...


10

There isn't a simple rule that always works. People might recommend a particular figure because they experimented with a particular compilation on a particular machine and this was the best setting, or because they followed some reasoning that may or may not have some relation with reality. If you're blessed with a lot of RAM, then the limiting factor in a ...


9

That's what slots are for. If the package is not slotted then the only thing I can think of is to create a personal overlay and a new package/ebuild that is slotted.


9

Which licenses portage accepts is governed by the ACCEPT_LICENSE variable in make.conf. This variable is the counterpart to package.license the same way USE is to package.use, ACCEPT_KEYWORDS to package.keywords, etc.. By default, this variable is set to * -@EULA, which means "accept all licenses except those in the EULA set". This set contains all licenses ...


8

Udev loads modules automatically depending on what kind of hardware it finds. You can "blacklist" modules in order to stop them being autoloaded as described in the Gentoo udev guide.


8

Basic commands will be the following: # cat /etc/gentoo-release Gentoo Base System release 2.1 # uname -r 3.1.6-gentoo Also you can obtain this information in a "gentoo-way" using app-portage/gentoolkit package utils: # equery list baselayout * Searching for baselayout ... [IP-] [ ] sys-apps/baselayout-2.1:0 # eselect kernel list Available kernel ...


8

You'll probably find the "Choosing the Right Installation Medium" part of the install guide helpful. install-x86-minimal-timestamp.iso is the LiveCD image. You burn that to a CD and boot off it to get into a minimal Gentoo environment that you can use to install Gentoo on your actual system stage3-i486-timestamp.tar.bz2 is a tarball of the root filesystem; ...


7

1. Is ACCEPT_KEYWORDS='amd64 ~amd64 ~amd64-linux' a valid configuration? From man make.conf: ACCEPT_KEYWORDS = [space delimited list of KEYWORDS] So ACCEPT_KEYWORDS='amd64 ~amd64 ~amd64-linux' is a valid combination. 2. What about ~amd64-linux? amd64-linux is a Prefix thing. I don't know much about Prefix, but I can see amd64-linux in the list of ...


7

How to install perf userland tool as non-root Get/find sources for kernel-2.6.36-gentoo-r4 (in Gentoo Linux). The first check from this answer Actually, first you should look at /usr/src/linux and see if the kernel sources are still installed. You could just copy them to a directory you can write to.) was enough, though instead of copying whole ...


7

Please be aware that current USE flags and other configuration defined in /etc/make.conf may have changed since the package was installed. A more reliable way of checking configuration and compile options is to check var/db/pkg. Example for apache-2.2.22: $ cat /var/db/pkg/www-servers/apache-2.2.22-r1/CFLAGS -mtune=native -O2 -pipe -g


7

You can use SystemTap for this sort of thing. First, set up your system. You need SystemTap, headers corresponding to your running kernel, and debug symbols for the same. On Debian, getting it working is something like: sudo apt-get install systemtap sudo apt-get install linux-headers-$(uname -r) sudo apt-get install linux-image-$(uname -r)-dbg It can ...


7

You can use pfl (emerge -av pfl) or a online database to search by package contents, And for the qcad package, you probably need the Qt4 package. IIRC, use emerge -av x11-libs/qt-gui (Try search the package with emerge -s qt if that doesn't work out)


6

So there are a lot of differences and in the same time it's still being Gentoo ! In nutshell read it Funtoo Linux Vision and here developed by Daniel Robbins and a core team of developers, built around a basic vision of improving the core technologies in Gentoo Linux. It has a history that takes it back to Gentoo and beyond. The development focus of Funtoo ...


6

You can use app-portage/genlop for this. genlop -l --date some_date will list all packages merged on or after that date. (You can also specify an end date.) To get a list of packages suitable for emerge --unmerge, try something like: genlop -ln --date 2011/10/02 | perl -ne '/>>> (.*)/ and print " =$1";' Do double-check that list before ...


6

This is not supposed to be possible; either you are running a vulnerable version of some software or you have misconfigured something. Under normal configurations, connecting to an X server requires a sort of password called “X cookie”. The cookie is randomly generated when the X server starts and stored in a file. Normally, only the user who started the X ...


6

Gentoo is a rolling release, so although the information posted above is correct and relevant, there is another very important piece of the puzzle: eselect profile list It makes a lot more difference on the system than say the exact kernel release...


6

try alias sudo='nocorrect sudo'.


6

You can do this without problems if you know what you're doing. You only need to watch about partition sizes (don't use more space then you have on your target machine's hdd), you have to compile the kernel for the target machine (select the drivers etc. for the target machine, not the machine you're using to compile it), and don't forget to check the ...


6

Frame buffers are nothing more than memory regions that are used for graphics. Modern graphics cards have kernel-native drivers which are used for KMS (kernel mode setting) and can use very high-resolution and high-speed framebuffers even on dual heads. However, the card emulated by QEMU there does not have such a driver. You’d have to be emulating one of ...


6

According to http://www.fileformat.info/info/unicode/char/10100/fontsupport.htm the following several fonts support U+10100: Code2001, EversonMono (and EversonMono Oblique), MPH 2B Damase, and Penuturesu. Note that Code2001 isn’t where it used to be, but it can be downloaded from my Code2001 page. And you can add ALPHA-Demo and Quivira to the list. ...


5

Take a look at this: http://www.kernel.org/doc/menuconfig/drivers-base-Kconfig.html In particular: EXTRA_FIRMWARE "allows firmware to be built into the kernel, for the cases where the user either cannot or doesn't want to provide it from userspace at runtime" EXTRA_FIRMWARE_DIR "controls the directory in which the kernel build system looks for the ...


5

Check your proxy settings in “Edit / Preferences / Network”. Maybe Firefox and Thunderbird are using a Freedesktop proxy setting which other programs you've tried aren't, and there's a problem with that proxy. Can other Freedesktop programs (e.g. Konqueror, Nautilus, …) resolve host names? Another possibility is that Firefox is now checking IPv6 names ...


5

Usually this information is handled in 2 places: Application .desktop files advertise what program can open MIME database which specifies what application should be used to open file with specific MIME The MIME database can be customized by editing .local/share/applications/mimeapps.list and .local/share/applications/mimeinfo.cache. The tool which allows ...


5

On way is to use equery's depends function to get the list of things that depend on a package. # equery depends perl If you want to rebuild all of them, try something like: # emerge -a --oneshot `equery depends perl|awk '{print " ="$1}'` You'll have issues with that if you have packages installed that were removed from the portage tree, so a sync and ...



Only top voted, non community-wiki answers of a minimum length are eligible