Przeglądaj źródła

Add build environment dependency instructions.

Tomás Pinho 7 lat temu
rodzic
commit
dd5da8a469
1 zmienionych plików z 13 dodań i 0 usunięć
  1. 13 0
      README.md

+ 13 - 0
README.md

@@ -8,6 +8,19 @@ This driver can be installed using [DKMS](http://linux.dell.com/dkms/). This is
 
 
 ## Installation of Driver
+Make sure you have a proper build environment and `dkms` installed.
+
+### Ubuntu
+```
+sudo apt install linux-headers-$(uname -r) build-essential dkms
+```
+
+### ArchLinux
+Generally speaking, ArchLinux already comes with a compiler toolchain installed. If you have a weird installation, just make sure you have the `base-devel` package group installed before you proceed.
+```
+sudo pacman -Sy linux-headers dkms
+```
+
 In order to install the driver open a terminal in the directory with the source code and execute the following command:
 ```
 sudo ./dkms-install.sh