%general-entities; ]> file &file-version;
&file-url;
File-&file-version; File tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter08/file.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&file-tmp-sbu;</seg> <seg>&file-tmp-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of File The file command on the build host needs to be same version as the one we are building in order to create the signature file. Run the following commands to build it: mkdir build pushd build ../configure make popd Prepare File for compilation: ./configure --prefix=/usr --host=$LFS_TGT --build=$(./config.guess) Compile the package: make FILE_COMPILE=$(pwd)/build/src/file Install the package: make DESTDIR=$LFS install <para>Details on this package are located in <xref linkend="contents-file" role="."/></para> </sect2> </sect1>