bc-cli installation

Requirements

  • Java 8

Installation

  1. download bc-agent distribution file

root# cd /downloads-directory
root# wget http://beyondcron.com/downloads/bc-cli_version_all.deb

root# cd /downloads-directory
root# wget http://beyondcron.com/downloads/bc-cli_version-0.noarch.rpm

user% cd /downloads-directory
user% wget http://beyondcron.com/downloads/bc-cli-version.zip

  1. if it does not already exist, create /etc/apt/sources.list.d/beyondcron.list

root# echo 'deb https://beyondcron.com/dists/stable /' > /etc/apt/sources.list.d/beyondcron.list

the package apt-transport-https is required in order to use an https source. If you are unable to install this package, change the source entry to deb http://beyondcron.com/dists/stable /.

  1. if it does not already exist, download the BeyondCron signing key /etc/apt/trusted.gpg.d/beyondcron.gpg

root# cd /etc/apt/trusted.gpg.d
root# wget https://beyondcron.com/dists/stable/beyondcron.gpg

  1. update package index files

root# apt-get update

  1. if it does not already exist, create /etc/yum/repos.d/beyondcron.repo

root# cat > /etc/yum.repos.d/beydoncron.repo << EOF
[beyondcron]
name=BeyondCron packages
baseurl=http://beyondcron.com/dists/stable
gpgcheck=1
gpgkey=http://beyondcron.com/dists/stable/RPM-GPG-KEY-beyondcron
metadata_expire=300
enabled=1
EOF

  1. install package
  1. install package

root# dpkg -i bc-cli_version_all.deb

root# rpm -i bc-cli_version-0.noarch.rpm

root# apt-get install bc-cli

root# yum install bc-cli

If they do not already exist, installing this package will create the following:

  • directory /opt/bc-cli containing this package;
  • symbolic link /usr/local/bc-cli/opt/bc-cli/bin/bc-cli;

if the package cannot find a version of Java 8 already installed, the installation will fail.

  1. move to the install directory

user% cd /install-directory

The distribution will will create the sub-directory bc-cli.

  1. unzip distribution

user% unzip /downloads-directory/bc-cli-version.zip

  1. confirm installation

user% ./bc-cli/bin/bc-cli --version

bc-cli version

See also