This page shows you how to install Terraspace on CentOS, RedHat, Fedora and other Linux systems that use the yum-based package manager.
sudo su curl -so /etc/yum.repos.d/boltops.repo https://yum.boltops.com/boltops.repo rpm --import https://yum.boltops.com/boltops-key.public
yum install -y terraspace
yum makecache yum update -y terraspace
yum remove -y terraspace
By default, the standalone installer creates wrapper scripts in
/usr/local/bin. Here are some of them:
/usr/local/bin/bundle /usr/local/bin/gem /usr/local/bin/rspec /usr/local/bin/ruby /usr/local/bin/terraspace
Most users have
/usr/local/bin configured in their PATH. So these wrappers work immediately. If you wish not to have these wrappers generated for you, set
export TS_WRAPPERS=0 before running the installer.
Important: If you have ruby wrappers in
/usr/local/bin already, the installer will overwrite them.
For Fedora, you may also need the libxcrypt-compat package.
dnf install libxcrypt-compat -y
Or you’ll get this error:
$ terraspace -h /opt/terraspace/embedded/bin/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory $
Fedora is a bleeding edge distro and is quicker about upgrading their system. The
libcrypt.so has been removed. The libxcrypt-compat package installs it back.
Amazon Linux 2 Notes
The standalone installer does not support Amazon Linux 1. Please use Amazon Linux 2 instead.
You can also download the rpm package and install it directly. Here are the commands:
wget https://yum.boltops.com/packages/terraspace/terraspace-latest.rpm sudo su rpm -ivh terraspace-latest.rpm terraspace -h
You can check terraspace-latest.rpm.metadata.json to verify the package checksum. Here’s the checksum command.
rpm -e terraspace-latest.rpm