source: general/sysutils/cpio.xml@ a31d341d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since a31d341d was a31d341d, checked in by Randy McMurchy <randy@…>, 19 years ago

Added md5sums to Chapter 11 packages

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

  • Property mode set to 100644
File size: 3.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
8<!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
9<!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d">
10<!ENTITY cpio-size "448 KB">
11<!ENTITY cpio-buildsize "5.4 MB">
12<!ENTITY cpio-time "0.12 SBU">
13]>
14
15<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="cpio.html"?>
21<title>cpio-&cpio-version;</title>
22
23<sect2>
24<title>Introduction to <application>cpio</application></title>
25
26<para>The <application>cpio</application> package contains
27tools for archiving.</para>
28
29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink
32url="&cpio-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink
34url="&cpio-download-ftp;"/></para></listitem>
35<listitem><para>Download MD5 sum: &cpio-md5sum;</para></listitem>
36<listitem><para>Download size: &cpio-size;</para></listitem>
37<listitem><para>Estimated disk space required:
38&cpio-buildsize;</para></listitem>
39<listitem><para>Estimated build time:
40&cpio-time;</para></listitem></itemizedlist>
41</sect3>
42
43</sect2>
44
45<sect2>
46<title>Installation of <application>cpio</application></title>
47
48<para>Install <application>cpio</application> by running the following commands:
49</para>
50
51<screen><userinput><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c &amp;&amp;
52./configure CPIO_MT_PROG=mt --prefix=/usr \
53 --bindir=/bin --libexecdir=/tmp \
54 --with-rmt=/usr/sbin/rmt &amp;&amp;
55make &amp;&amp;
56make install</command></userinput></screen>
57
58</sect2>
59
60<sect2>
61<title>Command explanations</title>
62
63<para><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c</command>:
64This command fixes a build problem in the <command>mt</command> program.</para>
65
66<para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the
67building and installation of the <command>mt</command> program.</para>
68
69<para><parameter>--bindir=/bin</parameter>: This parameter installs
70<command>cpio</command> to <filename class="directory">/bin</filename> instead
71of <filename class="directory">/usr/bin</filename> as per
72<acronym>FHS</acronym> guidelines.</para>
73
74<para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so
75that <filename class='directory'>/usr/libexec</filename> is not created.</para>
76
77<para><parameter>--with-rmt=/usr/sbin/rmt</parameter>: This parameter inhibits
78building the <command>rmt</command> program as it is already installed by the
79<application>tar</application> package in <acronym>LFS</acronym>.</para>
80
81</sect2>
82
83<sect2>
84<title>Contents</title>
85
86<para>The <application>cpio</application> package contains
87<command>cpio</command> and <command>mt</command>.</para>
88
89</sect2>
90
91<sect2><title>Description</title>
92
93<sect3><title>cpio</title>
94<para><command>cpio</command> copies files to and from archives.</para></sect3>
95
96<sect3><title>mt</title>
97<para><command>mt</command> controls magnetic tape drive
98operations.</para></sect3>
99
100</sect2>
101
102</sect1>
103
Note: See TracBrowser for help on using the repository browser.