source: BOOK/final-system/common/file.xml@ 0fa3c9f

systemd
Last change on this file since 0fa3c9f was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-file" role="wrap">
9 <?dbhtml filename="file.html"?>
10
11 <title>File-&file-version;</title>
12
13 <indexterm zone="ch-system-file">
14 <primary sortas="a-File">File</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The File package contains a utility for determining the type of
21 a given file or files.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of File</title>
27
28 <para os="a">Prepare File for compilation:</para>
29
[7cd7f99]30<screen os="b"><userinput>./configure \
31 --prefix=/usr</userinput></screen>
[3f8be484]32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
[686839b]37 <para os="e">To test the results, issue:</para>
38
39<screen os="e2"><userinput remap="test">make check</userinput></screen>
[3f8be484]40
[da1d069]41 <para os="f">Install the package:</para>
42
43<screen os="g"><userinput>make install</userinput></screen>
[3f8be484]44
45 </sect2>
46
47 <sect2 id="contents-file" role="content">
48 <title>Contents of File</title>
49
50 <segmentedlist>
51 <segtitle>Installed programs</segtitle>
52 <segtitle>Installed library</segtitle>
53
54 <seglistitem>
55 <seg>file</seg>
56 <seg>libmagic.[a,so]</seg>
57 </seglistitem>
58 </segmentedlist>
59
60 <variablelist>
61 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
62 <?dbfo list-presentation="list"?>
63 <?dbhtml list-presentation="table"?>
64
65 <varlistentry id="file">
66 <term><command>file</command></term>
67 <listitem>
68 <para>Tries to classify each given file; it does this by performing
69 several tests&mdash;file system tests, magic number tests, and
70 language tests</para>
71 <indexterm zone="ch-system-file file">
72 <primary sortas="b-file">file</primary>
73 </indexterm>
74 </listitem>
75 </varlistentry>
76
77 <varlistentry id="libmagic">
78 <term><filename class="libraryfile">libmagic</filename></term>
79 <listitem>
80 <para>Contains routines for magic number recognition, used by the
81 <command>file</command> program</para>
82 <indexterm zone="ch-system-file libmagic">
83 <primary sortas="c-libmagic">libmagic</primary>
84 </indexterm>
85 </listitem>
86 </varlistentry>
87
88 </variablelist>
89
90 </sect2>
91
92</sect1>
Note: See TracBrowser for help on using the repository browser.