Re-installing Asterisk

Installing and removing a software package in Ubuntu is quite as easy as

sudo apt-get install {package_name}
sudo apt-get purge {package_name}

But when it comes to removing Asterisk, only the core packages are removed left the dependencies. Thus re-installing Asterisk doesn’t give you a fresh Asterisk.

In order to complete remove Asterisk you have to

sudo apt-get purge asterisk asterisk-*

then install Asterisk, you will have a clean Asterisk server in the box.

Enjoy!

Posted in Tip

Leave a comment