source: lxqt/desktop/pre-install.xml@ 2341740

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 2341740 was 2341740, checked in by Pierre Labastie <pieere@…>, 8 years ago

Tentatively improve LXQt pre-install instructions page:

  • Remove extra lines in <literal> sections
  • change >> to > for creating the LXQt profile script
  • Change id to "lxqt-pre-install" instead of "pre-install"

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

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