≡ Ubuntu 7.10
Installing Asterisk on Ubuntu 7.10 is about the same as on previous releases. Here are the steps that worked for me with a fresh Gutsy installation:
[Note: $ means a user shell. sudo -i will give you a root shell. Commands denoted by # should be run as root]
$ sudo -i
# apt-get install linux-headers-`uname -r` build-essential libssl-dev libncurses5-dev libspeex-dev sox sox-dev
# mkdir /usr/src/asterisk
# cd /usr/src/asterisk
# wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.18.tar.gz
# wget http://downloads.digium.com/pub/zaptel/zaptel-1.4.9.2.tar.gz
# tar -vzxf zaptel-1.4.9.2.tar.gz
# cd zaptel-1.4.9.2.tar.gz
# ./configure
# make
# make install
# make config
# cd ..
# tar -vzxf asterisk-1.4.18.tar.gz
# cd asterisk-1.4.18
# ./configure
# make
# make install
# asterisk
# asterisk -r
If everything goes well, you should see the Asterisk console.

