Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Wiki Markup


h1. Introduction

Installing a binary distribution of Asterisk makes it easier to maintain your system. Using the package management tools that are included with your Linux distribution, you can install and update software without manually managing dependencies (libraries and utilities on which applications rely).

Currently Asterisk is available for automated binary installation using the YUM utility on CentOS 6 Linux and RedHat Enterprise Linux 6.

h1. YUM (CentOS 6 / Red Hat Enterprise Linux 6)

h2. Active Repositories

All YUM repositories for *Asterisk and non-commercial modules/dependencies* are available at [].

|| Repository || Definition || Contents ||
| asterisk-1.8 | centos-asterisk-1.8 | Asterisk 1.8 |
| asterisk-1.8-certified | centos-asterisk-1.8-certified | Certified Asterisk 1.8 |
| asterisk-11 | centos-asterisk-11 | Asterisk 11 |
| asterisk-12 | centos-asterisk-12 | Asterisk 12 |
| asterisk-current, asterisk-beta | centos-asterisk | Beta releases, Asterisk dependencies (including DAHDI), Asterisk sound packs |

Some versions of Asterisk will have dependencies on packages that may not be typically available on all versions of CentOS/RHEL. Packages for these dependencies are available via the {{centos-asterisk}} repository; hence, it is always recommended to add the {{centos-asterisk}} repository definition.

All YUM repositories for *DAHDI firmware and commercial modules* are available at [].

h2. Adding the repository

There are two ways to add a repository to your system:

# Manually, by downloading/copying the appropriate {{centos-asterisk*}} repository definition to {{/etc/yum.repos.d}}
# Automatically via the {{asterisknow-version}} RPM. This RPM will automatically add all supported Asterisk repos to YUM, as well as the repos from [] for DAHDI firmware and commercial modules.
# rpm -Uvh
# yum update

h2. Installing

h3. Asterisk

Each major version of Asterisk has its own repository. Within the repository, there are many different packages available for Asterisk. Different packages will install Asterisk with different modules enabled, such as ODBC voicemail.

By default, the various Asterisk repositories are disabled. This allows you to have multiple Asterisk repository definitions installed on a single machine, and to choose which major version of Asterisk you'd like to install when running {{yum install}}.

{code:title=Installing Asterisk 11}
# yum install asterisk asterisk-configs --enablerepo=asterisk-11


Packages for DAHDI are supplied via the {{centos-asterisk}} repository.

{code:title=Installing DAHDI}
# yum install dahdi-linux dahdi-tools libpri

If you are installing from local files and not using the repos installed above then it's worth noting that the {{dahdi-firmware}} files - among others - are hosted at [] due to licensing. You may need to install the repository definitions from that location to obtain all of the packages needed for DAHDI.

h2. Upgrading

Upgrading can be done simply by running {{yum update}}:

# yum update