Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 54 Next »

1. 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.

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

2.1. Active Repositories

All YUM repositories for Asterisk and non-commercial modules/dependencies are available at






Asterisk 1.8



Certified Asterisk 1.8



Asterisk 11



Asterisk 12

asterisk-current, asterisk-beta


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

2.2. Adding the repository

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

  1. Manually, by downloading/copying the appropriate centos-asterisk* repository definition to /etc/yum.repos.d
  2. 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.

2.3. Installing

2.3.1. 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.

Installing Asterisk 11

2.3.2. DAHDI

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

Installing DAHDI

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.

2.4. Upgrading

Upgrading can be done simply by running yum update:

  • No labels