I have recently started to enjoy Ubuntu (rated highly) on the desktop but struggled with the package mangement environment a bit coming from SuSE/YaST. After sorting it out, I have successfully managed to get Asterisk v1.2.1 working on Ubuntu v5.10 without breaking the packages, too much.
[quote=“Wiki”]While Ubuntu has Asterisk in the distros, it is an old version at 1.0.9. In order to get the latest version compiled and running, you must first obtain and compile the libraries required for Asterisk:
* Openssl & -devel
* Ncurses & -devel
* Zlib & -devel
To do this, you must have gcc v3.4 and run this command as sudo/root:
apt-get install cvs make gcc g++ libncurses5-dev libssl-dev zlib1g-dev
Once this is complete, you may follow the standard installation instructions from Asterisk.org. - Source[/quote]
This does work for desktop of course, although best to run on server for production. If anyone has any better practices for doing this by all means please post them here.