Installing Audacity 1.3.6 in Ubuntu 8.10

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Locked
steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Installing Audacity 1.3.6 in Ubuntu 8.10

Post by steve » Wed Jan 14, 2009 3:26 pm

This topic is for reference only. The current release build of 1.3.6 on Ubuntu is quite buggy, so I would recommend installing the 1.3.5 version with Synaptic.

===========================================================================

Here is the step by step method that I used for building Audacity 1.3.6 on Ubuntu 8.10

Download tarball
Download "Audacity 1.3.6 release (source tarball) (.tar.bz2 file, 4.5 MB)" from the "Recommended Download" link on this page:
http://audacityteam.org/download/beta_source#recdown
Save file to desktop.


Uninstall Audacity 1.3.5
In a terminal window, type:

Code: Select all

sudo apt-get purge audacity
Enter password.

Note: installing "ubuntu-restricted-extras" can save a bit of time as it includes several of the packages listed below.


To Install JACK
Note: I have not managed to get JACK working with Audacity 1.3.6,
but this installs jack and Audacity shows that it has jack support enabled (even if it doesn't work).

Use Synaptic to install:
jackd
libasound2-plugins
libjack-dev
jack-tools
libjack0-dev
libjack0.100.0-dev
libjackasyn-dev


Installing dependancies
Use Synaptic to check that the following are installed (and install any missing ones if necessary):

libgtk2.0-dev - note: this is essential for installing in Ubuntu 8.10

libwxbase2.8-dev
libwxgtk2.8-dev

libmp3lame-dev

libmad0-dev

libsndfile1-dev

libflac-dev
libflac++-dev

libogg-dev

ffmpeg
libvorbis0a
libvorbisenc2
libvorbis-dev

toolame

portaudio19-dev
libportaudio0
libportaudio2
libportaudio-dev
libportaudiocpp0

libid3tag0-dev

libsoundtouch1-dev

liblrdf0-dev

gcc
gcc-4.3
libgcc1

pkg-config

expat
libexpat1-dev

I'm not sure that these are all necessary, but these are what I have installed.

Unpack the Tarball
Double click on the Audacity Tarball to open it with the Archive Manager.
Extract it to your home directory.

Configure
In a terminal window change directory to go to the audacity-src-1.3.6 folder

Code: Select all

cd audacity-src-1.3.6
Then type:

Code: Select all

./configure
Cross your fingers and make yourself a nice cup of tea.
When you return you will hopefully see at the bottom of the output:
"Run 'configure --help' for an explanation of these options,
otherwise run 'make' to build Audacity."

Checking the output of ./configure
Copying the output to a text editor can make it easier to search.
The output should contain items similar to these:

Code: Select all

configure: ---------------------------------------
configure: Including support for OSS
configure: Including support for ALSA
configure: ---------------------------------------

Code: Select all

=== configuring in lib-src/portmixer (/home/user/audacity-src-1.3.6/lib-src/portmixer)
configure: running /bin/bash ./configure '--prefix=/usr/local/'  '--with-wx-config=/usr/bin/wx-config' '--with-pa-include=../portaudio-v19/include' --cache-file=/dev/null --srcdir=.

Code: Select all

checking for JACK... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
Check the output thoroughly for any error messages

Make
Now enter in the terminal:

Code: Select all

make
(This part takes ages)

Then

Code: Select all

sudo make install
(This part takes even longer)

You should now have Audacity installed.
If the install fails, check the output of ./configure, any errors in Configure are likely to cause failure.

Audacity install directory:
Note that using the default configuration as above, the installation directory is different than the Ubuntu distribution version.
Audacity will be installed in: /usr/local/share/audacity/

The plug-in folder is now found at /usr/local/share/audacity/plug-ins
If you want to be able to easily edit, or manually add new plug-ins, change the permissions of the plug-ins folders to set your user account with group Read/Write permissions for that folder.

(The default Ubuntu distribution installs to /usr/share/audacity/)


How To Uninstall
So you've tried it out and now want to try the CVS version, or perhaps go back to the regular Ubuntu 1.3.5 version, so you need to uninstall Audacity 1.3.6.
In a terminal window, go to the source folder as before (cd audacity-src-1.3.6)
then enter;

Code: Select all

sudo make uninstall
Audacity will be removed from your system.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tomdkat
Posts: 6
Joined: Wed Jan 21, 2009 6:17 am
Operating System: Please select

Re: Installing Audacity 1.3.6 in Ubuntu 8.10

Post by tomdkat » Wed Jan 21, 2009 6:30 am

Thanks! Do you know if there will be a pre-built .deb package of Audacity 1.3.6 built?

Peace...

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Installing Audacity 1.3.6 in Ubuntu 8.10

Post by steve » Wed Jan 21, 2009 5:01 pm

tomdkat wrote:Do you know if there will be a pre-built .deb package of Audacity 1.3.6 built?
Not as far as I know.

The main difficulty with building from the tarball seems to be satisfying all dependencies. If there is anything wrong, there will probably be an error show up in the output from ./configure

If you are thinking about building from source, I would probably wait until 1.3.7 is released (which will be very soon) as there are several important bug fixes in it.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked