<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2041/1/7/_/styles/combined.css?spaceKey=AST&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages">Asterisk Packages</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://wiki.asterisk.org/wiki/display/~pabelanger">Paul Belanger</a>
    </h4>
        <div id="versionComment">
        <b>Comment:</b>
        updates for Debian / Ubuntu<br />
    </div>
        <br/>
                         <h4>Changes (8)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-changed-lines" >Welcome to Asterisk <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Packaging.</span> <span class="diff-added-words"style="background-color: #dfd;">Packages.</span>  Here you can get the latest available Asterisk releases for every supported version of <span class="diff-added-words"style="background-color: #dfd;">Debian and</span> Ubuntu. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>h1. Debian / Ubuntu <br> <br>h2. Prerequisites <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h2. Adding the repository <br> <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >Add the release branch for the Asterisk packages. <br>{code} <br></td></tr>
            <tr><td class="diff-changed-lines" >$ sudo add-apt-repository &quot;deb <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">http://packages.asterisk.org/ubuntu</span> <span class="diff-added-words"style="background-color: #dfd;">http://packages.asterisk.org/deb</span> `lsb_release -cs` main&quot; <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">h3. Step 2.1 (Optional) <br>The proposed updates are updates which are waiting to be moved into the release branch after some testing. They may never reach recommended or they may be replaced with a more recent update. Enabling this is reasonable if you want to participate in testing minor updates, or know that your specific problem has been solved here but the package hasn&#39;t reached recommended yet. <br>{code} <br>$ sudo add-apt-repository &quot;deb http://packages.asterisk.org/ubuntu `lsb_release -cs`-proposed main&quot; <br>{code} <br> <br></td></tr>
            <tr><td class="diff-unchanged" >h3. Step 3 <br>Update APT. <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >h2. Installing <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">software</span> <span class="diff-added-words"style="background-color: #dfd;">Asterisk</span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">h3. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h3. Asterisk <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>$ sudo apt-get install asterisk-1.8 <br>{code} <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>h3. DAHDI <br>{code} <br>$ sudo apt-get install dahdi <br>{code} <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <p>Welcome to Asterisk Packages.  Here you can get the latest available Asterisk releases for every supported version of Debian and Ubuntu.</p>

<h1><a name="AsteriskPackages-Debian%2FUbuntu"></a>Debian / Ubuntu</h1>

<h2><a name="AsteriskPackages-Prerequisites"></a>Prerequisites</h2>

<h2><a name="AsteriskPackages-Addingtherepository"></a>Adding the repository</h2>

<h3><a name="AsteriskPackages-Step1"></a>Step 1</h3>
<p>Import to public key for the Asterisk Packaging Team &lt;packages@asterisk.org&gt;.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
$ sudo apt-key adv --keyserver subkeys.pgp.net --recv-keys 175E41DF
]]></script>
</div></div>

<h3><a name="AsteriskPackages-Step2"></a>Step 2</h3>
<p>Add the release branch for the Asterisk packages.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
$ sudo add-apt-repository "deb http://packages.asterisk.org/deb `lsb_release -cs` main"
]]></script>
</div></div>

<h3><a name="AsteriskPackages-Step3"></a>Step 3</h3>
<p>Update APT.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
$ sudo apt-get update
]]></script>
</div></div>

<h2><a name="AsteriskPackages-InstallingAsterisk"></a>Installing Asterisk</h2>

<h3><a name="AsteriskPackages-Asterisk"></a>Asterisk</h3>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
$ sudo apt-get install asterisk-1.8
]]></script>
</div></div>

<h3><a name="AsteriskPackages-DAHDI"></a>DAHDI</h3>
<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<script type="syntaxhighlighter" class="toolbar: false; theme: Confluence; brush: java; gutter: false"><![CDATA[
$ sudo apt-get install dahdi
]]></script>
</div></div>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages">View Online</a>
        |
        <a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=10650223&revisedVersion=6&originalVersion=5">View Changes</a>
                |
        <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>