Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Terraform
Commits
9d82c65e
Commit
9d82c65e
authored
3 years ago
by
Laura Pacilio
Browse files
Options
Download
Email Patches
Plain Diff
Merge pull request #30956 from tigerblue77/patch-1
Update apt.mdx
parent
58f052bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
website/docs/cli/install/apt.mdx
+2
-2
website/docs/cli/install/apt.mdx
with
2 additions
and
2 deletions
+2
-2
website/docs/cli/install/apt.mdx
+
2
-
2
View file @
9d82c65e
...
...
@@ -32,14 +32,14 @@ so in most situations the first step would be to configure your system to trust
that
HashiCorp
key
for
package
authentication
.
For
example
:
```
bash
curl
-
fsSL
https
://
apt
.
releases
.
hashicorp
.
com
/
gpg
|
sudo
apt
-
key
add
-
wget
-
qO
-
terraform
.
gpg
https
://
apt
.
releases
.
hashicorp
.
com
/
gpg
|
sudo
gpg
--
dearmor
-
o
/
usr
/
share
/
keyrings
/
terraform
-
archive
-
keyring
.
gpg
```
After
registering
the
key
,
you
can
add
the
official
HashiCorp
repository
to
your
system
:
```
bash
sudo
apt
-
add
-
repository
"deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo
echo
"deb [arch=$(dpkg --print-architecture)
signed-by=/usr/share/keyrings/terraform-archive-keyring.gpg
] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
>
/
etc
/
apt
/
sources
.
list
.
d
/
terraform
.
list
```
The
above
command
line
uses
the
following
sub
-
shell
commands
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help