8.10.2. Contents of File
Installed programs:
file
Installed library:
libmagic.so
The File package contains a utility for determining the type of a given file or files.
First, fix a few regressions in File:
patch -Np1 -i ../file-5.40-upstream_fixes-1.patch
Update helper scripts to allow compilation on loongarch:
tar xf ../config-20210826.tar.xz --strip-components=1
Prepare File for compilation:
./configure --prefix=/usr
Compile the package:
make
To test the results, issue:
make check
Install the package:
make install