2

I am installing a wifi dongle on an RP2B and the only instructions I can find were for Linux Mint using:

sudo dkms add ./rtl8188fu  

I get a command not found. How is this done in Raspian?

1

Automatically installing Linux kernel modules with the DKMS framework is a convenient way of distributing drivers that are maintained outside of the official kernel. However, while DKMS is included in many popular Linux distributions and supports most kernel modules, it can’t always guarantee the proper installation of a third-party module. Source

It's a command like make to install/add/change some kernel modules or drivers. However, if you concerned to install a driver by dkms you should install its packages.

sudo apt-get install dkms raspberrypi-kernel-headers  

After that, you can install a related driver by the dkms. Check this link to find more about it.


References:

| improve this answer | |
1

For the future, you can get hints about missing commands directly in the command line:

$ sudo apt install command-not-found
$ sudo update-command-not-found
$ dkms
The program 'dkms' is currently not installed. You can install it by typing:
sudo apt-get install dkms

Of course it's not smart enough to tell you that dkms is indeed the command you need, or whether it's actually working on Raspbian, but it will take you one step further.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.