Before you try to compile uHub, please make sure the following prerequisites are met.
- a C compiler (gcc > 3.0, clang, MinGW or MS Visual Studio)
- GNU make
- CMake
- Perl 5
- openssl >= 1.1 (or use
make USE_SSL=NO
) - sqlite >= 3.x
- pkg-config (if
USE_SYSTEMD=ON
) - systemd development headers (if
USE_SYSTEMD=ON
)
For Ubuntu / Debian:
sudo apt-get install cmake make gcc git libsqlite3-dev libssl-dev
cmake .
make
sudo make install
What | Where |
---|---|
Binaries | /usr/local/bin/ |
Configuration files | /etc/uhub/ |
Plugins | /usr/local/lib/uhub/ |
Manual pages | /usr/local/share/man/man1/ |