source: lxqt/desktop/pre-install.xml@ 1bac25ed

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 1bac25ed was 298fee30, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • Update to LVM2.2.02.128.
  • Update to xf86-input-wacom-0.31.0.
  • Update to eog-3.16.3.
  • More short descriptions from Denis Mugnier.
  • Add upowerd to sddm bootscript, for buttons to work (halt, reboot, etc.).
  • Fix lxdm uninstall target in bootscripts Makefile.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16350 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
49 prefix.
50 </para>
51
52 </sect2>
53
54 <sect2>
55 <title>Installing in /opt/lxqt</title>
56
57 <para>
58 Installing in <filename class="directory">/opt/lxqt</filename> may simplify
59 upgrading to a later version of LXQt.
60 </para>
61
62 <para>
63 Some variables need to be defined in your system profile, as the
64 <systemitem class="username">root</systemitem> user:
65 </para>
66
67<screen role="root"><userinput>install -vdm755 /opt/lxqt/{bin,lib,share/man}</userinput></screen>
68
69<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
70<literal>
71# Begin LXQt addition
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 addition
80</literal>
81EOF</userinput></screen>
82
83 <para>
84 Expand your <filename>/etc/ld.so.conf</filename> file:
85 </para>
86
87<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
88<literal>
89# Begin LXQt addition
90
91/opt/lxqt/lib
92
93# End LXQt addition
94</literal>
95EOF</userinput></screen>
96
97 <para>
98 Before starting to install the packages in the following pages, remember to
99 execute:
100 </para>
101
102<screen><userinput>source /etc/profile</userinput></screen>
103
104 <para>
105 Some packages may also install icons from the "hicolor" icon set. Since
106 that icon set is used by many packages, it is a good idea to create a
107 symlink to the one in <filename class="directory">/usr/share</filename>
108 to avoid having multiple installations of <xref
109 linkend="hicolor-icon-theme"/>. Run the following commands as the
110 <systemitem class="username">root</systemitem> user:
111 </para>
112
113<screen role="root"><userinput>source /etc/profile &amp;&amp;
114install -v -dm755 $LXQT_PREFIX/share/icons &amp;&amp;
115ln -sfv /usr/share/icons/hicolor $LXQT_PREFIX/share/icons</userinput></screen>
116
117
118 <tip>
119 <para>
120 Sometimes, the installation paths are hardcoded into installed files.
121 This is the reason why <filename class="directory">/opt/lxqt</filename>
122 is used as installation prefix instead of <filename
123 class="directory">/opt/lxqt-&lxqt-version;</filename>. After installing
124 <application>LXQt Desktop</application>, you may rename the directory
125 and create a symlink:
126 </para>
127
128<screen role="root"><userinput>mv /opt/lxqt{,-&lxqt-version;}
129ln -sfv lxqt-&lxqt-version; /opt/lxqt</userinput></screen>
130
131 <para>
132 Later on, you may want to install other versions of <application>LXQt
133 Desktop</application>. To do that, just remove the symlink and use
134 <filename class="directory">/opt/lxqt</filename> as the prefix again.
135 Which version of <application>LXQt Desktop</application> you use
136 depends only on where the symlink points. No other reconfiguration will
137 be needed.
138 </para>
139 </tip>
140
141 </sect2>
142
143</sect1>
Note: See TracBrowser for help on using the repository browser.