Linux Agents
CommandCTRL supports installing the agent on Debian-based and RPM-based Linux distributions from the Liquidware package repository, on the amd64 and arm64 architectures.
RPM-based distributions supported: Red Hat Enterprise, CentOS, Scientific, or Oracle 7; Red Hat Enterprise, Rocky, AlmaLinux, or Oracle 8 and 9; and Fedora 38, 39, and 40.
Install Using the Official Package Managers
This is the recommended way to install the agent on Linux. One command adds the Liquidware repository and installs the agent. The command already includes your tenant ID and API key.
-
In the side navigation panel, scroll down to the Miscellaneous section and click Install Agent.
-
In the Downloads section, expand Linux.
-
Under Official Package Managers, find the command for your package manager: dnf for Fedora, CentOS, and Red Hat, or apt for Ubuntu, Debian, and Linux Mint.
-
Click the copy icon to the right of the command.
-
On the Linux machine, paste the command into a terminal and press Enter.
To install the agent manually instead, follow the steps in Install on Debian-Based Distribution or Install on RPM-Based Distributions.
Install on Debian-Based Distribution
-
Add the repository key:
Copysudo mkdir -p /etc/apt/keyrings
sudo apt-get install wget
wget -q -O- https://cdn.liquidware.com/repo/commandctrl/liquidware_support.gpg.asc | sudo gpg --dearmor -o /etc/apt/keyrings/ccagent.gpg -
Add the repository:
Copyecho "deb [signed-by=/etc/apt/keyrings/ccagent.gpg arch=$(dpkg --print-architecture)] https://cdn.liquidware.com/repo/commandctrl/prod/$(lsb_release -is | tr A-Z a-z) $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/ccagent.list > /dev/null -
Install the package:
Copysudo apt-get update
sudo apt-get install ccagent -
Configure the TenantID and apiKey from your tenant in /etc/ccagent/ccagent.yaml. Leave a space between each variable and its value:
Copysudo nano /etc/ccagent/ccagent.yaml
TenantID 12345677
apikey 3Dfdd145 -
Start the agent:
Copysudo systemctl start ccagent
Install on RPM-Based Distributions
-
Add the repository by creating /etc/yum.repos.d/commandctrl.repo. For example, for Red Hat Enterprise, Rocky, AlmaLinux, or Oracle 9:
Copyecho "[commandctrl]
name=CommandCTRL
baseurl=https://cdn.liquidware.com/repo/commandctrl/prod/redhat/redhat-9-\$basearch
enabled=1
gpgcheck=1
gpgkey=https://cdn.liquidware.com/repo/commandctrl/liquidware_support.gpg.asc" | sudo tee /etc/yum.repos.d/commandctrl.repoFor other distributions, substitute the matching baseurl path — for example redhat-7, redhat-8, or fedora/fedora-40.
-
Install the package. On Red Hat, CentOS, Scientific, or Oracle 7, use yum; on all others, use dnf:
Copysudo yum install -y ccagent (RHEL/CentOS/Oracle 7)
sudo dnf install -y ccagent (all others) -
Configure the TenantID and apiKey in /etc/ccagent/ccagent.yaml:
Copysudo vi /etc/ccagent/ccagent.yaml -
Enable and start the agent:
Copysudo systemctl enable ccagent
sudo systemctl start ccagent
Linux Support File Locations
-
Logs: /var/log/ccagent.log
-
Configuration file: /etc/ccagent/ccagent.yaml
-
Temporary files: /tmp/systemd-private-*-ccagent.service-*
For thin client platforms, see IGEL Agents and Citrix/Unicon eLux Agents.
