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

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 b8edcab8 was b8edcab8, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • LXQt: some rewording for the sed command explanations suggested by Douglas. Closes #5683.

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

  • Property mode set to 100644
File size: 3.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 <sect2>
19 <title>Installing in /opt/lxqt</title>
20
21 <para>
22 LXQt can be installed in /usr or /opt/lxqt. The BLFS editors recommend
23 the latter in the BLFS environment. The former has not been tested in
24 BLFS.
25 </para>
26
27 <para>
28 Some variables need to be defined in your system profile, as the
29 <systemitem class="username">root</systemitem> user:
30 </para>
31
32<screen role="root"><userinput>install -vdm755 /opt/lxqt/{bin,lib,share/man}</userinput></screen>
33
34<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
35<literal>
36# Begin LXQt addition
37
38pathappend /opt/lxqt/bin PATH
39pathappend /opt/lxqt/share/man/ MANPATH
40pathappend /opt/lxqt/lib/pkgconfig PKG_CONFIG_PATH
41
42# End LXQt addition
43</literal>
44EOF</userinput></screen>
45
46 <para>
47 Expand your <filename>/etc/ld.so.conf</filename> file:
48 </para>
49
50<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
51<literal>
52# Begin LXQt addition
53
54/opt/lxqt/lib
55
56# End LXQt addition
57</literal>
58EOF</userinput></screen>
59
60 <para>
61 Before starting to install the packages in the following pages, remember to
62 execute:
63 </para>
64
65<screen><userinput>source /etc/profile</userinput></screen>
66
67 <para>
68 Some packages may also install icons from the "hicolor" icon set. Since
69 that icon set is used by many packages, it is a good idea to create a
70 symlink to the one in <filename class="directory">/usr/share</filename>
71 to avoid having multiple installations of <xref
72 linkend="hicolor-icon-theme"/>. Run the following commands as the
73 <systemitem class="username">root</systemitem> user:
74 </para>
75
76<screen role="root"><userinput>install -v -dm755 /opt/lxqt/share/icons &amp;&amp;
77ln -sfv /usr/share/icons/hicolor /opt/lxqt/share/icons</userinput></screen>
78
79
80 <tip>
81 <para>
82 Sometimes, the installation paths are hardcoded into installed files.
83 This is the reason why <filename class="directory">/opt/lxqt</filename>
84 is used as installation prefix instead of <filename
85 class="directory">/opt/lxqt-&lxqt-version;</filename>. After installing
86 <application>LXQt Desktop</application>, you may rename the directory
87 and create a symlink:
88 </para>
89
90<screen role="root"><userinput>mv /opt/lxqt{,-&lxqt-version;}
91ln -sfv lxqt-&lxqt-version; /opt/lxqt</userinput></screen>
92
93 <para>
94 Later on, you may want to install other versions of <application>LXQt
95 Desktop</application>. To do that, just remove the symlink and use
96 <filename class="directory">/opt/lxqt</filename> as the prefix again.
97 Which version of <application>LXQt Desktop</application> you use
98 depends only on where the symlink points. No other reconfiguration will
99 be needed.
100 </para>
101 </tip>
102
103 </sect2>
104
105</sect1>
Note: See TracBrowser for help on using the repository browser.