Difference between revisions of "Install/Profiles"

From Funtoo
Jump to: navigation, search
(Profiles)
(Marked this version for translation)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
<translate>
{{InstallPart|initial system configuration using Funtoo Linux profiles}}
+
<includeonly>
</noinclude>
+
== Profiles == <!--T:1-->
=== Profiles ===
+
</includeonly><noinclude><languages/>
 +
= Install Guide: Profiles =
  
Once you have rebooted into Funtoo Linux, you can further customize your system to your needs by using Funtoo Profiles.
+
<!--T:2-->
 +
{{InstallNavigation|num=17|prev=Finishing|next=Done|title=Profiles}}</noinclude>
  
[[Funtoo 1.0 Profile|Funtoo profiles]] are used to define defaults for Portage specific to your needs. There are five basic profile types: arch, build, subarch, [[Flavors and Mix-ins|flavor, and mix-ins]]:
+
<!--T:31-->
 +
Once you have rebooted into Funtoo Linux, you can further customize your system to your needs by using [[Funtoo Profiles]]. A quick introduction to profiles is included below -- consult the [[Funtoo Profiles]] page for more detailed information. There are five basic profile types: arch, build, subarch, flavors and mix-ins:
  
;arch: typically <code>x86-32bit</code> or <code>x86-64bit</code>, this defines the processor type and support of your system. This is defined when your stage was built and should not be changed.
+
<!--T:21-->
;build: defines whether your system is a <code>current</code>, <code>stable</code> or <code>experimental</code> build. <code>current</code> systems will have newer packages unmasked than <code>stable</code> systems. This is defined when your stage is built and is typically not changed.
+
{{TableStart}}
;subarch: Defines optimizations for your CPU. The subarch is set at the time the stage3 is built, but can be changed later to better settings if necessary. Be sure to pick a setting that is compatible with your CPU.
+
{{2ColHead|Sub-Profile Type|Description}}
;flavor: defines the general type of system, such as <code>server</code> or <code>desktop</code>, and will set default USE flags appropriate for your needs.
+
{{2Col|{{c|arch}}|Typically {{c|x86-32bit}} or {{c|x86-64bit}}, this defines the processor type and support of your system. This is defined when your stage was built and should not be changed.}}
;mix-ins: define various optional settings that you may be interested in enabling.
+
{{2Col|{{c|build}}|Defines whether your system is a {{c|current}}, {{c|stable}} or {{c|experimental}} build. At the moment, all Funtoo Linux builds use the {{c|funtoo-current}} build profile.}}
 +
{{2Col|{{c|subarch}}|Defines CPU optimizations for your system. The subarch is set at the time the stage3 is built, but can be changed later to better settings if necessary. Be sure to pick a setting that is compatible with your CPU.}}
 +
{{2Col|{{c|flavor}}|Defines the general type of system, such as {{c|server}} or {{c|desktop}}, and will set default USE flags appropriate for your needs.}}
 +
{{2Col|{{c|mix-ins}}|Defines various optional settings that you may be interested in enabling.}}
 +
{{TableEnd}}
  
One arch, build and flavor must be set for each Funtoo Linux system, while mix-ins are optional and you can enable more than one if desired.
+
<!--T:22-->
 +
One arch, build and flavor must be set for each Funtoo Linux system, while mix-ins are optional and you can enable more than one if desired. Often, flavors and mix-ins inherit settings from other sub-profiles. Use {{c|epro show}} to view your current profile settings, in addition to any inheritance information.
  
