* The steps required to build Audacity 2.1.2 on Ubuntu 14.04 are almost the same as for building on Ubuntu 15.10 but with one important exception. By default, Ubuntu 14.04 uses WxGTK 2.8, which is too old for Audacity 2.1.2, but WxGTK 3.0 is available in the Ubuntu repository and we must install that as an additional step.
These steps were tested with Audacity 2.1.2 rc1 on a clean installation of Lubuntu 14.04.
They should also work on other versions of Ubuntu 14.04.
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:
* Install "libwxgtk3.0-dev" using your preferred package manager
To install the standard dependencies, open a terminal window and enter this command. Enter your password when prompted:
Code: Select all
sudo apt-get build-dep audacity- Download "Linux minimal source" from:
http://www.fosshub.com/Audacity.html - Extract the downloaded ".tar.xz" file to a convenient location
(example, your home folder).
- Open a terminal window and navigate to the extracted folder
(example, if you extracted audacity-minsrc-2.1.2 to your home folder:Code: Select all
cd audacity-minsrc-2.1.2 - Create a folder to build into:
Code: Select all
mkdir build - Change directory into the build folder:
Code: Select all
cd build - configure Audacity:
For Audacity 2.1.3 you may need to add CXXFLAGS to the configure command thus to make sure you use gcc 4.9:
Code: Select all
../configure --disable-dynamic-loadingNote the two dots at the start of the command.Code: Select all
../configure --disable-dynamic-loading CXXFLAGS="-std=gnu++11" - build Audacity:
Code: Select all
make - Install:
(enter password when prompted)
Code: Select all
sudo make install
Note: On (L)ubuntu 14.04, Audacity may not appear in the applications menu until you have logged out and back in again.
Optional Nyquist Workbench Module:
- If you wish to build Nyquist Workbench, it must be done on the same day as Audacity is built.
- Build the module
Code: Select all
make modules - Copy modules to Audacity installation folder:
Code: Select all
sudo cp -r modules/ /usr/local/share/audacity/ - Eable Nyquist Workbench:
- Launch Audacity
- Enable Nyquist Workbench in "Edit->Preferences->modules"
- Restart Audacity.