glfs/lxqt/desktop/pre-install.xml
Fernando de Oliveira d8efa96089 • Qt-5.5.0 and Qt-4.8.7: fix gst10-plugins-base location.
• Midori-0.5.10: s/Estimated build time: 0.6/& SBU/.
• lxqt-common-0.9.1: s:gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor:xdg-icon-resource forceupdate --theme hicolor:.
• LXQt Desktop Pre-Install Instructions: fix addition to /etc/profile.d/extrapaths.sh.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16258 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-07-17 23:28:25 +00:00

106 lines
3.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
]>
<sect1 id="pre-install" xreflabel="LXQt Pre-Install">
<?dbhtml filename="pre-install.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>LXQt Desktop Pre-Install Instructions</title>
<sect2>
<title>Installing in /opt/lxqt</title>
<para>
LXQt can be installed in /usr or /opt/lxqt. The BLFS editors recommend
the latter in the BLFS environment. The former has not been tested in
BLFS.
</para>
<para>
Some variables need to be defined in your system profile, as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>install -vdm755 /opt/lxqt/{bin,lib,share/man}</userinput></screen>
<screen role="root"><userinput>cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; "EOF"
<literal>
# Begin LXQt addition
pathappend /opt/lxqt/bin PATH
pathappend /opt/lxqt/share/man/ MANPATH
pathappend /opt/lxqt/lib/pkgconfig PKG_CONFIG_PATH
# End LXQt addition
</literal>
EOF</userinput></screen>
<para>
Expand your <filename>/etc/ld.so.conf</filename> file:
</para>
<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
<literal>
# Begin LXQt addition
/opt/lxqt/lib
# End LXQt addition
</literal>
EOF</userinput></screen>
<para>
Before starting to install the packages in the following pages, remember to
execute:
</para>
<screen><userinput>source /etc/profile</userinput></screen>
<para>
Some packages may also install icons from the "hicolor" icon set. Since
that icon set is used by many packages, it is a good idea to create a
symlink to the one in <filename class="directory">/usr/share</filename>
to avoid having multiple installations of <xref
linkend="hicolor-icon-theme"/>. Run the following commands as the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>install -v -dm755 /opt/lxqt/share/icons &amp;&amp;
ln -sfv /usr/share/icons/hicolor /opt/lxqt/share/icons</userinput></screen>
<tip>
<para>
Sometimes, the installation paths are hardcoded into installed files.
This is the reason why <filename class="directory">/opt/lxqt</filename>
is used as installation prefix instead of <filename
class="directory">/opt/lxqt-&lxqt-version;</filename>. After installing
<application>LXQt Desktop</application>, you may rename the directory
and create a symlink:
</para>
<screen role="root"><userinput>mv /opt/lxqt{,-&lxqt-version;}
ln -sfv lxqt-&lxqt-version; /opt/lxqt</userinput></screen>
<para>
Later on, you may want to install other versions of <application>LXQt
Desktop</application>. To do that, just remove the symlink and use
<filename class="directory">/opt/lxqt</filename> as the prefix again.
Which version of <application>LXQt Desktop</application> you use
depends only on where the symlink points. No other reconfiguration will
be needed.
</para>
</tip>
</sect2>
</sect1>