[5af3a383] | 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
|
---|
[7c4f32b] | 23 | the latter in the BLFS environment. The former has not been tested in
|
---|
[5af3a383] | 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/share/man/ MANPATH
|
---|
| 39 | pathappend /opt/lxqt/bin
|
---|
| 40 |
|
---|
| 41 | # End LXQt addition
|
---|
| 42 | </literal>
|
---|
| 43 | EOF</userinput></screen>
|
---|
| 44 |
|
---|
| 45 | <para>
|
---|
| 46 | Expand your <filename>/etc/ld.so.conf</filename> file:
|
---|
| 47 | </para>
|
---|
| 48 |
|
---|
| 49 | <screen role="root"><userinput>cat >> /etc/ld.so.conf << "EOF"
|
---|
| 50 | <literal>
|
---|
| 51 | # Begin LXQt addition
|
---|
| 52 |
|
---|
| 53 | /opt/lxqt/lib
|
---|
| 54 |
|
---|
| 55 | # End LXQt addition
|
---|
| 56 | </literal>
|
---|
| 57 | EOF</userinput></screen>
|
---|
| 58 |
|
---|
| 59 | <para>
|
---|
| 60 | Before starting to install the packages in the following pages, remember to
|
---|
| 61 | execute:
|
---|
| 62 | </para>
|
---|
| 63 |
|
---|
| 64 | <screen><userinput>source /etc/profile</userinput></screen>
|
---|
| 65 |
|
---|
| 66 | <para>
|
---|
| 67 | Some packages may also install icons from the "hicolor" icon set. Since
|
---|
| 68 | that icon set is used by many packages, it is a good idea to create a
|
---|
| 69 | symlink to the one in <filename class="directory">/usr/share</filename>
|
---|
| 70 | to avoid having multiple installations of <xref
|
---|
| 71 | linkend="hicolor-icon-theme"/>. Run the following commands as the
|
---|
| 72 | <systemitem class="username">root</systemitem> user:
|
---|
| 73 | </para>
|
---|
| 74 |
|
---|
| 75 | <screen role="root"><userinput>install -v -dm755 /opt/lxqt/share/icons &&
|
---|
| 76 | ln -sfv /usr/share/icons/hicolor /opt/lxqt/share/icons</userinput></screen>
|
---|
| 77 |
|
---|
| 78 |
|
---|
| 79 | <tip>
|
---|
| 80 | <para>
|
---|
| 81 | Sometimes, the installation paths are hardcoded into installed files.
|
---|
| 82 | This is the reason why <filename class="directory">/opt/lxqt</filename>
|
---|
| 83 | is used as installation prefix instead of <filename
|
---|
| 84 | class="directory">/opt/lxqt-&lxqt-version;</filename>. After installing
|
---|
| 85 | <application>LXQt Desktop</application>, you may rename the directory
|
---|
| 86 | and create a symlink:
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <screen role="root"><userinput>mv /opt/lxqt{,-&lxqt-version;}
|
---|
| 90 | ln -sfv lxqt-&lxqt-version; /opt/lxqt</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
| 93 | Later on, you may want to install other versions of <application>LXQt
|
---|
| 94 | Desktop</application>. To do that, just remove the symlink and use
|
---|
| 95 | <filename class="directory">/opt/lxqt</filename> as the prefix again.
|
---|
| 96 | Which version of <application>LXQt Desktop</application> you use
|
---|
| 97 | depends only on where the symlink points. No other reconfiguration will
|
---|
| 98 | be needed.
|
---|
| 99 | </para>
|
---|
| 100 | </tip>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | </sect1>
|
---|