Press ctrl+alt+t to open a Terminal Emulator window in Ubuntu.
Then you can copy or type this in to install Boundary on Ubuntu Linux in a terminal:
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install boundary
boundary -h
To install, that is all.
But here's an example of running it, so you can see what your output should look like:
* keychain 2.8.5 ~ http://www.funtoo.org
* Waiting 5 seconds for lock...
* Found existing ssh-agent: 4199
* Known ssh key: /home/nb/.ssh/id_rsa
~$ curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
[sudo] password for norbert:
OK
~$ sudo apt-add-repository "deb [arch=amd64]
https://apt.releases.hashicorp.com $(lsb_release -cs) main"
Hit:1
http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [56.6 kB]
Get:45 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [9,364 B]
Fetched 5,693 kB in 7s (792 kB/s)
Reading package lists... Done
~$ sudo apt-get update && sudo apt-get install boundary
Hit:4 https://apt.releases.hashicorp.com focal InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
boundary
0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 21.2 MB of archives.
After this operation, 48.9 MB of additional disk space will be used.
Get:1 https://apt.releases.hashicorp.com focal/main amd64 boundary amd64 0.1.2 [21.2 MB]
Fetched 21.2 MB in 4s (5,534 kB/s)
Selecting previously unselected package boundary.
(Reading database ... 280569 files and directories currently installed.)
Preparing to unpack .../boundary_0.1.2_amd64.deb ...
Unpacking boundary (0.1.2) ...
Setting up boundary (0.1.2) ...
~$ echo $PATH | grep boundary
~1$ boundary -h
Usage: boundary <command> [args]
Commands:
accounts Manage Boundary accounts
auth-methods Manage Boundary auth methods
auth-tokens Manage Boundary auth tokens
authenticate Authenticate the Boundary command-line client
config Manage resources related to Boundary's local configuration
connect Connect to a target through a Boundary worker
database Manage Boundary's database
dev Start a Boundary dev environment
groups Manage Boundary groups
host-catalogs Manage Boundary host catalogs
host-sets Manage Boundary host sets
hosts Manage Boundary hosts
roles Manage Boundary roles
scopes Manage Boundary scopes
server Start a Boundary server
sessions Manage Boundary sessions
targets Manage Boundary targets
users Manage Boundary users
~$
Top comments (0)