Debian Ubuntu

To set up and configure a Debian or Ubuntu repository

  1. Create the repository:

    You can manually create the repository or you can use a setup script to create the repository automatically.

    • _To create the Debian or Ubuntu repository configuration file manually
      1. Update the /etc/apt/sources.list file to include the official Delinea package repository.

        deb https://cloudrepo.centrify.com/URLTOKEN/deb/deb/debian any-version main /etc/apt/sources.list.d/centrify-deb.list

  2. Import your GPG key and update the repository.

    # bash -c 'wget -O - https://support.delinea.com/s/product-downloads/products/RPM-GPG-KEY-centrify | apt-key add -'
    
  3. Comment out the no-debsig line in /etc/dpkg/dpkg.cfg to enable GPG signature validation.

    # grep no-debsig /etc/dpkg/dpkg.cfg
    

    # no-debsig

  4. Clean and update the local archives.

    # apt-get clean
    

    # apt-get update

  • To create the Debian or Ubuntu repository configuration file automatically from a script

      curl -1sLf 'https://cloudrepo.centrify.com/URLTOKEN/deb/cfg/setup/bash.deb.sh' | sudo -E bash
    

Note: Enter your Delinea repository URL token in place of URLTOKEN.

If you manually created your APT repository, the configuration details are in the /etc/apt/sources.list file. If you used the setup script to create the APT repository, the configuration details are in a separate file such as centrify-deb.list in the /etc/apt/sources.list.d directory.

  1. Execute the apt list command to verify the repository connection. You should see output similar to the following.

     # apt list --all-versions | grep centrify
    

    centrifyda/buster 3.7.0-172 amd64

    centrifyda/buster 3.6.1-324 amd64

    centrifydc-adbindproxy/buster 5.7.0-217 amd64

    centrifydc-adbindproxy/buster 5.6.1-334 amd64

    centrifydc-cifsidmap/buster 5.7.0-207 amd64

    centrifydc-cifsidmap/buster 5.6.1-330 amd64

    centrifydc-curl/buster 5.7.0-207 amd64

    centrifydc-curl/buster 5.6.1-330 amd64

    centrifydc-ldapproxy/buster 5.7.0-207 amd64

    centrifydc-ldapproxy/buster 5.6.1-330 amd64

    centrifydc-nis/buster 5.7.0-207 amd64

    centrifydc-nis/buster 5.6.1-330 amd64

    centrifydc-openldap/buster 5.7.0-207 amd64

    centrifydc-openldap/buster 5.6.1-330 amd64

    centrifydc-openssh/buster 8.2p1-5.7.0.207 amd64

    centrifydc-openssh/buster 7.9p1-5.6.1.329 amd64

    centrifydc-openssl/buster 5.7.0-207 amd64

    centrifydc-openssl/buster 5.6.1-330 amd64

    centrifydc/buster 5.7.0-207 amd64

    centrifydc/buster 5.6.1-330 amd64

  2. Execute the apt install or apt-get install commands to install Delinea packages. For example:

    # apt install centrifydc centrifydc-nis
    

    # apt-get install centrifydc-5.7.0-207

Note: To uninstall the Server Suite Agent for *NIX rpm, you can use the remove command to delete the Server Suite Agent for *NIX package or the purge command to also delete any configuration files. For example:

# apt remove centrifydc=5.7.0-207