Update README.md
This commit is contained in:
parent
8c0d269ad3
commit
0129b235da
@ -9,14 +9,14 @@ A simple C++ program that displays information about files and folders.
|
||||
## Installation
|
||||
If you want the program to detect the file type more accurately, install `libmagic-dev` through your package manager, or with the `./configure` command
|
||||
<br>
|
||||
If you haven't installed `libmagic-dev`, please add this line to the very top of `main.cpp`:
|
||||
```c++
|
||||
#define NO_MIME
|
||||
```
|
||||
Then, compile the source code.<br>
|
||||
```
|
||||
make
|
||||
```
|
||||
Or, if you haven't installed `libmagic-dev`:
|
||||
```
|
||||
make nomime
|
||||
```
|
||||
And finally, copy that executable to /usr/local/bin folder. (not required)<br>
|
||||
```
|
||||
sudo cp fileinfo /usr/local/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user