Updated README.md

This commit is contained in:
Pavlik 2024-08-22 12:09:11 +03:00
parent 32a9378e1a
commit a3f72ca7f8

View File

@ -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++ &lt;path/to/source.cpp&gt; -lmagic -o fileinfo
make
</pre><br>
And finally, copy that executable to /usr/local/bin folder. (not required)<br>
<pre>