source: archive/pre-install-config.xml@ e2abf328

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e2abf328 was 867f383, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Cleanup VIII. GNOME

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10193 af4574ff-66df-0310-9fd7-8a98e5e911e0

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