How To Install golang-github-hashicorp-hcl-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-hashicorp-hcl-devel on Fedora 36.
What is golang-github-hashicorp-hcl-devel
HCL (HashiCorp Configuration Language) is a configuration language built by HashiCorp. The goal of HCL is to build a structured configuration language that is both human and machine friendly for use with command-line tools, but specifically targeted towards DevOps tools, servers, etc. HCL is also fully JSON compatible. That is, JSON can be used as completely valid input to a system expecting HCL. This helps makes systems interoperable with other systems. HCL is heavily inspired by libucl, nginx configuration, and others similar. This package contains the source code needed for building packages that reference the following Go import paths – github.com/hashicorp/hcl
We can use yum or dnf to install golang-github-hashicorp-hcl-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-hashicorp-hcl-devel.
Install golang-github-hashicorp-hcl-devel on Fedora 36 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install golang-github-hashicorp-hcl-devel using dnf by running the following command:
sudo dnf -y install golang-github-hashicorp-hcl-devel
Install golang-github-hashicorp-hcl-devel on Fedora 36 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install golang-github-hashicorp-hcl-devel using yum by running the following command:
sudo yum -y install golang-github-hashicorp-hcl-devel
How To Uninstall golang-github-hashicorp-hcl-devel on Fedora 36
To uninstall only the golang-github-hashicorp-hcl-devel package we can use the following command:
sudo dnf remove golang-github-hashicorp-hcl-devel
golang-github-hashicorp-hcl-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-hashicorp-hcl-devel
/usr/share/doc/golang-github-hashicorp-hcl-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/hashicorp
/usr/share/gocode/src/github.com/hashicorp/hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/.goipath
/usr/share/gocode/src/github.com/hashicorp/hcl/README.md
/usr/share/gocode/src/github.com/hashicorp/hcl/decoder.go
/usr/share/gocode/src/github.com/hashicorp/hcl/decoder_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/glide.lock
/usr/share/gocode/src/github.com/hashicorp/hcl/glide.yaml
/usr/share/gocode/src/github.com/hashicorp/hcl/go.mod
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/ast
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/ast/ast.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/ast/ast_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/ast/walk.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd/fmtcmd.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd/fmtcmd_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/.hidden.ignore
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/dir.ignore
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/file.ignore
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/fmtcmd/test-fixtures/good.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/error.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/error_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/parser.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/parser_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/array_comment.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/array_comment_2.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/assign_colon.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/assign_deep.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_crlf.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_lastline.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/comment_single.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/complex.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/complex_crlf.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/complex_key.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/empty.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/git_crypt.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/key_without_value.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/list_comma.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/missing_braces.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/multiple.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_key_assign_without_value.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_key_assign_without_value2.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_key_assign_without_value3.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_key_without_value.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/object_list_comma.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/old.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure_basic.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/structure_empty.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/types.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/unterminated_object.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/parser/test-fixtures/unterminated_object_2.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/printer
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/printer/nodes.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/printer/printer.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/printer/printer_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/scanner
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/scanner/scanner.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/scanner/scanner_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/strconv
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/strconv/quote.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/strconv/quote_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/array_comment.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/assign_colon.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/comment.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/comment_single.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/complex.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/complex_key.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/empty.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/list.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/list_comma.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/multiple.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/old.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/structure.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/structure_basic.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/structure_empty.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/test-fixtures/types.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/token
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/token/position.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/token/token.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl/token/token_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/hcl_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/flatten.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/parser.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/parser_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures/array.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures/bad_input_128.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures/bad_input_tf_8110.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures/basic.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures/good_input_tf_8110.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures/object.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/parser/test-fixtures/types.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/scanner
/usr/share/gocode/src/github.com/hashicorp/hcl/json/scanner/scanner.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json/scanner/scanner_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json/test-fixtures
/usr/share/gocode/src/github.com/hashicorp/hcl/json/test-fixtures/array.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/test-fixtures/basic.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/test-fixtures/object.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/test-fixtures/types.json
/usr/share/gocode/src/github.com/hashicorp/hcl/json/token
/usr/share/gocode/src/github.com/hashicorp/hcl/json/token/position.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json/token/token.go
/usr/share/gocode/src/github.com/hashicorp/hcl/json/token/token_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/lex.go
/usr/share/gocode/src/github.com/hashicorp/hcl/lex_test.go
/usr/share/gocode/src/github.com/hashicorp/hcl/parse.go
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/assign_deep.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/basic.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/basic.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/basic_int_string.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/basic_squish.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/block_assign.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/decode_policy.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/decode_policy.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/decode_tf_variable.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/empty.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/escape.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/escape_backslash.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/flat.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/float.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/float.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/git_crypt.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/interpolate.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/list_of_lists.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/list_of_maps.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline_bad.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline_indented.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline_literal.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline_literal_with_hil.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline_no_eof.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline_no_hanging_indent.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/multiline_no_marker.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/nested_block_comment.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/nested_provider_bad.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/null_strings.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/object_list.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/object_with_bool.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/scientific.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/scientific.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/slice_expand.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure2.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure2.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_flat.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_flatmap.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_list.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_list.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_list_deep.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_list_empty.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_multi.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/structure_multi.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/terraform_heroku.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/terraform_variable_invalid.json
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/tfvars.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/unterminated_block_comment.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/test-fixtures/unterminated_brace.hcl
/usr/share/gocode/src/github.com/hashicorp/hcl/testhelper
/usr/share/gocode/src/github.com/hashicorp/hcl/testhelper/unix2dos.go
/usr/share/licenses/golang-github-hashicorp-hcl-devel
/usr/share/licenses/golang-github-hashicorp-hcl-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-hashicorp-hcl-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).