2019-04-06 23:52:21 +00:00
|
|
|
# Compilation from source code
|
|
|
|
|
|
|
|
These are generic instructions should work on almost any GNU/Linux, macOS, BSD, or similar.
|
|
|
|
|
|
|
|
If you want specific instructions for some distributions, check the [wiki](https://github.com/s3fs-fuse/s3fs-fuse/wiki/Installation-Notes).
|
|
|
|
|
|
|
|
Keep in mind using the pre-built packages when available.
|
|
|
|
|
|
|
|
1. Ensure your system satisfies build and runtime dependencies for:
|
|
|
|
|
|
|
|
* fuse >= 2.8.4
|
|
|
|
* automake
|
|
|
|
* gcc-c++
|
|
|
|
* make
|
|
|
|
* libcurl
|
|
|
|
* libxml2
|
|
|
|
* openssl
|
2020-03-19 15:13:21 +00:00
|
|
|
* mime.types (the package providing depends on the OS)
|
|
|
|
* s3fs tries to detect `/etc/mime.types` as default regardless of the OS
|
|
|
|
* Else s3fs tries to detect `/etc/apache2/mime.types` if OS is macOS
|
|
|
|
* s3fs exits with an error if these files are not exist
|
|
|
|
* Alternatively, you can set mime.types file path with `mime` option without detecting these default files
|
2019-11-18 00:35:15 +00:00
|
|
|
* pkg-config (or your OS equivalent)
|
2019-04-06 23:52:21 +00:00
|
|
|
|
|
|
|
2. Then compile from master via the following commands:
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone https://github.com/s3fs-fuse/s3fs-fuse.git
|
|
|
|
cd s3fs-fuse
|
|
|
|
./autogen.sh
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
```
|