Skip to content

Latest commit

 

History

History
100 lines (77 loc) · 2.56 KB

INSTALL.md

File metadata and controls

100 lines (77 loc) · 2.56 KB

Installation

See "Packages and installers" section in README.md or README.html.

Build from sources

Build dependencies

  • compiler with C++17 support
  • ccache (optional)
  • cmake >= 3.2.0
  • Qt >= 5.9.0
  • QtWebKit (optional)
  • QtWebEngine (optional)
  • QCA (from upstream or from our fork)
  • QtKeychain (optional)
  • OpenSSL (required)
  • zlib (required)
  • Minizip (optional)
  • Hunspell (optional)
  • Aspell (optional)
  • Enchant (optional)
  • X11 (optional, Linux only)
  • Xscreensaver (optional, Linux only)
  • Sparkle (optional, macOS only)
  • Growl (optional, macOS only)
  • libhttp-parser (optional, for plugins only)
  • libotr (optional, for plugins only)
  • libtidy (optional, for plugins only)
  • libsignal-protocol-c (optional, for plugins only)

Common

mkdir builddir
cd builddir
cmake ..
# If necessary install all missed build dependencies until previous command is
# executed without errors.
make -j4
make install DESTDIR="../installdir"
# If necessary replace "../installdir" from command above to any path you need
# or copy them manually from "../installdir".

Available configuration options for cmake are described in Readme-cmake.txt.

Linux

Installation of Psi build dependencies in Debian and Ubuntu:

sudo apt install -qq \
        libhunspell-dev \
        libminizip-dev \
        libqca-qt5-2-dev \
        libqt5svg5-dev \
        libqt5webkit5-dev \
        libqt5x11extras5-dev \
        libsm-dev \
        libssl-dev \
        libxss-dev \
        qt5keychain-dev \
        qtmultimedia5-dev \
        zlib1g-dev

Installation of additional build dependencies (for plugins) in Debian and Ubuntu:

sudo apt install -qq \
        libhttp-parser-dev \
        libotr5-dev \
        libsignal-protocol-c-dev \
        libtidy-dev

macOS

There are different ways for building program in macOS. The easiest one is build using Homebrew. See instructions in mac/build-using-homebrew.sh.

Windows

To be written...

Useful links

To be continued...