source: lxqt/desktop/pre-install.xml@ 20f09631

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 20f09631 was 20f09631, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Update to GNOME-3.18.2.
  • Update to libpng-1.6.19.
  • Update to ffmpeg-2.8.2.
  • FFmpeg-2.8.1 does not build with libvpx-1.5.0. same holds for 2.8.2
  • xinit: Nothing has to be anything less yet "nodump".
  • libreoffice: reinstate what should not have been deleted and include verbose, because I like.
  • LXQt pre-install instructions: I do want extra lines here, although who modified implied that they were so bad instructions and he was only trying to improve.
  • openjdk: as agreed but not done, make test suite optional.

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

  • Property mode set to 100644
File size: 4.4 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="lxqt-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 <indexterm zone="lxqt-pre-install">
19 <primary sortas="g-lxqt-pre-install">LXQt Pre-Install</primary>
20 </indexterm>
21 <para>
22 LXQt can be installed in /usr or /opt/lxqt.
23 </para>
24
25 <sect2><title>Installing in /usr</title>
26
27 <para>
28 Installing in <filename class="directory">/usr</filename> creates
29 a simpler setup. Run:</para>
30
31<screen><userinput>export LXQT_PREFIX=/usr</userinput></screen>
32
33 <para>
34 Either add that to your own <filename>.bash_profile</filename>
35 so that it will still be set if you build the packages over a
36 period of time, or else add it to the system profile as the
37 <systemitem class="username">root</systemitem> user:
38 </para>
39
40<screen role="root"><userinput>cat &gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
41<literal># Begin LXQt profile
42
43export LXQT_PREFIX=/usr
44
45# End LXQt profile</literal>
46EOF</userinput></screen>
47
48 <para>
49 The rest of this page is for people who wish to use the alternative
50 prefix.
51 </para>
52
53 </sect2>
54
55 <sect2>
56 <title>Installing in /opt/lxqt</title>
57
58 <para>
59 Installing in <filename class="directory">/opt/lxqt</filename> may
60 simplify upgrading to a later version of LXQt.
61 </para>
62
63 <para>
64 Some variables need to be defined in your system profile, as the
65 <systemitem class="username">root</systemitem> user:
66 </para>
67
68<screen role="root"><userinput>install -vdm755 /opt/lxqt/{bin,lib,share/man}</userinput></screen>
69
70<screen role="root"><userinput>cat &gt; /etc/profile.d/lxqt.sh &lt;&lt; "EOF"
71<literal># Begin LXQt profile
72
73export LXQT_PREFIX=/opt/lxqt
74
75pathappend /opt/lxqt/bin PATH
76pathappend /opt/lxqt/share/man/ MANPATH
77pathappend /opt/lxqt/lib/pkgconfig PKG_CONFIG_PATH
78
79# End LXQt profile</literal>
80EOF</userinput></screen>
81
82 <para>
83 Expand your <filename>/etc/ld.so.conf</filename> file:
84 </para>
85
86<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
87<literal>
88# Begin LXQt addition
89
90/opt/lxqt/lib
91
92# End LXQt addition
93</literal>
94EOF</userinput></screen>
95
96 <para>
97 Before starting to install the packages in the following pages, remember to
98 execute:
99 </para>
100
101<screen><userinput>source /etc/profile</userinput></screen>
102
103 <para>
104 Some packages may also install icons from the "hicolor" icon set. Since
105 that icon set is used by many packages, it is a good idea to create a
106 symlink to the one in <filename class="directory">/usr/share</filename>
107 to avoid having multiple installations of <xref
108 linkend="hicolor-icon-theme"/>. Run the following commands as the
109 <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>source /etc/profile &amp;&amp;
113install -v -dm755 $LXQT_PREFIX/share/icons &amp;&amp;
114ln -sfv /usr/share/icons/hicolor $LXQT_PREFIX/share/icons</userinput></screen>
115
116
117 <tip>
118 <para>
119 Sometimes, the installation paths are hardcoded into installed files.
120 This is the reason why <filename class="directory">/opt/lxqt</filename>
121 is used as installation prefix instead of <filename
122 class="directory">/opt/lxqt-&lxqt-version;</filename>. After installing
123 <application>LXQt Desktop</application>, you may rename the directory
124 and create a symlink:
125 </para>
126
127<screen role="root"><userinput>mv /opt/lxqt{,-&lxqt-version;}
128ln -sfv lxqt-&lxqt-version; /opt/lxqt</userinput></screen>
129
130 <para>
131 Later on, you may want to install other versions of <application>LXQt
132 Desktop</application>. To do that, just remove the symlink and use
133 <filename class="directory">/opt/lxqt</filename> as the prefix again.
134 Which version of <application>LXQt Desktop</application> you use
135 depends only on where the symlink points. No other reconfiguration will
136 be needed.
137 </para>
138 </tip>
139
140 </sect2>
141
142</sect1>
Note: See TracBrowser for help on using the repository browser.