[Manual Installation] Building Audacity on Ubuntu - CONFIG_EXECUTABLE?


As long as “/usr/local/bin” is in your PATH, then the wx-config should be found
when you “cmake” Audacity.

When I “cmake”:


  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>

Specify a source directory to (re-)generate a build system for it in the
current working directory.  Specify an existing build directory to
re-generate its build system.

Run 'cmake --help' for more information.

If the path to wxWidgets isn’t in PATH, then add the option:



Is the proper <path to> supposed to be




entering my name where ‘usr’ is?


entering the path where the wx-config file is installed on my computer?

Of course, all three of these result in the following output:

No such file or directory

What am I supposed to set as the CONFIG_EXECUTABLE?

P. S. I’m attempting to compile audacity manually on wx3.0.2 after failing to find a compatible unofficial PPA build of Audacity 2.1.0 or 2.1.1 or any other version. I was lead to this solution after the version of audacity available via repository (suspiciously compiled to wx2.8.12) wasn’t letting me record overdub tracks.

If anyone has any knowledge regarding any of these issues, it would be extremely helpful. Thank you!

Which version of cmake do you have?

cmake --version

If it’s less than 3.15 then you need to install a later version. Instructions here: https://forum.audacityteam.org/t/building-audacity-2-4-2-on-debian-10-with-cmake-3-18/58352/1

Once you have a recent enough version of cmake, I think these instructions should work: https://forum.audacityteam.org/t/building-audacity-2-4-2-on-ubuntu-20-04/57719/1
(I’m also using Xubuntu 18.04)