source: archive/pre-install-config.xml@ 45ab6c7

11.0 qt5new trunk
Last change on this file since 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 5 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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