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 >> /etc/profile.d/extrapaths.sh << "EOF"
|
---|
35 | <literal>
|
---|
36 | # Begin LXQt addition
|
---|
37 |
|
---|
38 | pathappend /opt/lxqt/bin PATH
|
---|
39 | pathappend /opt/lxqt/share/man/ MANPATH
|
---|
40 | pathappend /opt/lxqt/lib/pkgconfig PKG_CONFIG_PATH
|
---|
41 |
|
---|
42 | # End LXQt addition
|
---|
43 | </literal>
|
---|
44 | EOF</userinput></screen>
|
---|
45 |
|
---|
46 | <para>
|
---|
47 | Expand your <filename>/etc/ld.so.conf</filename> file:
|
---|
48 | </para>
|
---|
49 |
|
---|
50 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << "EOF"
|
---|
51 | <literal>
|
---|
52 | # Begin LXQt addition
|
---|
53 |
|
---|
54 | /opt/lxqt/lib
|
---|
55 |
|
---|
56 | # End LXQt addition
|
---|
57 | </literal>
|
---|
58 | EOF</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 &&
|
---|
77 | ln -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;}
|
---|
91 | ln -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>
|
---|