How To Install biosdevname.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install biosdevname.x86_64
on Amazon Linux 2.
What is biosdevname.x86_64
biosdevname in its simplest form takes a kernel device name as an argument, and returns the BIOS-given name it “should” be. This is necessary on systems where the BIOS name for a given device (e.g. the label on the chassis is “Gb1”) doesn’t map directly and obviously to the kernel name (e.g. eth0).
We can use yum
to install biosdevname.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install biosdevname.x86_64.
Install biosdevname.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install biosdevname.x86_64
using yum
by running the following command:
sudo yum -y install biosdevname.x86_64
How To Uninstall biosdevname.x86_64 on Amazon Linux 2
To uninstall only the biosdevname.x86_64
package we can use the following command:
sudo yum remove biosdevname.x86_64
biosdevname.x86_64 Package Contents on Amazon Linux 2
/usr/lib/udev/rules.d/71-biosdevname.rules
/usr/sbin/biosdevname
/usr/share/doc/biosdevname-0.7.3
/usr/share/doc/biosdevname-0.7.3/COPYING
/usr/share/doc/biosdevname-0.7.3/README
/usr/share/man/man1/biosdevname.1.gz
References
Summary
In this tutorial we learn how to install biosdevname.x86_64
on Amazon Linux 2 using yum.