How To Install rust-debugger-common on CentOS 7

In this tutorial we learn how to install rust-debugger-common on CentOS 7. rust-debugger-common is Common debugger pretty printers for Rust

Introduction

In this tutorial we learn how to install rust-debugger-common on CentOS 7.

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 CentOS 7. 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 CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install rust-debugger-common using yum by running the following command:

sudo yum -y install rust-debugger-common

Install rust-debugger-common on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install rust-debugger-common using dnf by running the following command:

sudo dnf -y install rust-debugger-common

How To Uninstall rust-debugger-common on CentOS 7

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 CentOS 7 using yum and dnf.