From c6a0dfa96063d3df2473d042e92500ead3483ddf Mon Sep 17 00:00:00 2001 From: TeoV Date: Mon, 28 Oct 2019 12:04:23 -0400 Subject: [PATCH] Update documentation to install CGRateS from APT --- docs/installation.rst | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 9a2ee80b7..76b442355 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -5,7 +5,27 @@ CGRateS can be installed via packages as well as Go automated source install. We recommend using source installs for advanced users familiar with Go programming and packages for users not willing to be involved in the code building process. 3.1. Using packages -------------------- +~~~~~~~~~~~~~ + +First step import and add the key: + +:: + + sudo wget -O - http://apt.cgrates.org/apt.cgrates.org.gpg.key | sudo apt-key add - + +Second step add the repository in /etc/apt/sources.list ( command need to be executed as root ) + +:: + + echo "deb http://apt.cgrates.org/debian/ nightly main" >> /etc/apt/sources.list + +Third step update the apt and install the CGRateS + +:: + + sudo apt-get update + sudo apt-get install cgrates + 3.1.1. Debian ~~~~~~~~~~~~~