mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
b8edcab87f
Closes #5683. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16307 af4574ff-66df-0310-9fd7-8a98e5e911e0
106 lines
3.3 KiB
XML
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 >> /etc/profile.d/extrapaths.sh << "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 >> /etc/ld.so.conf << "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 &&
|
|
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>
|