Updated README.md
This commit is contained in:
parent
32a9378e1a
commit
a3f72ca7f8
@ -6,9 +6,13 @@ First, install libmagic-dev:<br>
|
||||
<pre>
|
||||
sudo apt install libmagic-dev
|
||||
</pre><br>
|
||||
Or, you can just run<br>
|
||||
<pre>
|
||||
./configure
|
||||
</pre><br>
|
||||
Now, compile the source code. <b>Note the <code>-lmagic</code> at the end!</b><br>
|
||||
<pre>
|
||||
g++ <path/to/source.cpp> -lmagic -o fileinfo
|
||||
make
|
||||
</pre><br>
|
||||
And finally, copy that executable to /usr/local/bin folder. (not required)<br>
|
||||
<pre>
|
||||
|
Loading…
Reference in New Issue
Block a user