encfs/INSTALL.md

54 lines
1.5 KiB
Markdown
Raw Normal View History

This document provides generic information for compiling EncFS.
If you are looking for specific instructions for your distribution,
2015-06-16 06:00:45 +02:00
take a look at the page
**[Installing EncFS](https://github.com/vgough/encfs/wiki/Installing-Encfs)**
in the wiki.
Compiling EncFS
===============
EncFS uses the CMake toolchain to create makefiles.
Steps to build EncFS:
mkdir build
cd build
cmake ..
make
Optional, but strongly recommended, is running the test suite
2015-06-16 06:00:45 +02:00
to verify that the generated binaries work as expected
(runtime: 20 seconds)
make test
The compilation process creates two executables, encfs and encfsctl in
the encfs directory. You can install to in a system directory via
make install
. If the default path (`/usr/local`) is not where you want things
2015-06-16 06:00:45 +02:00
installed, then set the CMAKE_INSTALL_PREFIX option when running cmake. Eg:
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/local
Encfs and encfsctl can also be installed by hand. They need no special
permissions. You may also want the man pages encfs.1 and encfsctl.1.
Dependencies
============
EncFS depends on a number of libraries:
openssl fuse tinyxml2 gettext libintl librlog
Compiling on Debian and Ubuntu
==============================
We use separate [Drone.io](https://drone.io/) and [CircleCi](https://circleci.com/) builds to automatically
test every commit. See the README.md file for current build status.
The build configuration files (.drone.yml and circle.yml) therefore
always contains up-to-date instructions to build EncFS on Ubuntu distributions.