How To Install delve on Rocky Linux 8

In this tutorial we learn how to install delve on Rocky Linux 8. delve is A debugger for the Go programming language

Introduction

In this tutorial we learn how to install delve on Rocky Linux 8.

What is delve

Delve is a debugger for the Go programming language. The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you’re using a debugger, things aren’t going your way. With that in mind, Delve should stay out of your way as much as possible.

We can use yum or dnf to install delve on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install delve.

Install delve on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install delve using dnf by running the following command:

sudo dnf -y install delve

Install delve on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install delve using yum by running the following command:

sudo yum -y install delve

How To Uninstall delve on Rocky Linux 8

To uninstall only the delve package we can use the following command:

sudo dnf remove delve

delve Package Contents on Rocky Linux 8

/usr/bin/dlv
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/c581ce516a311acb1c362609f8444d36803bf2
/usr/share/doc/delve
/usr/share/doc/delve/CHANGELOG.md
/usr/share/doc/delve/CONTRIBUTING.md
/usr/share/doc/delve/EditorIntegration.md
/usr/share/doc/delve/KnownBugs.md
/usr/share/doc/delve/README.md
/usr/share/doc/delve/api
/usr/share/doc/delve/api/ClientHowto.md
/usr/share/doc/delve/api/README.md
/usr/share/doc/delve/api/json-rpc
/usr/share/doc/delve/api/json-rpc/README.md
/usr/share/doc/delve/cli
/usr/share/doc/delve/cli/README.md
/usr/share/doc/delve/cli/expr.md
/usr/share/doc/delve/cli/getting_started.md
/usr/share/doc/delve/cli/locspec.md
/usr/share/doc/delve/cli/starlark.md
/usr/share/doc/delve/faq.md
/usr/share/doc/delve/installation
/usr/share/doc/delve/installation/README.md
/usr/share/doc/delve/installation/freebsd
/usr/share/doc/delve/installation/freebsd/install.md
/usr/share/doc/delve/installation/linux
/usr/share/doc/delve/installation/linux/install.md
/usr/share/doc/delve/installation/osx
/usr/share/doc/delve/installation/osx/install.md
/usr/share/doc/delve/installation/windows
/usr/share/doc/delve/installation/windows/install.md
/usr/share/doc/delve/internal
/usr/share/doc/delve/internal/README.md
/usr/share/doc/delve/usage
/usr/share/doc/delve/usage/README.md
/usr/share/doc/delve/usage/dlv.md
/usr/share/doc/delve/usage/dlv_attach.md
/usr/share/doc/delve/usage/dlv_backend.md
/usr/share/doc/delve/usage/dlv_connect.md
/usr/share/doc/delve/usage/dlv_core.md
/usr/share/doc/delve/usage/dlv_dap.md
/usr/share/doc/delve/usage/dlv_debug.md
/usr/share/doc/delve/usage/dlv_exec.md
/usr/share/doc/delve/usage/dlv_log.md
/usr/share/doc/delve/usage/dlv_replay.md
/usr/share/doc/delve/usage/dlv_run.md
/usr/share/doc/delve/usage/dlv_test.md
/usr/share/doc/delve/usage/dlv_trace.md
/usr/share/doc/delve/usage/dlv_version.md
/usr/share/licenses/delve
/usr/share/licenses/delve/LICENSE

References

Summary

In this tutorial we learn how to install delve on Rocky Linux 8 using yum and dnf.