Install the Contrast service
Installation varies depending on your system:
Linux: Install the Contrast service with a system package manager.
Debian: Use the commands to install from the correct Debian repository.
Get the
CODENAME
for your Ubuntu release.grep VERSION_CODENAME /etc/os-release
Update the command below with the
CODENAME
, and run the commands.curl https://pkg.contrastsecurity.com/api/gpg/key/public | sudo apt-key add - echo "deb https://pkg.contrastsecurity.com/debian-public/ CODENAME contrast" | sudo tee /etc/apt/sources.list.d/contrastc.list
Install the Contrast service:
sudo apt-get update && sudo apt-get install contrast-service
Red Hat Package Manager (RPM): Use these commands to install from Contrast's yum repository.
Configure your system to use the repository:
OSREL=$(rpmquery -E "%{rhel}") sudo -E tee /etc/yum.repos.d/contrast.repo << EOF [contrast] name=contrast repo baseurl=https://pkg.contrastsecurity.com/rpm-public/centos-$OSREL/ gpgcheck=0 enabled=1 EOF
Install the Contrast service:
yum install contrast-service
Tip
To remove the contrast-service package
, run apt-get remove contrast-service
or yum remove contrast-service
.