Compile and Run Ardour 6.9 Ubuntu 22.04

Ardour and Ubuntu 22.04 Dell I5-6500 16GB, bluetooth
Compile, run and install Ardour on Ubuntu Linux. I’ll cover how to install all the dependencies and compile from source…

sudo apt update
sudo apt upgrade

How to fix errors on your Ubuntu install, if no issues bypass or if erroes use
sudo apt-get dist-upgrade

Load these in terminal… (one at a time)
sudo apt-get -y install libboost-all-dev
sudo apt-get -y install libasound2-dev
sudo apt-get -y install libglib2.0-dev
sudo apt-get -y install glibmm-2.4-dev
sudo apt-get -y install libsndfile1-dev
sudo apt-get -y install libcurl4-gnutls-dev
sudo apt-get -y install liblo-dev
sudo apt-get -y install libtag1-dev
sudo apt-get -y install vamp-plugin-sdk
sudo apt-get -y install librubberband-dev
sudo apt-get -y install libfftw3-dev
sudo apt-get -y install libaubio-dev
sudo apt-get -y install libxml2-dev
sudo apt-get -y install libcwiid-dev
sudo apt-get -y install jack
sudo apt-get -y install libjack-dev
sudo apt-get -y install jackd
sudo apt-get -y install qjackctl
sudo apt-get -y install liblrdf0-dev
sudo apt-get -y install libsamplerate-dev
sudo apt-get -y install lv2-dev
sudo apt-get -y install libserd-dev
sudo apt-get -y install libsord-dev
sudo apt-get -y install libsratom-dev
sudo apt-get -y install liblilv-dev
sudo apt-get -y install libgtkmm-2.4-dev
sudo apt-get -y install libarchive-dev
sudo apt-get -y install libwebsockets-dev
sudo apt-get -y install libusb-1.0-0-dev
sudo apt-get -y install libcppunit-subunit-dev
sudo apt-get -y install libpulse-dev
sudo apt-get -y install libudev-dev
sudo apt-get -y install libsuil-dev
sudo apt-get -y install libts-dev
sudo apt-get -y install libreadline-dev
sudo apt-get -y install libclang-dev

sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install python3.10 -y
python3.10 --version ** just check version
sudo apt install python3.10-dev -y
sudo apt install python3.10-venv -y
sudo apt install python3.10-distutils -y
sudo apt install python3.10-lib2to3 -y
sudo apt install python3.10-gdbm -y
sudo apt install python3.10-tk -y
sudo apt update
sudo apt install python-is-python3

Compile ardour
cd {Ardour-6.9.0FromArdourSRC}
Run in terminal
./waf configure
Compile
./waf

Run
cd gtk2_ardour {in Dolphin File manager}
click and execute the file
ardev

To Install the Program
sudo ./waf install

Launch Jack if needed
qjackctl

Launch Ardour from menu
ardour69

Results

[1104/1111] Symlinking build/libs/temporal/libtemporal.so
[1105/1111] Symlinking build/libs/ardour/libardour.so
[1106/1111] Symlinking build/libs/gtkmm2ext/libgtkmm2ext.so
[1107/1111] Symlinking build/libs/audiographer/libaudiographer.so
[1108/1111] Symlinking build/libs/canvas/libcanvas.so
[1109/1111] Symlinking build/libs/widgets/libwidgets.so
[1110/1111] Symlinking build/libs/waveview/libwaveview.so
[1111/1111] Symlinking build/libs/ardouralsautil/libardouralsautil.so
Waf: Leaving directory `/home/vic/Downloads/Ardour-6.9.0FromArdourSRC/build’
‘build’ finished successfully (16m46.854s)
vic@UbuntuS2204500SSD:~/Downloads/Ardour-6.9.0FromArdourSRC$

Thank for all involved helping me understand the compile process…

Hi!
I read your post several times and (hard for me to admit) I actually don’t know what you’re asking about… As I can see the compilation was successful. The only thing I would adjust is the number of CPU threads used for build process.

./waf build -jX

where X is number of cores/threads used for compilation. 16m46.854s is a lot.
On my PC with AMD Ryzen 5 5600X compilation time is ~ 5m56,393s with 12 threads.

BUT…
I made some scripts to automate compilation and installation tasks under (k)ubuntu.
Three scripts/commands:

  • arconfig - run this first and just once for setup some variables,
  • argit - download Ardour sources from github,
  • arcompile - compile and install program.

You don’t have to worry about dependecies or whatever. These scripts take care about everything.
Check this out: Scripts for automatic build and install Ardour - argit.

Regards,
Skygge

1 Like

Thanks Skygge, I will try - j8 for my I5- 6500 that’s cool . I just started on here a few days back and wanted to compile Ardour 6.9 using Ubuntu Studio 22.04, and also compile on Fedora Jam 36 and 37, Garuda and Avl Mx-21 and took time to understand the dependencies and issues with the different distros… I find that Ubuntu was the cleanest way to build.
But was challenged by the other distros… I wanted to use websockets to have my android tablet control play/record and mixer when I play guitar or drums away from the Daw, the Mackie control service is okay but websockets/web port control is easier. I found out on all these distros that Ardour 6.9 distro builds was missing functionality, so I decided to compile my self… in this 2 day journey I was using Fedora 36 and learning each distro types Debian, Arch, Fedora… just learning … In Garuda Arch i was able to see the wii control checkbox under control services, hmmm.
One thing I noticed in compile was the wii remote library since I have a wii remote and understand bluetooth api, why not get that functional. So I took a day off and now give it a try. If you know anything about this, it would be great to know. Thanks for your feedback… Vm

In the other thread where you were asking questions about compiling, the lead developer responded and pointed out that Wii remote support was unmaintained, and probably did not work any longer. You of course are free to fix it yourself if you want to get it working again, but just to set expectations it is not something expected to work without problems.

1 Like

Thanks Chris, I learned how to work with the different distros, I want to stick with one distro that is stable enough to do my daily activities. The wii remote was just interesting to me to write some code on whatever platform and register the output, and use that output effectively… no issues there just a learning phase… seems like a challenge but not anymore.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.