source: archive/pre-install-config.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="gnome-pre-install-config">
9 <?dbhtml filename="pre-install-config.html"?>
10
11
12 <title>Pre-installation Configuration</title>
13
14 <para>Set an environment variable to resolve the prefix destination.</para>
15
16 <para>If <application>GNOME</application> is your desktop of choice:</para>
17
18<screen><userinput>cat &gt; /etc/profile.d/gnome.sh &lt;&lt; "EOF" &amp;&amp;
19<literal>export GNOME_PREFIX=/usr
20export GNOME_SYSCONFDIR=&gnome-etc-dir;
21export XDG_CONFIG_DIRS=${GNOME_SYSCONFDIR}/xdg
22export XDG_DATA_DIRS=/usr/share:/usr/local/share</literal>
23EOF
24. /etc/profile.d/gnome.sh</userinput></screen>
25
26
27 <para>If you want to try-out <application>GNOME</application>, or install
28 it in an easy-to-remove location:</para>
29
30 <note>
31 <para>You may wish to create a symbolic link to the actual versioned
32 directory using a non-versioned name. This has the advantage of an easier
33 path to type in all the changes below and also makes it easy to point
34 to a different/newer version of GNOME without changing all the edits
35 below. If you wish to use a non-versioned name in the changes below,
36 issue the following commands as the
37 <systemitem class='username'>root</systemitem> user:</para>
38
39<screen role='root'><userinput>install -v -m755 -d /opt/gnome-&gnome-version;&gnome-minor-version; &amp;&amp;
40ln -v -s gnome-&gnome-version;&gnome-minor-version; /opt/gnome</userinput></screen>
41 </note>
42
43 <para>If you created the symbolic link, change all instances of <filename
44 class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
45 to <filename class='directory'>/opt/gnome</filename> in the instructions
46 below.</para>
47
48<screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
49
50 <para>The try-out group will also need to make all the following
51 configuration changes:</para>
52
53 <para>Add to your system or personal profile:</para>
54
55<screen><literal>export PATH=${PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/bin
56export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/pkgconfig
57export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/gnome-&gnome-version;&gnome-minor-version;/share/pkgconfig
58export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
59export PYTHONPATH=${PYTHONPATH}:/usr/lib/python&python2-majorver;/site-packages:/opt/gnome-&gnome-version;/lib/python&python2-majorver;/site-packages</literal></screen>
60
61 <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
62
63<screen role='root'><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
64<literal># Begin gnome addition to /etc/ld.so.conf
65
66/opt/gnome-&gnome-version;&gnome-minor-version;/lib
67
68# End gnome addition</literal>
69EOF</userinput></screen>
70
71 <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
72
73<screen role='root'><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
74<literal># Begin gnome addition to man_db.conf
75
76MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
77
78# End gnome addition to man_db.conf</literal>
79EOF</userinput></screen>
80
81 <tip>
82 <para>Remember to execute <command>ldconfig</command> as the
83 <systemitem class='username'>root</systemitem> user after installation of
84 libraries to update the linker's library cache.</para>
85 </tip>
86
87</sect1>
Note: See TracBrowser for help on using the repository browser.