Before installing, please uninstall any existing Patchance installation:
$ [sudo] make uninstall
To install Patchance, simply run as usual:
$ make
$ [sudo] make install
if you prefer to build it with Qt6 (instead of Qt5), run:
$ QT_VERSION=6 make
$ [sudo] make install
Depending on the distribution (Fedora and others) you'll need to use the LRELEASE variable to build.
If you don't have 'lrelease' executable but 'lrelease-qt5' use:
$ make LRELEASE=lrelease-qt5
$ [sudo] make install
You can run Patchance without installing, by using instead:
$ make
$ ./src/patchance.py
Packagers can make use of the 'PREFIX' and 'DESTDIR' variable during install, like this:
$ make install PREFIX=/usr DESTDIR=./test-dir
To uninstall Patchance, run:
$ [sudo] make uninstall
The required build dependencies are: (devel packages of these)
- qtpy
- PyQt5 or PyQt6
- Qt5 dev tools or Qt6 dev tools
- qtchooser
On Debian and Ubuntu, use these commands to install all build dependencies:
$ sudo apt-get install python3-pyqt5 pyqt5-dev-tools qtchooser qttools5-dev-tools
On Fedora:
$ sudo dnf install python3-qt5-devel qt-devel qtchooser
If you want to provide ALSA MIDI ports, you must have the python3-pyalsa lib with version >= 1.2.4.
On Debian and Ubuntu, use these commands to install this optional dependency:
$ sudo apt-get install python3-pyalsa
But note that it may be not enough if the version provided by your system is too old.
On Fedora:
$ sudo dnf install python3-alsa