-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Dependencies Ubuntu
Note: For cross-compiling Windows binaries on Linux, please see Windows Dependencies instead.
sudo apt install build-essential cmake libsndfile1-dev libfftw3-dev \
libvorbis-dev libogg-dev libmp3lame-dev libasound2-dev libjack-jackd2-dev \
libsamplerate0-dev libsdl2-dev libstk-dev stk libfluidsynth-dev portaudio19-dev \
libfltk1.3-dev libxinerama-dev libxft-dev libgig-dev git perl libxml2-utils \
libxml-perl liblist-moreutils-perl qtbase5-dev qtbase5-private-dev \
qttools5-dev-tools qttools5-dev libqt5x11extras5-dev libx11-xcb-dev \
libxcb-keysyms1-dev libxcb-util0-dev libsuil-dev
Required packages: lv2-dev liblilv-dev
Install libraries for VST support
On Ubuntu/mint/other stable distros, install wine from WineHQ. Follow the steps listed here
After setting up WineHQ, install the packages with the following commands:
sudo apt install libwine-dev gcc-multilib g++-multilib
if you still don't get vst support, try running
sudo apt install --install-recommends wine-devel
### Carla
Install libraries for [Carla](http://kxstudio.linuxaudio.org/Applications:Carla) support:
```bash
# Update software sources
sudo apt-get update
# Install required dependencies if needed
sudo apt-get install apt-transport-https gpgv wget
# Download kxstudio package file
wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_11.1.0_all.deb
# Install it
sudo dpkg -i kxstudio-repos_11.1.0_all.deb
sudo apt install -y carla
...done installing? Next, clone the source code
Some project operations -- such as generating AppImages -- may require a newer version of CMake. To force a newer version, install from snap
:
sudo snap install cmake --classic
alias cmake='snap run cmake'
# keywords: WARNING AppImage creation requires at least CMake 3.19
Sometimes apt
will not allow all packages to be installed simultaneously. (e.g. foo : Depends: bar (=1.0.0) but it is not going to be installed
). Install them or resolve dependencies individually.
sudo apt install libfluidsynth-dev
sudo apt install libjack-jackd2-dev
# keywords: The following packages have unmet dependencies
# keywords: Unknown command PKG_GET_VARIABLE
# note: libsdl-dev might need a version number when installing dependencies. Example: libsdl1.2-dev
This can also happen if you already have Jack1 installed on your system, and you're trying to install Jack2 development files. You should try installing Jack1 dev files instead:
sudo apt install libjack-dev
# keywords: The following packages have unmet dependencies
Both Jack1 and Jack2 work fine with LMMS, for differences between the two please consult the Jackaudio wiki.
If qmake --version
shows an error:
sudo apt install qt5-default
# keywords: qmake: could not find a Qt installation of ''
Older environments may complain that ia32-libs
package has been removed. See this page for more information.
sudo apt install wine32
# keywords: ia32-libs package has been removed
If you are unable to build LMMS after following the steps above, you may want to try apt-get
's build-dep
command.
This command will install required dependencies for a package.
For Ubuntu:
- Edit
/etc/apt/sources.list
, and uncomment anydeb-src
entries. sudo apt update
sudo apt build-dep lmms
For Linux Mint:
- Open "Software Sources".
- Flip the "Source code repositories" switch in the Official Repositories tab.
- Update the apt cache when prompted.
- Run
sudo apt build-dep lmms
.
Remember to comment out deb-src
entries in /etc/apt/sources.list
when you are finished, or all subsequent apt update
commands will take twice as long