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 thelibolm
package. - On Fedora or Fedora derivate distributions do
sudo dnf install libolm-devel
to install thelibolm
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
andlibmagic
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.