source: lxqt/desktop/pre-install.xml@ 6073ef0

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 6073ef0 was 6073ef0, checked in by Ken Moffat <ken@…>, 9 years ago

Use $LXQT_PREFIX (can be /usr) in lxqt instead of forcing /opt/lxqt. I am not pleased by my ugly changes to the Final configuration part of the Post-Install instructions, but I think they will work and not do any harm.

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

  • Property mode set to 100644
File size: 4.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE chapter 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="pre-install" xreflabel="LXQt Pre-Install">
9 <?dbhtml filename="pre-install.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>LXQt Desktop Pre-Install Instructions</title>
17
18 <para>
19 LXQt can be installed in /usr or /opt/lxqt.
20 </para>
21
22 <sect2><title>Installing in /usr</title>
23
24 <para>
25 Installing in <filename class="directory">/usr</filename> creates
26 a simpler setup. Run:</para>
27
28<screen><userinput>export LXQT_PREFIX=/usr</userinput></screen>
29
30 <para>
31 Either add that to your own <filename>.bash_profile</filename>
32 so that it will still be set if you build the packages over a
33 period of time, or else add it to the system profile as the
34 <systemitem class="username">root</systemitem> user:
35 </para>
36
37<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
38<literal>
39# Begin LXQt addition
40
41export LXQT_PREFIX=/usr
42
43# End LXQt addition
44</literal>
45EOF</userinput></screen>
46
47 <para>
48 The rest of this page is for people who wish to use the alternative prefix.
49 </para>
50
51 </sect2>
52
53 <sect2>
54 <title>Installing in /opt/lxqt</title>
55
56 <para>
57 Installing in <filename class="directory">/opt/lxqt</filename> may simplify
58 upgrading to a later version of LXQT.
59 </para>
60
61 <para>
62 Some variables need to be defined in your system profile, as the
63 <systemitem class="username">root</systemitem> user:
64 </para>
65
66<screen role="root"><userinput>install -vdm755 /opt/lxqt/{bin,lib,share/man}</userinput></screen>
67
68<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
69<literal>
70# Begin LXQt addition
71
72export LXQT_PREFIX=/opt/lxqt
73
74pathappend /opt/lxqt/bin PATH
75pathappend /opt/lxqt/share/man/ MANPATH
76pathappend /opt/lxqt/lib/pkgconfig PKG_CONFIG_PATH
77
78# End LXQt addition
79</literal>
80EOF</userinput></screen>
81
82 <para>
83 Expand your <filename>/etc/ld.so.conf</filename> file:
84 </para>
85
86<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
87<literal>
88# Begin LXQt addition
89
90/opt/lxqt/lib
91
92# End LXQt addition
93</literal>
94EOF</userinput></screen>
95
96 <para>
97 Before starting to install the packages in the following pages, remember to
98 execute:
99 </para>
100
101<screen><userinput>source /etc/profile</userinput></screen>
102
103 <para>
104 Some packages may also install icons from the "hicolor" icon set. Since
105 that icon set is used by many packages, it is a good idea to create a
106 symlink to the one in <filename class="directory">/usr/share</filename>
107 to avoid having multiple installations of <xref
108 linkend="hicolor-icon-theme"/>. Run the following commands as the
109 <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>source /etc/profile &amp;&amp;
113install -v -dm755 $LXQT_PREFIX/share/icons &amp;&amp;
114ln -sfv /usr/share/icons/hicolor $LXQT_PREFIX/share/icons</userinput></screen>
115
116
117 <tip>
118 <para>
119 Sometimes, the installation paths are hardcoded into installed files.
120 This is the reason why <filename class="directory">/opt/lxqt</filename>
121 is used as installation prefix instead of <filename
122 class="directory">/opt/lxqt-&lxqt-version;</filename>. After installing
123 <application>LXQt Desktop</application>, you may rename the directory
124 and create a symlink:
125 </para>
126
127<screen role="root"><userinput>mv /opt/lxqt{,-&lxqt-version;}
128ln -sfv lxqt-&lxqt-version; /opt/lxqt</userinput></screen>
129
130 <para>
131 Later on, you may want to install other versions of <application>LXQt
132 Desktop</application>. To do that, just remove the symlink and use
133 <filename class="directory">/opt/lxqt</filename> as the prefix again.
134 Which version of <application>LXQt Desktop</application> you use
135 depends only on where the symlink points. No other reconfiguration will
136 be needed.
137 </para>
138 </tip>
139
140 </sect2>
141
142</sect1>
Note: See TracBrowser for help on using the repository browser.