The Hairless MIDI to Serial Bridge

Pieter P

This is an installation guide for the Hairless MIDI to Serial Bridge on Ubuntu.

Install the dependencies

The Hairless program is a 32-bit executable, so on most modern 64-bit Linux distributions, you'll have to explicitly install some 32-bit libraries to be able to run it:

sudo apt install libasound2:i386 libsm6:i386 libxrender1:i386 libfontconfig1:i386 libasound2-plugins:i386

Download and extract

Download Hairless from the website (direct link).

Extract the archive, and save it where you store your software, for example ~/opt.

The following commands download, extract, and move Hairless to ~/opt:

cd /tmp
wget https://github.com/downloads/projectgus/hairless-midiserial/hairless-midiserial-0.4-linux.tgz
tar xzf hairless-midiserial-0.4-linux.tgz
mkdir -p ~/opt
mv hairless-midiserial ~/opt

Now you can already run Hairless by running the following command in a terminal:

~/opt/hairless-midiserial/hairless-midiserial

You can add Hairless to your PATH by creating a symbolic link in ~/.local/bin:

mkdir -p ~/.local/bin
ln -s ../../opt/hairless-midiserial/hairless-midiserial ~/.local/bin

You can now run it by just typing hairless-midiserial in a terminal.

Tested on