Changeset d260aaf4


Ignore:
Timestamp:
01/30/2005 05:59:50 PM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
Children:
c2688a0
Parents:
370f305
Message:

Separated root installation commands in packages already indexed (first pass)

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

Files:
13 edited

Legend:

Unmodified
Added
Removed
  • general/prog/doxygen.xml

    r370f305 rd260aaf4  
    7676<screen><userinput><command>rm src/unistd.h &amp;&amp;
    7777./configure --prefix /usr --docdir /usr/share/doc &amp;&amp;
    78 make &amp;&amp;
    79 make install</command></userinput></screen>
     78make</command></userinput></screen>
     79
     80<para>Now, as the root user:</para>
     81
     82<screen><userinput role='root'><command>make install</command></userinput></screen>
    8083
    8184<para>If you wish to generate and install the package documentation, ensure
     
    8386following commands for the <command>make install</command> command above:</para>
    8487
    85 <screen><userinput><command>make docs &amp;&amp;
     88<screen><userinput role='root'><command>make docs &amp;&amp;
    8689make pdf &amp;&amp;
    8790install -d -m755 /usr/share/doc/doxygen/src &amp;&amp;
  • general/prog/expect.xml

    r370f305 rd260aaf4  
    134134<seg>autoexpect, autopasswd, cryptdir, decryptdir, dislocate, expect, ftp-rfc,
    135135kibitz, lpunlock, mkpasswd, passmass, rftp, rlogin-cwd, timed-read, timed-run,
    136 unbuffer, weather and optionally (if <application>expect</application> was
     136unbuffer, weather and optionally (if <application>Expect</application> was
    137137linked against <application>Tk</application>), expectk, multixterm,
    138138tknewsbiff, tkpasswd, xkibitz and xpstat</seg>
  • general/prog/gcc3.xml

    r370f305 rd260aaf4  
    7373    --enable-shared --enable-languages=c,c++ \
    7474    --enable-threads=posix &amp;&amp;
    75 make bootstrap &amp;&amp;
    76 make install &amp;&amp;
     75make bootstrap</command></userinput></screen>
     76
     77<para>Now, as the root user:</para>
     78
     79<screen><userinput role='root'><command>make install &amp;&amp;
    7780mv /opt/gcc-&gcc3-version;/lib/libstdc++.so.5* /usr/lib &amp;&amp;
    7881ln -sf /usr/lib/libstdc++.so.5.0.6 /opt/gcc-&gcc3-version;/lib &amp;&amp;
  • general/sysutils/gpm.xml

    r370f305 rd260aaf4  
    6969patch -Np1 -i ../gpm-&gpm-version;-silent-1.patch &amp;&amp;
    7070LDFLAGS="-lm" ./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
    71 make &amp;&amp;
    72 make install &amp;&amp;
     71make</command></userinput></screen>
     72
     73<para>Now, as the root user:</para>
     74
     75<screen><userinput role='root'><command>make install &amp;&amp;
    7376cp conf/gpm-root.conf /etc &amp;&amp;
    7477ldconfig</command></userinput></screen>
     
    98101<xref linkend="intro-important-bootscripts"/> package.</para>
    99102
    100 <screen><userinput><command>make install-gpm</command></userinput></screen>
     103<screen><userinput role='root'><command>make install-gpm</command></userinput></screen>
    101104</sect3>
    102105
     
    109112<para><filename>/etc/sysconfig/mouse</filename>:
    110113This file contains the name of your mouse device and the protocol which
    111 it uses.  To create this file, run the following:</para>
    112 
    113 <screen><userinput><command>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"</command>
     114it uses.  To create this file, run the following as the root user:</para>
     115
     116<screen><userinput role='root'><command>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"</command>
    114117# Begin /etc/sysconfig/mouse
    115118
  • introduction/important/bootscripts.xml

    r370f305 rd260aaf4  
    3838directory around until completion of your <acronym>BLFS</acronym> system. When
    3939a script is requested from blfs-bootscripts, simply change to the directory
    40 and execute the given
     40and as the root user, execute the given
    4141<command>make install-<replaceable>[init-script]</replaceable></command>
    4242command. This command installs the init script to its proper location (along
  • introduction/welcome/changelog.xml

    r370f305 rd260aaf4  
    2222
    2323<itemizedlist>
     24
     25<listitem><para>January 30th, 2005 [randy]: Separated root installation
     26commands from build commands in packages already indexed.</para></listitem>
    2427
    2528<listitem><para>January 29th, 2005 [randy]: Added vulnerability fix patch to
  • postlfs/config/autofs.xml

    r370f305 rd260aaf4  
    1515<sect1 id="autofs" xreflabel="autofs-&autofs-version;">
    1616<sect1info>
    17 <othername>$LastChangedBy: randy $</othername>
    18 <date>$Date: 2004-10-15 13:14:25 -0500 (Fri, 15 Oct 2004) $</date>
     17<othername>$LastChangedBy$</othername>
     18<date>$Date$</date>
    1919</sect1info>
    2020<?dbhtml filename="autofs.html"?>
     
    6666</sect2>
    6767
    68 <sect2>
     68<sect2 id="autofs-kernel">
    6969<title>Installation of <application>autofs</application></title>
     70<indexterm zone="autofs autofs-kernel">
     71<primary sortas="d-Automounter">Automounter</primary></indexterm>
    7072
    7173<para>Verify that kernel support has been compiled in or built as
     
    8284
    8385<screen><userinput><command>./configure --prefix=/ --mandir=/usr/share/man &amp;&amp;
    84 make &amp;&amp;
    85 make install &amp;&amp;
     86make</command></userinput></screen>
     87
     88<para>Now, as the root user:</para>
     89
     90<screen><userinput role='root'><command>make install &amp;&amp;
    8691rm /etc/rc.d/init.d/autofs</command></userinput></screen>
    8792
     
    123128commands.
    124129
    125 <screen><userinput><command>mv /etc/auto.master /etc/auto.master.bak &amp;&amp;
     130<screen><userinput role='root'><command>mv /etc/auto.master /etc/auto.master.bak &amp;&amp;
    126131cat &gt; /etc/auto.master &lt;&lt; "EOF"</command>
    127132# Begin /etc/auto.master
     
    157162<primary sortas="f-autofs-init">autofs</primary></indexterm>
    158163
    159 <screen><userinput><command>make install-autofs</command></userinput></screen>
     164<screen><userinput role='root'><command>make install-autofs</command></userinput></screen>
    160165
    161166<para>The time-out variable is set in
  • postlfs/shells/ash.xml

    r370f305 rd260aaf4  
    6565
    6666<screen><userinput><command>patch -Np1 -i ../ash-0.4.0-cumulative_fixes-1.patch &amp;&amp;
    67 make &amp;&amp;
    68 install -m 755 sh /bin/ash &amp;&amp;
     67make</command></userinput></screen>
     68
     69<para>Now, as the root user:</para>
     70
     71<screen><userinput role='root'><command>install -m 755 sh /bin/ash &amp;&amp;
    6972install -m 644 sh.1 /usr/share/man/man1/ash.1</command></userinput></screen>
    7073
     
    9699<segmentedlist>
    97100<segtitle>Installed Program</segtitle>
     101<segtitle>Installed Libraries</segtitle>
     102<segtitle>Installed Directories</segtitle>
    98103<seglistitem>
    99104<seg>ash</seg>
     105<seg>None</seg>
     106<seg>None</seg>
    100107</seglistitem>
    101108</segmentedlist>
  • pst/ps/fop.xml

    r370f305 rd260aaf4  
    9999<sect3><title>Installing <acronym>JAI</acronym></title>
    100100<para>Install the <acronym>JAI</acronym> components by running the following
    101 commands while in the root of the
     101commands as the root user while in the root of the
    102102<application><acronym>FOP</acronym></application> source tree:</para>
    103103
    104 <screen><userinput><command>chmod 755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin &amp;&amp;
     104<screen><userinput role='root'><command>chmod 755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin &amp;&amp;
    105105FOP_BUILD_DIR=$(pwd) &amp;&amp;
    106106cd $JAVA_HOME &amp;&amp;
     
    115115
    116116<screen><userinput><command>./build.sh &amp;&amp;
    117 sed -i -e "s/build/lib/" fop.sh &amp;&amp;
    118 install -v -d -m755 \
     117sed -i -e "s/build/lib/" fop.sh</command></userinput></screen>
     118
     119<para>Now, as the root user:</para>
     120
     121<screen><userinput role='root'><command>install -v -d -m755 \
    119122    /opt/fop-&fop-version;/{bin,lib,docs/{general,lib,site}} &amp;&amp;
    120123install -v -m755 fop.sh /opt/fop-&fop-version;/bin &amp;&amp;
     
    145148
    146149<para>If you don't have the <application>Batik</application> package installed,
    147 run the following commands:</para>
    148 
    149 <screen><userinput><command>install -v -m644 lib/batik.jar /opt/fop-&fop-version;/lib &amp;&amp;
     150run the following commands as the root user:</para>
     151
     152<screen><userinput role='root'><command>install -v -m644 lib/batik.jar /opt/fop-&fop-version;/lib &amp;&amp;
    150153install -v -m644 lib/batik.LICENSE.txt \
    151154    /opt/fop-&fop-version;/docs/lib</command></userinput></screen>
     
    169172<para>If you wish to install the <application>Xalan-Java</application>
    170173components provided by the <application><acronym>FOP</acronym></application>
    171 package, run the following commands:</para>
    172 
    173 <screen><userinput><command>sed -i -e "s/build/lib/" xalan.sh &amp;&amp;
     174package, run the following commands as the root user:</para>
     175
     176<screen><userinput role='root'><command>sed -i -e "s/build/lib/" xalan.sh &amp;&amp;
    174177install -v -m755 xalan.sh /opt/fop-&fop-version;/bin &amp;&amp;
    175178install -v -m644 lib/xml-apis.jar \
  • pst/sgml/docbook-utils.xml

    r370f305 rd260aaf4  
    152152<term><command>db2*</command></term>
    153153<listitem><para>are symlinks pointing at the respectively named
    154 <command>docbook2*</command> commands, created to satisfy some programs
     154<command>docbook2*</command> commands, created to satisfy some program's
    155155use of these names.</para>
    156156<indexterm zone="docbook-utils db2">
  • pst/typesetting/jadetex.xml

    r370f305 rd260aaf4  
    99  <!ENTITY jadetex-size          "103 KB">
    1010  <!ENTITY jadetex-buildsize     "9.6 MB">
    11   <!ENTITY jadetex-time          ".11 SBU">
     11  <!ENTITY jadetex-time          "0.11 SBU">
    1212]>
    1313
     
    5656<title>Installation of <application>JadeTeX</application></title>
    5757
    58 <para>Install <application>JadeTex</application> by running the following
    59 commands:</para>
    60 
    61 <screen><userinput><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
     58<para>First, as the root user, make some required modifications to files
     59already installed on the system:</para>
     60
     61<screen><userinput role='root'><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
    6262   /usr/share/texmf/web2c/texmf.cnf</command></userinput></screen>
    6363
     
    6767hog...</quote>:</para>
    6868
    69 <screen><userinput>pool_size.context = 750000</userinput></screen>
     69<screen><userinput role='root'>pool_size.context = 750000</userinput></screen>
    7070
    7171<para>Next, add <command>latex</command>, <command>jadetex</command> and
    7272<command>pdfjadetex</command> settings using the following command:</para>
    7373
    74 <screen><userinput><command>cat &gt;&gt; /usr/share/texmf/web2c/texmf.cnf &lt;&lt; "EOF"</command>
     74<screen><userinput role='root'><command>cat &gt;&gt; /usr/share/texmf/web2c/texmf.cnf &lt;&lt; "EOF"</command>
    7575
    7676% The following 3 sections added for JadeTeX
     
    114114<command>EOF</command></userinput></screen>
    115115
    116 <para>Rebuild and install a new <filename>latex.fmt</filename> file using the
    117 following commands:</para>
    118 
    119 <screen><userinput><command>cp -R /usr/share/texmf/tex/latex/config . &amp;&amp;
     116<para>Build a new <filename>latex.fmt</filename> file using the following
     117commands:</para>
     118
     119<screen><userinput><command>cp -v -R /usr/share/texmf/tex/latex/config . &amp;&amp;
    120120cd config &amp;&amp;
    121121tex -ini -progname=latex latex.ini &amp;&amp;
    122 mv /usr/share/texmf/web2c/latex.fmt \
     122cd ..</command></userinput></screen>
     123
     124<para>Now, as the root user, install the <filename>latex.fmt</filename> file,
     125then build and install <application>JadeTex</application> using the following
     126commands:</para>
     127
     128<screen><userinput role='root'><command>mv /usr/share/texmf/web2c/latex.fmt \
    123129   /usr/share/texmf/web2c/latex.fmt.orig &amp;&amp;
    124 install -m 644 latex.fmt /usr/share/texmf/web2c &amp;&amp;
    125 cd ..</command></userinput></screen>
    126 
    127 <para>Finally, build and install <application>JadeTex</application> using the
    128 following commands:</para>
    129 
    130 <screen><userinput><command>make install &amp;&amp;
    131 ln -sf tex /usr/bin/jadetex &amp;&amp;
    132 ln -sf pdftex /usr/bin/pdfjadetex &amp;&amp;
     130install -v -m644 config/latex.fmt /usr/share/texmf/web2c &amp;&amp;
     131make install &amp;&amp;
     132ln -v -sf tex /usr/bin/jadetex &amp;&amp;
     133ln -v -sf pdftex /usr/bin/pdfjadetex &amp;&amp;
    133134mktexlsr</command></userinput></screen>
    134135
     
    143144overwritten.</para>
    144145
    145 <para><command>ln -sf tex ...; ln -sf pdftex ...; mktexlsr</command>: The
     146<para><command>ln -v -sf tex ...; ln -v -sf pdftex ...; mktexlsr</command>: The
    146147<application>JadeTeX</application> programs are actually just symlinks to the
    147148<application>TeX</application> programs. <command>mktexlsr</command> updates
     
    165166
    166167<para>If you need to modify the default <application>JadeTeX</application>
    167 macro settings, see the <ulink
    168 url="http://jadetex.sourceforge.net/#index-div-d18e397">
     168macro settings, see the
     169<ulink url="http://jadetex.sourceforge.net/#index-div-d18e397">
    169170<application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para>
    170171</sect3>
     
    177178<segmentedlist>
    178179<segtitle>Installed Programs</segtitle>
     180<segtitle>Installed Libraries</segtitle>
     181<segtitle>Installed Directories</segtitle>
    179182<seglistitem>
    180183<seg>jadetex and pdfjadetex</seg>
     184<seg>None</seg>
     185<seg>/usr/share/texmf/tex/jadetex</seg>
    181186</seglistitem>
    182187</segmentedlist>
  • pst/typesetting/tex.xml

    r370f305 rd260aaf4  
    44  %general-entities;
    55
     6  <!ENTITY tex-download-http     " ">
    67  <!ENTITY tex-download-ftp      "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-&tex-version;.tar.gz">
    78  <!ENTITY texmf-download-ftp    "ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-&tex-version;.tar.gz">
     
    3536<sect3><title>Package information</title>
    3637<itemizedlist spacing='compact'>
    37 <listitem><para>Required Download (FTP): <ulink
    38 url="&tex-download-ftp;"/></para></listitem>
    39 <listitem><para>Required Download (FTP): <ulink
    40 url="&texmf-download-ftp;"/></para></listitem>
    41 <listitem><para>Optional Download (FTP): <ulink
    42 url="&texmfsrc-download-ftp;"/></para></listitem>
     38<listitem><para>Download (HTTP):
     39<ulink url="&tex-download-http;"/></para></listitem>
     40<listitem><para>Download (FTP):
     41<ulink url="&tex-download-ftp;"/></para></listitem>
    4342<listitem><para>Download size:
    4443&tex-size; (&tex-optional-size; with optional tarball)</para></listitem>
    45 <listitem><para>Estimated disk space required:
     44<listitem><para>Estimated disk space required: 
    4645&tex-buildsize; (&tex-optional-buildsize; with optional tarball)</para>
    4746</listitem>
    48 <listitem><para>Estimated build time:
     47<listitem><para>Estimated build time: 
    4948&tex-time;</para></listitem></itemizedlist>
    5049</sect3>
     
    5251<sect3><title>Additional Downloads</title>
    5352<itemizedlist spacing='compact'>
    54 <listitem><para>Required Patch (if using Glibc >2.3.3): <ulink
    55 url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para>
    56 </listitem>
     53<listitem><para>Required macros and fonts:
     54<ulink url="&texmf-download-ftp;"/></para></listitem>
     55<listitem><para>Optional <filename>texmf</filename> sources:
     56<ulink url="&texmfsrc-download-ftp;"/></para></listitem>
     57<listitem><para>Required Patch: <ulink
     58url="&patch-root;/tetex-src-&tex-version;-flex-1.patch"/></para></listitem>
    5759<listitem><para>Recommended Patch: <ulink
    5860url="&patch-root;/tetex-src-&tex-version;-remove_readlink-1.patch"/></para>
     
    8284<title>Installation of <application>TeX</application></title>
    8385
     86<!--
    8487<para><application>TeX</application> is installed from the source directory
    8588(usually <filename class="directory">/usr/src</filename>) and untarring
     
    8790have already untarred the package. The source directory should contain
    8891the two required packages and the optional package, if desired.</para>
     92-->
     93
     94<para>Before building <application>TeX</application>, the macros and fonts
     95package (<filename>texmf</filename> tarball) must be installed. Install the
     96macros and fonts using the following commands as the root user:</para>
     97
     98<screen><userinput role='root'><command>install -v -d -m755 /usr/share/texmf &amp;&amp;
     99gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
     100    | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
     101
     102<para>If the optional <filename>texmf</filename> source code
     103<acronym>TAR</acronym> ball was downloaded, untar it now as the root
     104user:</para>
     105
     106<screen><userinput role='root'><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
     107    | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
    89108
    90109<para>Install <application>TeX</application> by running the following
    91110commands:</para>
    92 
    93 <screen><userinput><command>mkdir -p /usr/share/texmf &amp;&amp;
    94 tar -zxf tetex-src-&tex-version;.tar.gz &amp;&amp;
    95 cd tetex-src-&tex-version; &amp;&amp;
    96 gzip -dc ../tetex-texmf-&tex-version;.tar.gz \
    97       | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
    98 
    99 <para>If the optional <filename>texmf</filename> source code
    100 <acronym>TAR</acronym> ball was downloaded, untar it now:</para>
    101 
    102 <screen><userinput><command>gzip -dc ../tetex-texmfsrc-&tex-version;.tar.gz \
    103       | (umask 0; cd /usr/share/texmf; tar -xf -)</command></userinput></screen>
    104 
    105 <para>Continue with the installation:</para>
    106111
    107112<screen><userinput><command>patch -Np1 -i ../tetex-src-&tex-version;-flex-1.patch &amp;&amp;
    108113patch -Np1 -i ../tetex-src-&tex-version;-remove_readlink-1.patch &amp;&amp;
    109114./configure --with-x=no --prefix=/usr \
    110     --without-texinfo   --with-system-ncurses --with-system-zlib \
     115    --without-texinfo --with-system-ncurses --with-system-zlib \
    111116    --exec-prefix=/usr --bindir=/usr/bin &amp;&amp;
    112 make world &amp;&amp;
     117make all</command></userinput></screen>
     118
     119<para>Now, as the root user:</para>
     120
     121<screen><userinput role='root'><command>make install &amp;&amp;
    113122texconfig dvips paper letter &amp;&amp;
    114123texconfig font rw</command></userinput></screen>
     
    121130<sect2>
    122131<title>Installation command explanations</title>
    123 
    124 <para><command>gzip -dc ../tetex-texmf-&tex-version;.tar.gz | ...</command>:
    125 Untar the <application>TeX</application> fonts and macro libraries.</para>
    126132
    127133<para><option>--with-x=no</option>: This switch will avoid any
     
    138144<para><parameter>--without-texinfo</parameter>: A default
    139145<acronym>LFS</acronym> installation already has the
    140 <application>texinfo</application> package installed; this switch will avoid
    141 overwriting it with the included <application>texinfo</application>
     146<application>Texinfo</application> package installed; this switch will avoid
     147overwriting it with the included <application>Texinfo</application>
    142148package.</para>
    143149
  • x/wm/fluxbox.xml

    r370f305 rd260aaf4  
    5555
    5656<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
    57 make &amp;&amp;
    58 make install</command></userinput></screen>
     57make</command></userinput></screen>
     58
     59<para>Now, as the root user:</para>
     60
     61<screen><userinput role='root'><command>make install</command></userinput></screen>
    5962
    6063</sect2>
     
    8386startfluxbox
    8487<command>EOF</command></userinput></screen>
     88
     89<para>Now create the <application>Fluxbox</application> configuration
     90files:</para>
    8591
    8692<screen><userinput><command>mkdir ~/.fluxbox &amp;&amp;
Note: See TracChangeset for help on using the changeset viewer.