If the sudo command requires entering a password interactively you need to copy and paste the installer command snippet line by line. Otherwise the second line is entered as the password for the sudo command.
Problem: You might get the following error
E: The method driver /usr/lib/apt/methods/https could not be found.N: Is the package apt-transport-https installed?E: Failed to fetch https://repo.cloudradar.io/dists/all/InReleaseE: Some index files failed to download. They have been ignored, or old ones used instead.
Solution: Install the missing package and start the installation of cagent agent
sudo apt-get install apt-transport-httpssudo apt-get updatesudo \CAGENT_HUB_URL=https://hub.cloudradar.io/ctrapper/ \CAGENT_HUB_USER=<YOUR-ID> \CAGENT_HUB_PASSWORD=<YOUR-PASSWORD> \apt-get install cagent
​