site_graphlogo
  -   Terms of Use and Privacy
GNU/Linux® Reference OS
rss
site_graphlogo
  -   Terms of Use and Privacy
GNU/Linux® Reference OS
rss

<<   <   >   >>

GNU/Linux® Reference OS | file

SourceMD5
file-5.37.tar.gz 80c29aca745466c6c24d11f059329075

Run these commands to compile and install:

cd /sources/
rm -rf file-5.37
tar -xzf file-5.37.tar.gz
cd file-5.37
./configure --prefix=/usr
make
make install

You should see something like this as output:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for builtin ELF support... yes
checking for ELF core file support... yes
checking for zlib support... 
checking for libseccomp support... 
checking for file formats in man section 5... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
.
.
.
make[1]: Entering directory '/sources/file-5.37/magic'
make[2]: Entering directory '/sources/file-5.37/magic'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/share/misc'
 /usr/bin/install -c -m 644 magic.mgc '/usr/share/misc'
make[2]: Leaving directory '/sources/file-5.37/magic'
make[1]: Leaving directory '/sources/file-5.37/magic'
Making install in tests
make[1]: Entering directory '/sources/file-5.37/tests'
make[2]: Entering directory '/sources/file-5.37/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/sources/file-5.37/tests'
make[1]: Leaving directory '/sources/file-5.37/tests'
Making install in doc
make[1]: Entering directory '/sources/file-5.37/doc'
make[2]: Entering directory '/sources/file-5.37/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 file.1 '/usr/share/man/man1'
 /bin/mkdir -p '/usr/share/man/man3'
 /usr/bin/install -c -m 644 libmagic.3 '/usr/share/man/man3'
 /bin/mkdir -p '/usr/share/man/man4'
 /usr/bin/install -c -m 644 magic.4 '/usr/share/man/man4'
 /bin/mkdir -p '/usr/share/man/man5'
make[2]: Leaving directory '/sources/file-5.37/doc'
make[1]: Leaving directory '/sources/file-5.37/doc'
Making install in python
make[1]: Entering directory '/sources/file-5.37/python'
make[2]: Entering directory '/sources/file-5.37/python'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/sources/file-5.37/python'
make[1]: Leaving directory '/sources/file-5.37/python'
make[1]: Entering directory '/sources/file-5.37'
make[2]: Entering directory '/sources/file-5.37'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/sources/file-5.37'
make[1]: Leaving directory '/sources/file-5.37'

full raw output

file

Articles tagged with file on N🚫NIC:

file

Much of the knowledge of this site came from the Linux From Scratch project and the contributors. I salute you. You rock. Linux is an operating system kernel that is a registered trademark of Linus Torvalds. GNU is an operating system started by Richard Stallman with a goal of freedom for computer users. Jean-Michel Jarre and Moby have accompanied me on my head phones through much of L1G3R. I've been listening to Jarre since Equinoxe. Jarre's goal is to create "anti-pattern electronic music", music that, even when repetitive, "is still in constant evolution". Moby has also had quite a bit of play on my headphones during L1G3R. His goal is "simply trying to make music that I love". I agree with Moby. I've loved everything there was here. Thank you, mountain, for the click of life. My goal is to fix chinks in the web, but I'll never know if I do; it is simply an honor to be able to climb.