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?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
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.
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.