How To Install rust-lldb on CentOS 8
Introduction
In this tutorial we learn how to install rust-lldb on CentOS 8.
What is rust-lldb
This package includes the rust-lldb script, which allows easier debugging of Rust programs.
We can use yum or dnf to install rust-lldb on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rust-lldb.
Install rust-lldb on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install rust-lldb using yum by running the following command:
sudo yum -y install rust-lldb
Install rust-lldb on CentOS 8 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-lldb using dnf by running the following command:
sudo dnf -y install rust-lldb
How To Uninstall rust-lldb on CentOS 8
To uninstall only the rust-lldb package we can use the following command:
sudo dnf remove rust-lldb
References
Summary
In this tutorial we learn how to install rust-lldb on CentOS 8 using yum and dnf.