Building Audacity 2.1.2 on Ubuntu 15.10

These steps were tested with Audacity 2.1.2 rc1 on a clean installation of Lubuntu 15.10.
They should also work on other versions of Ubuntu 15.10.
If any other version of Audacity is already installed, I would recommend uninstalling it before starting these steps.

Prerequisites:
Install “build-essential” using your preferred package manager.

Dependencies:
In a terminal window, enter this command. Enter your password when prompted:

sudo apt-get build-dep audacity

Get the source code:

Build Audacity:

  1. Open a terminal window and navigate to the extracted folder
    (example, if you extracted audacity-minsrc-2.1.2 to your home folder:
cd audacity-minsrc-2.1.2
  1. Make a directory to build Audacity in:
mkdir build
  1. Change to the “build” folder:
cd build
  1. Configure Audacity:
../configure --disable-dynamic-loading

Note the two dots at the start of the command.
The –disable-dynamic-loading option is required for Audacity to use the version of FFmpeg that Ubuntu 15.10 uses.
5. Build audacity;

make
  1. Install
sudo make install

(enter password when prompted).

Optional Nyquist Workbench Module:

  1. If you wish to build Nyquist Workbench, it must be done on the same day as Audacity is built.
  2. Build the module
make modules
  1. Copy modules to Audacity installation folder:
sudo cp -r modules/ /usr/local/share/audacity/
  1. Eable Nyquist Workbench:
  • Launch Audacity
    • Enable Nyquist Workbench in “Edit->Preferences->modules”
    • Restart Audacity.