Remember that profiles can often be inherited. For example, the <code>desktop</code> flavor inherits the <code>workstation</code> flavor settings, which in turn inherits the <code>X</code> and <code>audio</code> mix-ins. You can view this by using {{c|epro}}:
+
<!--T:32-->
 +
{{Note|It's recommended that your run this command now, particularly if you are using the ''{{c|gnome}}'' install image, in order to familiarize yourself with the current profile settings on your system.}}
  
 +
<!--T:33-->
 
{{console|body=
 
{{console|body=
(chroot) # ##i### epro show
+
# ##i##epro show
  
=== ##g##Enabled Profiles##!g##: ===
+
=== ##g##Enabled Profiles##!g##: === <!--T:23-->
  
         arch: ##c##x86-64bit
+
         <!--T:24-->
       build: ##c##current
+
arch: ##c## x86-64bit
     subarch: ##c##intel64-haswell
+
       build: ##c## current
       flavor: ##c##desktop
+
     subarch: ##c## intel64-haswell
     mix-ins: ##c##gnome
+
       flavor: ##c## desktop
 +
     mix-ins: ##c## gnome
  
  
=== ##g##All inherited flavors from desktop flavor##!g##: ===
+
=== ##g##All inherited flavors from desktop flavor##!g##: === <!--T:25-->
  
                     ##c##workstation (from desktop flavor)
+
                     <!--T:26-->
                             ##c##core (from workstation flavor)
+
##c##workstation##!c## (from desktop flavor)
                         ##c##minimal (from core flavor)
+
                             ##c##core##!c## (from workstation flavor)
 +
                         ##c##minimal##!c## (from core flavor)
  
=== ##g##All inherited mix-ins from desktop flavor##!g##: ===
+
=== ##g##All inherited mix-ins from desktop flavor##!g##: === <!--T:27-->
  
                               ##c##X##!c## (from workstation flavor)
+
                               <!--T:28-->
 +
##c##X##!c## (from workstation flavor)
 
                           ##c##audio##!c## (from workstation flavor)
 
                           ##c##audio##!c## (from workstation flavor)
 
                             ##c##dvd##!c## (from workstation flavor)
 
                             ##c##dvd##!c## (from workstation flavor)
Line 53: Line 66:
 
}}
 
}}
  
To view available profiles:
+
<!--T:29-->
{{console|body=
+
Here are some basic examples of {{c|epro}} usage:
(chroot) # ##i##epro list
+
{{TableStart}}
}}
+
{{2ColHead|Description|Command}}
 +
{{2Col|View available profiles. Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have a {{c|*}} appended.|{{c|epro list}}}}
 +
{{2Col|Change the system flavor.|{{c|epro flavor desktop}}}}
 +
{{2Col|Add a mix-in.|{{c|epro mix-in +gnome}}}}
 +
{{TableEnd}}
 +
 
 +
=== Graphics Settings === <!--T:34-->
 +
 
 +
<!--T:35-->
 +
{{Note|The ''{{c|gnome}}'' install image will have additional graphic support already enabled for you, but you will still need to set up X and your display manager (covered in the next section.)}}
 +
 
 +
<!--T:36-->
 +
Funtoo Linux 1.4 features the following mix-ins to allow simplified configuration of your graphics settings. It's recommended to use these mix-ins rather than manually placing {{c|USE}} and {{c|VIDEO_CARDS}} settings in {{f|/etc/make.conf}}. You can learn more about Funtoo's graphics configuration and the design approach of these settings at the [[make.conf/VIDEO_CARDS]] page.
 +
 
 +
<!--T:37-->
 +
{{:Make.conf/VIDEO_CARDS/Mix-ins}}
  
Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have a {{c|*}} appended.
+
<!--T:38-->
 +
Enable the appropriate graphics options for your hardware as follows:
  
To change the profile flavor:
+
<!--T:39-->
 
{{console|body=
 
{{console|body=
(chroot) # ##i##epro flavor desktop
+
# ##i##epro mix-in +gfxcard-intel
 
}}
 
}}
  
To add a mix-in:
+
<!--T:40-->
 +
Once this has been done, proceed to set up X, KDE, GNOME or another desktop environment on your system, as desired. See the next section for more information on this.
  
{{console|body=
+
</translate>
(chroot) # ##i##epro mix-in +gnome
+
<noinclude>{{InstallNavigation|num=17|prev=Finishing|next=Done|align=right}}</noinclude>
}}
 

Latest revision as of 22:04, October 10, 2019

Other languages:
English • ‎español • ‎português do Brasil • ‎русский

Install Guide: Profiles

Install Guide, Chapter 17 < Prev Next >

Once you have rebooted into Funtoo Linux, you can further customize your system to your needs by using Funtoo Profiles. A quick introduction to profiles is included below -- consult the Funtoo Profiles page for more detailed information. There are five basic profile types: arch, build, subarch, flavors and mix-ins:

Sub-Profile TypeDescription
archTypically x86-32bit or x86-64bit, this defines the processor type and support of your system. This is defined when your stage was built and should not be changed.
buildDefines whether your system is a current, stable or experimental build. At the moment, all Funtoo Linux builds use the funtoo-current build profile.
subarchDefines CPU optimizations for your system. The subarch is set at the time the stage3 is built, but can be changed later to better settings if necessary. Be sure to pick a setting that is compatible with your CPU.
flavorDefines the general type of system, such as server or desktop, and will set default USE flags appropriate for your needs.
mix-insDefines various optional settings that you may be interested in enabling.

One arch, build and flavor must be set for each Funtoo Linux system, while mix-ins are optional and you can enable more than one if desired. Often, flavors and mix-ins inherit settings from other sub-profiles. Use epro show to view your current profile settings, in addition to any inheritance information.

   Note

It's recommended that your run this command now, particularly if you are using the gnome install image, in order to familiarize yourself with the current profile settings on your system.

root # epro show

=== Enabled Profiles: ===

        arch:  x86-64bit
       build:  current
     subarch:  intel64-haswell
      flavor:  desktop
     mix-ins:  gnome


=== All inherited flavors from desktop flavor: ===

                     workstation (from desktop flavor)
                            core (from workstation flavor)
                         minimal (from core flavor)

=== All inherited mix-ins from desktop flavor: ===

                               X (from workstation flavor)
                           audio (from workstation flavor)
                             dvd (from workstation flavor)
                           media (from workstation flavor)
      mediadevice-audio-consumer (from media mix-in)
                mediadevice-base (from mediadevice-audio-consumer mix-in)
      mediadevice-video-consumer (from media mix-in)
                mediadevice-base (from mediadevice-video-consumer mix-in)
        mediaformat-audio-common (from media mix-in)
          mediaformat-gfx-common (from media mix-in)
        mediaformat-video-common (from media mix-in)
                  console-extras (from workstation flavor)
                           print (from desktop flavor)

Here are some basic examples of epro usage:

DescriptionCommand
View available profiles. Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have a * appended.epro list
Change the system flavor.epro flavor desktop
Add a mix-in.epro mix-in +gnome

Graphics Settings

   Note

The gnome install image will have additional graphic support already enabled for you, but you will still need to set up X and your display manager (covered in the next section.)

Funtoo Linux 1.4 features the following mix-ins to allow simplified configuration of your graphics settings. It's recommended to use these mix-ins rather than manually placing USE and VIDEO_CARDS settings in /etc/make.conf. You can learn more about Funtoo's graphics configuration and the design approach of these settings at the make.conf/VIDEO_CARDS page.

Funtoo Graphics Mix-Ins

gfxcard-intel
This mix-in enables all DRI-based Intel integrated graphics, including support for Vulkan and video acceleration where available. Do an emerge libva-intel-driver afterwards to ensure you have full video acceleration support.
gfxcard-amdgpu
This mix-in enables support for modern Radeon cards, Southern Islands -- GFX Core 6 (see this x.org reference) and greater. Includes Vulkan and video acceleration where available. Drivers are built for both the Gallium framework (modern replacement for DRI framework) and DRI framework. Glamor is used to accelerate 2D operations.
gfxcard-radeon
This mix-in enables support for modern Radeon cards, R600 through Northern Islands -- GFX Core 4 and 5 (see this x.org reference). Drivers are built for the Gallium framework (modern replacement for DRI framework) as well as DRI framework. Glamor is used to accelerate 2D operations.
gfxcard-older-ati
Use this mix-in to enable support for R300 up to (but not including) R600 Radeon cards -- -- GFX Core 3 (see this x.org reference). DRI as well as Gallium-based drivers are enabled.
gfxcard-ancient-ati
Use this mix-in to enable support pre-R300 cards -- GFX Core 1 and 2 (see this x.org reference). These drivers are DRI-based.
gfxcard-nvidia
Use this to enable support for proprietary NVIDIA drivers. You will also need to emerge nvidia-kernel-modules, blacklist nouveau and add yourself to the video group. See this documentation for more details. Note that Funtoo now has two catpkgs for NVIDIA proprietary graphics -- nvidia-drivers and nvidia-kernel-modules -- to aid the use of NVIDIA acceleration on containers.
gfxcard-nvidia-legacy
Proprietary NVIDIA drivers like above, but the legacy version of the driver that supports older hardware. See https://www.nvidia.com/en-us/drivers/unix/ and browse the specific driver version that emerge is installing to get detailed compatibility information.
gfxcard-nouveau
Use this mix-in to enable support for Open Source nouveau drivers.

Enable the appropriate graphics options for your hardware as follows:

root # epro mix-in +gfxcard-intel

Once this has been done, proceed to set up X, KDE, GNOME or another desktop environment on your system, as desired. See the next section for more information on this.

Install Guide, Chapter 17 < Prev Next >