View Source

The Advanced Packaging Tool, or *APT*, is used to handle the retrieval, configuration, and installation of software packages and the removal of software on Debian GNU/Linux distributions.
The R1Soft software repository is signed and a GPG key is provided for verification. The key must be added or trusted before APT will allow installation from it.

{info}NOTE : APT packages for R1Soft Server Backup Manager versions 6.18.6 and newer are signed using an updated r1soft.asc GPG key.
The previous GPG key is now available as r1soft.asc.legacy for use with package versions 6.18.5 and older. {info}

{info}Beginning with Ubuntu 22.04 (Jammy Jellyfish) and Debian 11 (Bullseye), the apt-key utility has been deprecated. For these (and newer) operating systems it is instead recommended to manage keyring files in the /etc/apt/trusted.gpg.d/ directory.{info}

h3. *Steps for more recent Operating Systems, such as Ubuntu 22.04, Debian 11 and newer.*

*1)* First, download the R1Soft apt gpg key to the /etc/apt/trusted.gpg.d/ directory :


{code}For R1Soft Server Backup versions 6.18.6 and newer: 
# wget -qO- http://repo.r1soft.com/r1soft.asc | tee /etc/apt/trusted.gpg.d/r1soft.asc

For R1Soft Server Backup versions 6.18.5 and older: 
# wget -qO- http://repo.r1soft.com/r1soft.asc.legacy | tee /etc/apt/trusted.gpg.d/r1soft.asc{code}


*2)* After the key is saved successfully, the next step is to create a sources file for the R1Soft repo:
Use your favorite text editor to create the r1soft.sources file, here :

{code}/etc/apt/sources.list.d/r1soft.sources{code}

Copy the lines below inside the r1soft.sources file.

{code}
Types: deb
URIs: http://repo.r1soft.com/apt
Suites: stable
Components: main
Signed-By: /etc/apt/trusted.gpg.d/r1soft.asc{code}


*3)* Save and exit this file.



*4)* Lastly, run apt update to download the latest information about the packages in the new repository:
{code}# apt-get update {code}

h3. *Steps for legacy Operating Systems, such as Ubuntu 20.04, Debian 10 or older.*

*1)* First, modify /etc/apt/sources.list to include the R1Soft repository.


{code}# echo "deb http://repo.r1soft.com/apt stable main" >> /etc/apt/sources.list {code}
*2)* Next, download the R1Soft apt gpg key.


{code}For R1Soft Server Backup versions 6.18.6 and newer: 
# wget http://repo.r1soft.com/r1soft.asc

For R1Soft Server Backup versions 6.18.5 and older: 
# wget http://repo.r1soft.com/r1soft.asc.legacy{code}
*3)* Add the apt gpg key using the apt-key command:

{code}For R1Soft Server Backup versions 6.18.6 and newer: 
# apt-key add r1soft.asc

For R1Soft Server Backup versions 6.18.5 and older: 
# apt-key add r1soft.asc.legacy{code}
*4)* Lastly, run apt-get update to download the information about the packages in the new repository:


{code}# apt-get update {code}