注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Install/Profiles"

From Funtoo
Jump to navigation Jump to search
(Removed page from translation)
Line 1: Line 1:
<noinclude>
=== Profiles ===  
{{InstallPart|initial system configuration using Funtoo Linux profiles}}
</noinclude>=== Profiles ===


Once you have rebooted into Funtoo Linux, you can further customize your system to your needs by using Funtoo Profiles.
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:


[[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]]:
{{TableStart}}
 
{{2ColHead|Sub-Profile Type|Description}}
;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.
{{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.}}
;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.
{{2Col|{{c|build}}|Defines whether your system is a {{c|current}}, {{c|stable}} or {{c|experimental}} build. {{c|current}} systems will have newer packages unmasked than {{c|stable}} systems. This is defined when your stage is built and is typically not changed.}}
;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.
{{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.}}
;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|flavor}}|Defines the general type of system, such as {{c|server}} or {{c|desktop}}, and will set default USE flags appropriate for your needs.}}
;mix-ins: define various optional settings that you may be interested in enabling.
{{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.
 
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}}:


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:</translate>
{{console|body=
{{console|body=
(chroot) # ##i### epro show
(chroot) # ##i## epro show


=== ##g##Enabled Profiles##!g##: ===
=== ##g##Enabled Profiles##!g##: ===


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




=== ##g##All inherited flavors from desktop flavor##!g##: ===
=== ##g##All inherited flavors from desktop flavor##!g##: ===


                     ##c##workstation (from desktop flavor)
                     ##c##workstation##!c## (from desktop flavor)
                             ##c##core (from workstation flavor)
                             ##c##core##!c## (from workstation flavor)
                         ##c##minimal (from core 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##: ===
Line 52: Line 48:
}}
}}


To view available profiles:
Here are some basic examples of {{c|epro}} usage:
{{console|body=
{{TableStart}}
(chroot) # ##i##epro list
{{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}}}}
Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have a {{c|*}} appended.
{{2Col|Add a mix-in.|{{c|epro mix-in +gnome}}}}
 
{{TableEnd}}
To change the profile flavor:
{{console|body=
(chroot) # ##i##epro flavor desktop
}}
 
To add a mix-in:
 
{{console|body=
(chroot) # ##i##epro mix-in +gnome
}}

Revision as of 23:55, September 1, 2018

Profiles

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. current systems will have newer packages unmasked than stable systems. This is defined when your stage is built and is typically not changed.
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:</translate>

(chroot) #  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