Install the latest hardware drivers from ELRepo on CentOS

If you build a PC using the latest motherboard and try to install CentOS, you may have trouble because there is no driver.

For example, the other day I assembled a PC with ASRock's Z490M-ITX / ac and installed CentOS 7, but I had a hard time because the latest driver of Intel's e1000e and the driver of NIC of Realtek's 8125 2.5GbE Controller were not included. did.

It is good to compile the driver from the source code provided by the manufacturer, but considering that it will be moss in compilation and follow the driver version upgrade, I would like to be able to upgrade automatically.

It is convenient to install the driver from ELRepo with the network connected.

What is EL Repo

ELRepo is an RPM repository for enterprise Linux packages. It is an abbreviation for Enterprise Linux Repository. It supports Red Hat Enterprise Linux (RHEL) and its derivative distributions (Scientific Linux, CentOS, etc.).

ELRepo is said to consist of five members working in the RHEL, CentOS and Scientifc Linux communities.

A Japanese person named Yagi Akemi is also participating.

Usage procedure

Public key installation

First, import the public key.

$ sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org

When installing on a system with Secure Boot enabled

If you want to use the ELRepo kernel module on a system with Secure Boot enabled, you need to add the ELRepo Secure Boot public key to the MOK (Machine Owner Key) list.

For this method, refer to the original SecureBootKey.

Install ELRepo

RHEL8、CentOS8

$ sudo yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm

RHEL7、Scientific Linux7、CentOS7

$ sudo yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm

With this alone, it will be installed from the original server, and it will take time to download. Also execute the following command so that you can use the mirror.

$ sudo install yum-plugin-fastestmirror

RHEL6、Scientific Linux6、CentOS6

$ sudo yum install https://www.elrepo.org/elrepo-release-6.el6.elrepo.noarch.rpm

With this alone, it will be installed from the original server, and it will take time to download. Also execute the following command so that you can use the mirror.

$ sudo install yum-plugin-fastestmirror

List of supported hardware drivers

You can find out what kind of hardware drivers are in the repository at Package on the original website.

Driver installation

On the main channel, el repo, it seems that it does not batting with the driver recorded in the distribution. Be sure to do a yum update before using the repository.

$ sudo yum update

Then install the driver you want to install. For example, with Intel's e1000e

$ sudo yum install kmod-e1000e

With Realtek8125 2.5GbE Controller

$ sudo yum install kmod-r8125

Of course, please read the instruction manual of the motherboard to confirm the product number of the NIC you want to use in advance.

Depending on the installed packages and repository settings, you may need to disable repositories other than elrepo.

$ sudo yum --disablerepo=\* --enablerepo=elrepo install kmod-nvidia

Recommended Posts

Install the latest hardware drivers from ELRepo on CentOS
Install apache 2.4.46 from source on CentOS7
Install samba4 from source code on CentOS8
Install OpenJDK (Java) on the latest Ubuntu
Install the webmail client Rainloop on CentOS 8
Install the latest version of Jenkins on Ubuntu 16
Install Neo4j 4.1.3 on centOS
Install Vertica 10.0 on CentOS 6.10
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install Redmine 4.1.1 on CentOS 7
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
Install MySQL 5.6 on CentOS6 [How to specify the version]
Install ag (the silver searcher) [on CentOS / Ubuntu / Mac]
# Vagrant + VirtualBOx can't mount on the latest CentOS7 vbox (centos/7 2004.01)
Install OpenFOAM v2006 on CentOS
Install Jenkins on Docker's CentOS
Install Apache on CentOS on VirtualBox
Install Ruby 2.7 on CentOS 7 (SCL)
Try DPDK20 SDK on CentOS7 ①Install
Install the memcached plugin on MySQL and access it from Java
Build the latest Samba 4 on Ubuntu 20.04
Install Ruby 2.5 on CentOS 7 using SCL
Install the project management tool "Redmine" on CentOS8 (database is Postgre)
Install Java Open JDK 8 on CentOS 7
Upgrade from MYSQL5.7 to 8.0 on CentOS 6.7
How to install MariaDB 10.4 on CentOS 8
Steps to install MySQL 8 on CentOS 8
Use the iostat command on CentOS 8
Steps to install devtoolset-6 on CentOS 7
Install Java 9 on windows 10 and CentOS 7
Kick ShellScript on the server from Java
How to install beta php8.0 on CentOS8
Install CentOS 7 on Raspberry pi 4 Model B
Install NextCloud on CentOS 7 with Alibaba Cloud ECS
Command to install nginx / PHP7 / php-fpm on CentOS7
Migration from Eclipse to IntelliJ (on the way)
Install GitLab on CentOS 8 with no internet connection
Install CMS Made Simple v2.2.2 on LAMP on CentOS 7.3