export AGE_VERSION=v1.2.1 # Download the archive wget https://github.com/FiloSottile/age/releases/download/$AGE_VERSION/age-$AGE_VERSION-linux-amd64.tar.gz # Extract the contents of the archive tar -xvf age-$AGE_VERSION-linux-amd64.tar.gz # Move the binaries to a directory in our PATH sudo mv age/age* /usr/local/bin/ # Make the binaries executable sudo chmod +x /usr/local/bin/age*