background preloader

Gentoo-os

Facebook Twitter

Virtualbox Guest. From Gentoo Linux Wiki Installation Installing Gentoo as a VirtualBox guest OS is not that much different from the standard installation. Proceed as recommended in the Installation Handbook , with the following modifications. Configuring the Compile Options If you are planning to use X, add the following lines to /etc/make.conf : or /etc/portage/make.conf : File: /etc/make.conf or /etc/portage/make.conf INPUT_DEVICES="evdev" VIDEO_CARDS="virtualbox" Use the settings above regardless of your host machine's actual hardware.

Follow the rest of the section as written in the handbook. One important note is "symmetric multi-processing support" and "SMT (Hyperthreading) scheduler support)" are needed for VM's that have more than one core assigned Configuring the Kernel The important settings for a kernel that runs under VirtualBox are: You will also need some of the more common options under "Device Drivers ---> SCI device Support" (if you wind up having to debug).

File: /etc/modprobe.d/alsa.conf. Licenses. From Gentoo Linux Wiki As of Portage 2.1.7, the ability to manage the licenses of installed software is available. This document explains how to specify the allowed licenses and find out information on them. Global: make.conf The list of allowed licenses can be set through 2 methods. On a global basis, licenses can be managed via the ACCEPT_LICENSE option in /etc/make.conf . The default value for ACCEPT_LICENSE is: This allows all licenses, except those in the EULA license group. You can check the current setting for your system by running: emerge --info -v | grep LICENSE Per Package: package.license Licenses can also be managed on a per package basis using /etc/portage/package.license , which does not exist by default. For example, to allow the dlj-1.1 license for dev-java/sun-jdk , add the following to package.license : dev-java/sun-jdk dlj-1.1 Getting License Information The list of licenses for packages in the official tree can be found in the licenses/ subdirectory of the official tree.

The X Server Configuration HOWTO. Xorg is the X Window server which allows users to have a graphical environment at their fingertips. This HOWTO explains what Xorg is, how to install it and what the various configuration options are. What is the X Window Server? Graphical vs Command-Line The average user may be frightened at the thought of having to type in commands. Why wouldn't he be able to point and click his way through the freedom provided by Gentoo (and Linux in general)? Well, of course you are able to do this! Linux offers a wide variety of flashy user interfaces and environments which you can install on top of your existing installation. This is one of the biggest surprises new users come across: a graphical user interface is nothing more than an application which runs on your system.

The application that provides Linux users with the ability to run graphical user interfaces and that uses the X11 standard is Xorg-X11, a fork of the XFree86 project. The X.org Project Installing Xorg Input driver support [Collapse] Mixing Software Branches. [ << ] [ < ] [ Home ] [ > ] [ >> ] Content: 3.a. Using One Branch The Stable Branch The ACCEPT_KEYWORDS variable defines what software branch you use on your system. We recommend that you only use the stable branch. The Testing Branch If you want to use more recent software, you can consider using the testing branch instead. The testing branch is exactly what it says - Testing. Beware though, you might notice stability issues, imperfect package handling (for instance wrong/missing dependencies), too frequent updates (resulting in lots of building) or broken packages.

For example, to select the testing branch for the x86 architecture, edit /etc/portage/make.conf and set: If you update your system now, you will find out that lots of packages will be updated. 3.b. The package.accept_keywords location You can ask Portage to allow the testing branch for particular packages but use the stable branch for the rest of the system. Test Particular Versions 3.c. The package.unmask location. Gentoo Distcc Documentation. Distcc is a program designed to distribute compiling tasks across a network to participating hosts. It is comprised of a server, distccd, and a client program, distcc.

Distcc can work transparently with ccache, Portage, and Automake with a little setup. If you are planning on using distcc to help you bootstrap a Gentoo installation, make sure you read the section Using Distcc to Bootstrap. Setup Dependencies In order to use Distcc, all of the computers on your network need to have the same GCC versions. Installing Distcc There are a couple of options you should be aware of before you start installing distcc. Distcc ships with a graphical monitor to monitor tasks that a computer is sending away for compilation, enabled with the gtk USE flag. root # emerge --ask distcc Important Remember, you must be sure to install distcc on all of your participating machines. Setting up Portage to use Distcc Setting up Portage to use distcc is easy. Root # nano -w /etc/portage/make.conf [Collapse] Cross-Compiling.

Portage Features. [ << ] [ < ] [ Home ] [ > ] [ >> ] Content: 3.a. Portage Features Portage has several additional features that makes your Gentoo experience even better. Many of these features rely on certain software tools that improve performance, reliability, security, ... To enable or disable certain Portage features you need to edit /etc/portage/make.conf's FEATURES variable which contains the various feature keywords, separated by white space. Not all features that Portage supports are listed here.

To find out what FEATURES are default set, run emerge --info and search for the FEATURES variable or grep it out: 3.b. Using distcc distcc is a program to distribute compilations across several, not necessarily identical, machines on a network. You can find more information about distcc (and how to have it work with Gentoo) in our Gentoo Distcc Documentation. Installing distcc Distcc ships with a graphical monitor to monitor tasks that your computer is sending away for compilation. Activating Portage Support. Overlay. Portage. From Gentoo Linux Wiki Portage is the package manager used in Gentoo. Unlike most package managers, it is primarily used to handle source packages: Portage can automatically build source packages as you need them, while binary package managers primarily install pre-built tarballs.

The purpose of this article is to teach the "best-known practices" for working with Portage on a daily basis. This is not a primer or introduction to using Portage or emerge. If you are new to Gentoo, the best way to learn how to use these tools are by reading the Working with Gentoo chapter of the Gentoo Handbook. In this article we will take an in-depth look at how Portage works and how we can make it work better. Emerging Packages The emerge command is the primary way one interacts with Portage. Emerge --ask or emerge -a Display a message stating exactly what actions emerge will be performing and prompts you to confirm them. root ~ # emerge -a patch These are the packages that would be merged, in order: b f r Color.