Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.08 KB

PyPi-Instructions.md

File metadata and controls

20 lines (15 loc) · 1.08 KB

PRE-INSTALLATION

Before you install matrix-commander with pip install matrix-commander you must have libolm installed. pip installation will fail otherwise!

For e2ee support, python-olm is needed which requires the libolm C library (version 3.x).

  • On Debian, Ubuntu and Debian or Ubuntu derivate distributions do sudo apt install libolm-dev to install the libolm package.
  • On Fedora or Fedora derivate distributions do sudo dnf install libolm-devel to install the libolm package.
  • On MacOS one can use brew to install package libolm.

Make sure that version 3 is installed. Version 2 will not work.

For macOS Monterey 12.4 (21F79) (Apple M1 Pro) and similar please follow the these steps:

  • Install libolm, dbus and libmagic using Homebrew
  • Install matrix-commander using this command:
    • pip3 install --global-option=build_ext --global-option="-I/opt/homebrew/include/" --global-option="-L/opt/homebrew/lib/" matrix-commander
  • For more details see Issue #79. Thanks to @KizzyCode for the contribution.