Installing GitHub Driver
-
4. Installing Dependencies
Then to Install Required Packages
First, possibly to Upgrade System play:sudo dnf upgrade --refresh
And then in this case Reboot with:
sudo reboot
Next simply play:
sudo dnf install kernel-headers kernel-devel git
And again:
sudo dnf groupinstall "Development Tools"
Further you may need also the C Libraries:
sudo dnf groupinstall "C Development Tools and Libraries"
-
5. Downloading Realtek RTL8168 Driver Source
Download RTL8168 Driver Source for GNU/Linux
If you are using Firefox then on Prompt Choose “Open with Archive Manager”:
Or After try to Select the Package by the Downloads Button on Top Panel:
Instead, on Google-Chrome simply try to Choose the Package on the Bottom Panel:
-
6. Extracting RTL8168 Source Archive
Then Extract RTL8168 Driver Source into /tmp Directory
If it does Not Open automatically then Double-Click on File Manager:
Or from Command Line:tar xvjf ~/Downloads/r8*.tar.bz2 -C /tmp/
-
7. Installing Realtek RTL8168 Driver
Next to Install RTL8168 Driver on Fedora
Especially relevant: the below instructions are for the Official Realtek Driver, for the other variants follow the Developer’s instructions on GitHub!
First, Change to the Target directory:cd /tmp/r8*
And then Run the Installation Script with:
sudo ./autorun.sh
And then to Reboot play:
sudo reboot
Then to Check whether the Driver is loaded use:
lsmod | grep r8125
Or:
ifconfig -a
So Now I’m truly Happy if My Guide could Help you to Install Realtek RTL8168 Driver on CentOS 8!
Contents