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
RevLine 
[fdca4266]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[fdca4266]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[85b98c3]8<sect1 id="gnome-pre-install-config">
[9ad96f5]9 <?dbhtml filename="pre-install-config.html"?>
[d1ea01e3]10
[23abb34]11
[9ad96f5]12 <title>Pre-installation Configuration</title>
[23abb34]13
[15a1fed9]14 <para>Set an environment variable to resolve the prefix destination.</para>
[23abb34]15
[9ad96f5]16 <para>If <application>GNOME</application> is your desktop of choice:</para>
[23abb34]17
[8d3eae9]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;
[31b1acd]21export XDG_CONFIG_DIRS=${GNOME_SYSCONFDIR}/xdg
[8d3eae9]22export XDG_DATA_DIRS=/usr/share:/usr/local/share</literal>
23EOF
24. /etc/profile.d/gnome.sh</userinput></screen>
25
[26a12b5]26
[9ad96f5]27 <para>If you want to try-out <application>GNOME</application>, or install
[3b269b9]28 it in an easy-to-remove location:</para>
[b394e5f7]29
[9761bea4]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
[790998f]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>
[9761bea4]41 </note>
42
43 <para>If you created the symbolic link, change all instances of <filename
[790998f]44 class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
[9761bea4]45 to <filename class='directory'>/opt/gnome</filename> in the instructions
46 below.</para>
[d1ea01e3]47
[790998f]48<screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
[d1ea01e3]49
[15a1fed9]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
[31b1acd]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
[4a96d460]58export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
[002bf11]59export PYTHONPATH=${PYTHONPATH}:/usr/lib/python&python2-majorver;/site-packages:/opt/gnome-&gnome-version;/lib/python&python2-majorver;/site-packages</literal></screen>
[d1ea01e3]60
[15a1fed9]61 <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
[d1ea01e3]62
[9ad96f5]63<screen role='root'><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
[15a1fed9]64<literal># Begin gnome addition to /etc/ld.so.conf
[d1ea01e3]65
[790998f]66/opt/gnome-&gnome-version;&gnome-minor-version;/lib
[d1ea01e3]67
[15a1fed9]68# End gnome addition</literal>
[9ad96f5]69EOF</userinput></screen>
[d1ea01e3]70
[58c6057]71 <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
[d1ea01e3]72
[58c6057]73<screen role='root'><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
74<literal># Begin gnome addition to man_db.conf
[d1ea01e3]75
[790998f]76MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
[d1ea01e3]77
[58c6057]78# End gnome addition to man_db.conf</literal>
[9ad96f5]79EOF</userinput></screen>
[d1ea01e3]80
[9761bea4]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
[d1ea01e3]87</sect1>
Note: See TracBrowser for help on using the repository browser.