How To Install rust-debugger-common on AlmaLinux 8

In this tutorial we learn how to install rust-debugger-common in AlmaLinux 8. rust-debugger-common is Common debugger pretty printers for Rust

Introduction

In this tutorial we learn how to install rust-debugger-common on AlmaLinux 8.

What is rust-debugger-common

This package includes the common functionality for rust-gdb and rust-lldb.

We can use yum or dnf to install rust-debugger-common on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rust-debugger-common.

Install rust-debugger-common 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 rust-debugger-common using dnf by running the following command:

sudo dnf -y install rust-debugger-common

Install rust-debugger-common 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 rust-debugger-common using yum by running the following command:

sudo yum -y install rust-debugger-common

How To Uninstall rust-debugger-common on AlmaLinux 8

To uninstall only the rust-debugger-common package we can use the following command:

sudo dnf remove rust-debugger-common

References

Summary

In this tutorial we learn how to install rust-debugger-common on AlmaLinux 8 using yum and dnf.