Detailed installation instructions - Xubuntu 17.04

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
phink
Newbie
Posts: 2
Joined: Mon Jun 26, 2017 1:15 am

Detailed installation instructions - Xubuntu 17.04

Post by phink » Mon Jun 26, 2017 10:59 pm

After several attempts I've managed to get LinuxSampler and QSampler installed on Xubuntu 17.04 without having to install subversion.

There seems to be a lack of OS-specific detailed instructions for LinuxSampler, so I decided to post the installation steps that I used to get it working. Presumably this would also work with little if any modification with other *buntus. The procedure uses the 'checkinstall' package to create easily uninstallable .deb packages, with custom package names to avoid upgrade conflict with standard versions of the same packages from the Ubuntu repositories.

Hopefully this will be helpful to someone.

Code: Select all

# Instructions for a basic LinuxSampler installation on Xubuntu 17.04

#download required source archives from https://www.linuxsampler.org/downloads.html
wget http://download.linuxsampler.org/packages/libgig-4.0.0.tar.bz2 http://download.linuxsampler.org/packages/liblscp-0.5.8.tar.gz http://download.linuxsampler.org/packages/linuxsampler-2.0.0.tar.bz2 http://download.linuxsampler.org/packages/qsampler-0.4.2.tar.gz

#extract downloaded archives, recreating subdirs

# install required packages
sudo apt-get install bison libsndfile1-dev libjack-jackd2-dev checkinstall

# Build and install libgig
cd <libgig extracted dir>
./configure
make
printf 'libgig for LinuxSampler\n\nCompiled from source at http://download.linuxsampler.org/packages/libgig-4.0.0.tar.bz2' > description-pak
sudo checkinstall -D -y --pkgname libgig-linuxsampler --pkgversion 4.0.0 --strip=no --install=no
sudo dpkg -i libgig-linuxsampler_4.0.0-1_amd64.deb
# Required by qsampler (See below*):
sudo ln -s /usr/local/lib/libgig/libgig.so.7.0.0 /usr/lib/libgig.so.7

#Build and install liblscp
cd <liblscp extracted dir>
./configure
make
printf 'liblscp for LinuxSampler\n\nCompiled from source at http://download.linuxsampler.org/packages/liblscp-0.5.8.tar.gz' > description-pak
sudo checkinstall -D -y --pkgname liblscp-linuxsampler --pkgversion 0.5.8 --strip=no --install=no
sudo dpkg -i liblscp-linuxsampler_0.5.8-1_amd64.deb
# Required by qsampler (See below**):
sudo ln -s /usr/local/lib/liblscp.so.6.0.1 /usr/lib/liblscp.so.6

#Build and install linuxsampler
cd <linuxsampler extracted dir>
./configure
make
printf 'LinuxSampler\n\nCompiled from source at http://download.linuxsampler.org/packages/linuxsampler-2.0.0.tar.bz2' > description-pak
sudo checkinstall -D -y --pkgname linuxsampler --pkgversion 2.0.0 --strip=no --install=no
sudo dpkg -i dpkg -i linuxsampler_2.0.0-1_amd64.deb

# Build and install qsampler 
sudo apt-get install qt5-default libqt5x11extras5-dev qttools5-dev-tools
export QT_SELECT=5
cd <qsampler extracted dir>
./configure
make
printf 'QSampler for LinuxSampler\n\nCompiled from source at http://download.linuxsampler.org/packages/qsampler-0.4.2.tar.gz' > description-pak
sudo checkinstall -D -y --pkgname qsampler-linuxsampler --pkgversion 0.4.2 --strip=no --install=no
sudo dpkg -i qsampler-linuxsampler_0.4.2-1_amd64.deb

# Remove any installed development packages that are not required
sudo apt-get purge --auto-remove bison libsndfile1-dev libjack-jackd2-dev checkinstall qt5-default libqt5x11extras5-dev qttools5-dev-tools

#* symbolic link required due to qsampler runtime error: '/usr/local/bin/qsampler: error while loading shared libraries: libgig.so.7: cannot open shared object file: No such file or directory'

#** symbolic link required due to qsampler runtime error: '/usr/local/bin/qsampler: error while loading shared libraries: liblscp.so.6: cannot open shared object file: No such file or directory'

User avatar
cuse
Developer
Posts: 366
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: Detailed installation instructions - Xubuntu 17.04

Post by cuse » Tue Jul 11, 2017 12:23 pm

There is a Debian HOWTO. However it would need a refresh.

Post Reply