Skip to end of metadata
Go to start of metadata

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 http://packages.asterisk.org/.

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

Icon

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 http://packages.digium.com/.

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 http://packages.digium.com 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
Icon

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 http://packages.digium.com 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

1 Comment

  1. Do not post support questions

    It is very difficult to troubleshoot packaging problems and using wiki markup is not the place. If you would like help with a problem, please use the #asterisk channel on irc.freenode.net. Feel free to ping me (pabelanger) if you found a bug or are having a problem, otherwise there are lots of very smart people in that channel you could ask.

    Comments are purged!

    Icon

    Comments are purged regularly to keep this section clean, this is done usually after your questions are answered. Any important information will be saved and incorporated into the wiki page, possibly a FAQ section.