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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 e49abaf8 was 3368ef4, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Add caution to LXQt Desktop Pre-Install Instructions to
ensure a UTF-8 locale is set.

Make KF5/Plasma packages needed for lxqt explicit.

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

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