<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>
        <br/>
                         <h4>Changes (6)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >h2. Adding the repository <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">h3. Step 1 <br>Import to public key for the Asterisk Packaging Team &lt;packages@asterisk.org&gt;. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h3. Import to public key <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>$ sudo apt-key adv --keyserver subkeys.pgp.net --recv-keys 175E41DF <br>{code} <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">h3. Step 2 <br>Add the release branch for the Asterisk packages. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h3. Add release branch <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>$ sudo add-apt-repository &quot;deb http://packages.asterisk.org/deb `lsb_release -cs` main&quot; <br>{code} <br> <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">h3. Step 3 <br>Update APT. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">h3. Update APT <br></td></tr>
            <tr><td class="diff-unchanged" >{code} <br>$ sudo apt-get update <br></td></tr>
            <tr><td class="diff-snipped" >...<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>

<div>
<ul>
    <li><a href='#AsteriskPackages-Debian%2FUbuntu'>Debian / Ubuntu</a></li>
<ul>
    <li><a href='#AsteriskPackages-Prerequisites'>Prerequisites</a></li>
    <li><a href='#AsteriskPackages-Addingtherepository'>Adding the repository</a></li>
<ul>
    <li><a href='#AsteriskPackages-Importtopublickey'>Import to public key</a></li>
    <li><a href='#AsteriskPackages-Addreleasebranch'>Add release branch</a></li>
    <li><a href='#AsteriskPackages-UpdateAPT'>Update APT</a></li>
</ul>
    <li><a href='#AsteriskPackages-InstallingAsterisk'>Installing Asterisk</a></li>
<ul>
    <li><a href='#AsteriskPackages-Asterisk'>Asterisk</a></li>
    <li><a href='#AsteriskPackages-DAHDI'>DAHDI</a></li>
</ul>
</ul>
</ul></div>

<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-Importtopublickey"></a>Import to public key</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-key adv --keyserver subkeys.pgp.net --recv-keys 175E41DF
]]></script>
</div></div>

<h3><a name="AsteriskPackages-Addreleasebranch"></a>Add release branch</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 add-apt-repository "deb http://packages.asterisk.org/deb `lsb_release -cs` main"
]]></script>
</div></div>

<h3><a name="AsteriskPackages-UpdateAPT"></a>Update APT</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 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=8&originalVersion=7">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>