| | 1 | [[PageOutline(2-4)]] |
| | 2 | == APT Repositories == |
| | 3 | |
| | 4 | Releases of {{{freeDiameter}}} are compiled for your convenience as {{{.deb}}} packages for Debian and Ubuntu distributions, and distributed on this website. In order to use these packages, follow the instructions on this page. |
| | 5 | |
| | 6 | === Repository's GPG key === |
| | 7 | |
| | 8 | Modern distributions use secure APT signed repositories for packages distribution. |
| | 9 | This is how you can import the public key of the freeDiameter repository. |
| | 10 | |
| | 11 | {{{ |
| | 12 | $ # First, retrieve the key from the website |
| | 13 | $ wget http://www.freediameter.net/packages/repository.key |
| | 14 | |
| | 15 | $ # Optionally, check the key was not tempered with |
| | 16 | $ md5sum repository.key |
| | 17 | 3483b09a2b6a1e882ac55d5d33354358 repository.key |
| | 18 | $ # (correct value is in repository.md5sum file) |
| | 19 | |
| | 20 | $ # Finally import this key into APT |
| | 21 | $ sudo apt-key add repository.key |
| | 22 | OK |
| | 23 | }}} |
| | 24 | |
| | 25 | === Package repository address === |
| | 26 | |
| | 27 | Next step is to add the declaration of the repository to your apt configuration. |
| | 28 | |
| | 29 | If your system has a ''/etc/apt/sources.list.d'' folder, it is advised to create a new file inside this folder, for example called {{{freediameter.list}}}. Otherwise, simply add the following content to you ''/etc/apt/sources.list'' file. |
| | 30 | |
| | 31 | ==== Debian ==== |
| | 32 | |
| | 33 | * Debian Lenny (stable): |
| | 34 | {{{ |
| | 35 | ## freeDiameter APT repository |
| | 36 | deb http://www.freediameter.net/packages/debian lenny contrib |
| | 37 | |
| | 38 | ## In order to rebuild the freeDiameter packages, |
| | 39 | ## you will need backports for lenny also. |
| | 40 | deb-src http://www.freediameter.net/packages/debian lenny contrib |
| | 41 | }}} |
| | 42 | |
| | 43 | * Debian Squeeze (testing): |
| | 44 | {{{ |
| | 45 | ## freeDiameter APT repository |
| | 46 | deb http://www.freediameter.net/packages/debian squeeze contrib |
| | 47 | deb-src http://www.freediameter.net/packages/debian squeeze contrib |
| | 48 | }}} |
| | 49 | |
| | 50 | |
| | 51 | * Debian Sid (unstable): |
| | 52 | {{{ |
| | 53 | ## freeDiameter APT repository |
| | 54 | deb http://www.freediameter.net/packages/debian sid contrib |
| | 55 | deb-src http://www.freediameter.net/packages/debian sid contrib |
| | 56 | }}} |
| | 57 | |
| | 58 | ==== Ubuntu ==== |
| | 59 | * Ubuntu Karmic (9.10): |
| | 60 | {{{ |
| | 61 | ## freeDiameter APT repository |
| | 62 | deb http://www.freediameter.net/packages/ubuntu karmic universe |
| | 63 | deb-src http://www.freediameter.net/packages/ubuntu karmic universe |
| | 64 | }}} |
| | 65 | |
| | 66 | * Ubuntu Lucid (10.04): |
| | 67 | {{{ |
| | 68 | ## freeDiameter APT repository |
| | 69 | deb http://www.freediameter.net/packages/ubuntu lucid universe |
| | 70 | deb-src http://www.freediameter.net/packages/ubuntu lucid universe |
| | 71 | }}} |
| | 72 | |
| | 73 | === Using the repository === |
| | 74 | |
| | 75 | Once you have configured apt properly, the following commands should work. |
| | 76 | {{{ |
| | 77 | $ sudo aptitude update |
| | 78 | $ aptitude search freediameter |
| | 79 | |
| | 80 | }}} |
| | 81 | |
| | 82 | ---- |