/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-system.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-system.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.111 Revision 1.112
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.111 2008/05/15 06:56:48 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.112 2009/10/04 18:37:42 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12After installing and configuring a stage3, the eventual result is that you 12After installing and configuring a stage3, the eventual result is that you
13have a Gentoo base system at your disposal. This chapter describes how 13have a Gentoo base system at your disposal. This chapter describes how
14to progress to that state. 14to progress to that state.
15</abstract> 15</abstract>
16 16
17<version>9.2</version> 17<version>10.0</version>
18<date>2008-05-14</date> 18<date>2009-10-04</date>
19 19
20<section> 20<section>
21<title>Chrooting</title> 21<title>Chrooting</title>
22<subsection> 22<subsection>
23<title>Optional: Selecting Mirrors</title> 23<title>Optional: Selecting Mirrors</title>
192First, a small definition is in place. 192First, a small definition is in place.
193</p> 193</p>
194 194
195<p> 195<p>
196A profile is a building block for any Gentoo system. Not only does it specify 196A profile is a building block for any Gentoo system. Not only does it specify
197default values for CHOST, CFLAGS and other important variables, it also locks 197default values for USE, CFLAGS and other important variables, it also locks
198the system to a certain range of package versions. This is all maintained by the 198the system to a certain range of package versions. This is all maintained by the
199Gentoo developers. 199Gentoo developers.
200</p> 200</p>
201 201
202<p> 202<p>
207<p> 207<p>
208You can see what profile you are currently using with the following command: 208You can see what profile you are currently using with the following command:
209</p> 209</p>
210 210
211<pre caption="Verifying system profile"> 211<pre caption="Verifying system profile">
212# <i>ls -FGg /etc/make.profile</i> 212# <i>eselect profile list</i>
213lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/<keyval id="profile"/> 213Available profile symlink targets:
214 [1] <keyval id="profile"/> *
215 [2] <keyval id="profile"/>/desktop
216 [3] <keyval id="profile"/>/server
214</pre> 217</pre>
215 218
216<p> 219<p>
217The default profile will provide you with a Linux 2.6-based system. This is the 220The default profile will provide you with a Linux 2.6-based system. This is the
218recommended default, but you have the option of choosing another profile too. 221recommended default, but you have the option of choosing another profile too.
219</p> 222</p>
220 223
221<p> 224<p>
222There are also <c>desktop</c> and <c>server</c> subprofiles available for some 225There are also <c>desktop</c> and <c>server</c> subprofiles available for some
223architectures. Look inside the <path>2008.0/</path> profile to see if there is 226architectures. Running <c>eselect profile list</c> will show all available
224one available for your architecture. You may wish to view the <c>desktop</c> 227profiles.
225profile's <path>make.defaults</path> to determine if it fits your needs.
226</p>
227
228<p> 228</p>
229
230<p>
229After viewing the available profiles for your architecture in 231After viewing the available profiles for your architecture, you can use a
230<path>/usr/portage/profiles/</path>, you can use a different one if you wish: 232different one if you wish:
231</p> 233</p>
232 234
233<pre caption="Changing profiles"> 235<pre caption="Changing profiles">
234# <i>ln -snf /usr/portage/profiles/&lt;profile name&gt; /etc/make.profile</i> 236# <i>eselect profile set 2</i>
235</pre> 237</pre>
236 238
237<p test="func:keyval('arch')='AMD64'"> 239<p test="func:keyval('arch')='AMD64'">
238If you want to have a pure 64-bit environment, with no 32-bit applications or 240If you want to have a pure 64-bit environment, with no 32-bit applications or
239libraries, you should use a non-multilib profile: 241libraries, you should use a non-multilib profile:
240</p> 242</p>
241 243
242<pre test="func:keyval('arch')='AMD64'" caption="Switching to a non-multilib profile"> 244<pre test="func:keyval('arch')='AMD64'" caption="Switching to a non-multilib profile">
243# <i>ln -snf /usr/portage/profiles/default/linux/amd64/2008.0/no-multilib /etc/make.profile</i> 245# <i>eselect profile list</i>
246Available profile symlink targets:
247 [1] <keyval id="profile"/> *
248 [2] <keyval id="profile"/>/desktop
249 [3] <keyval id="profile"/>/no-multilib
250 [4] <keyval id="profile"/>/server
251<comment>(Choose the no-multilib profile)</comment>
252# <i>eselect profile set 3</i>
253<comment>(Verify the change)</comment>
254# <i>eselect profile list</i>
255Available profile symlink targets:
256 [1] <keyval id="profile"/>
257 [2] <keyval id="profile"/>/desktop
258 [3] <keyval id="profile"/>/no-multilib *
259 [4] <keyval id="profile"/>/server
244</pre> 260</pre>
245 261
246<note> 262<note>
247The <c>developer</c> subprofile is specifically for Gentoo Linux development 263The <c>developer</c> subprofile is specifically for Gentoo Linux development
248tasks. It is <e>not</e> meant to help set up general development environments. 264tasks. It is <e>not</e> meant to help set up general development environments.

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

  ViewVC Help
Powered by ViewVC 1.1.20