Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 914 Bytes

compile.md

File metadata and controls

34 lines (28 loc) · 914 Bytes

How to compile:

Prerequisites

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

Unix-like systems (Linux, Mac OSX, BSD, etc)

cmake .
make
sudo make install

Default install directories:

What Where
Binaries /usr/local/bin/
Configuration files /etc/uhub/
Plugins /usr/local/lib/uhub/
Manual pages /usr/local/share/man/man1/