How To Install delve on AlmaLinux 8

In this tutorial we learn how to install delve in AlmaLinux 8. delve is A debugger for the Go programming language

Introduction

In this tutorial we learn how to install delve on AlmaLinux 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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install delve.

Install delve on AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove delve

References

Summary

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