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