Audacity 2.4.2 requires cmake version 3.15 or later.
At time of writing, the Debian 10 repository version of cmake is 3.13.4-1, which is too old, so the first task is to install a more recent version of cmake.
- Uninstall any version of cmake currently installed:
sudo apt purge cmake
- Download cmake-3.18.1-Linux-x86_64.sh from https://cmake.org/download/
- Copy cmake-3.18.1-Linux-x86_64.sh to /usr/local
sudo cp cmake-3.18.1-Linux-x86_64.sh /usr/local
- Navigate to /usr/local and set the executable permission for cmake-3.18.1-Linux-x86_64.sh
cd /usr/local
sudo chmod +x cmake-3.18.1-Linux-x86_64.sh
- Run the installation script:
sudo sh cmake-3.18.1-Linux-x86_64.sh
- Follow the on-screen instructions. Note that:
- You must respond “Y” when asked if you accept the license agreement
- Respond “n” when prompted:
By default the CMake will be installed in:
"/usr/local/cmake-3.18.1-Linux-x86_64"
Do you want to include the subdirectory cmake-3.18.1-Linux-x86_64?
Saying no will install in: "/usr/local" [Yn]:
- Check the cmake version
cmake --version
Once cmake 3.18 is installed, follow the Ubuntu 20.04 instructions to install Audacity: https://forum.audacityteam.org/t/building-audacity-2-4-2-on-ubuntu-20-04/57719/1