Installing Requirements
-
1. Downloading Dkms
Download DKMS for Fedora GNU/Linux
Store it in a external Storage Device.
-
2. Launching Shell Emulator
Open a Terminal window in Fedora 31
(Press “Enter” to Execute Commands).In case first see: Terminal QuickStart Guide.
-
3. Extracting Dkms Archive
Then Extract Dkms into /tmp Directory
Possibly to open it up Double-Click/Right-Click on Package from the File Manager
Or from Command Line:cd /[path/2/device]
tar xvzf *.tar.gz -C /tmp/
-
4. Downloading Kernel Headers & Source
So Download the Right kernel-devel & kernel-headers Packages
First, find out the Kernel Version with:uname-r
Take Note of the Digits prior to “fc31” to searching for the kernel-devel Package!
Download kernel-devel/kernel-headers for Fedora 31 GNU/Linux
Get kernel-devel+kernel-headers .rpm PackagesFirst, see in the Actual Fedora 31 Repo.
Or else try on fedora.pkgs.org.
But in case you do not find an available version the first look: How to Install New Kernel offline. -
5. Installing Kernel Headers & Source
Then to Install Kernel Headers & Source Code
First, extract the Archive as for the previouse Tools:cd /[path/2/device]
sudo dpkg -ivh kernel*.rpm
-
6. Installing Packages
Then to Install Required Packages
First, access the Target Packages Location:cd /tmp/packages
To Check the Package are there:
ls | grep dkms
The grep Command Refine the output List showing only the entries Matching the Keyword.
Sure, the Group is exceding the needed Setup, so possibly you can remove some unnecessary Packages…
Then simply play:sudo dnf install ./*.rpm
Or:
sudo dpkg -ivh ./*.rpm
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
Finally, if some dependency is missing you can download it just browsing the Fedora Mirror as for the Kernel in the previous step.
Contents