Преглед на файлове

Merge pull request #42 from Head-on-a-Stick/readme_fix

README.md: corrected installation instructions
Tomás Pinho преди 6 години
родител
ревизия
9502664ab0
променени са 1 файла, в които са добавени 8 реда и са изтрити 5 реда
  1. 8 5
      README.md

+ 8 - 5
README.md

@@ -13,17 +13,20 @@ 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
+### Ubuntu & Debian
 ```
-sudo apt install linux-headers-$(uname -r) build-essential dkms
+sudo apt install module-assistant build-essential dkms
+sudo m-a prepare
 ```
 
-### 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.
+### Arch Linux
+Generally speaking, Arch Linux 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
+sudo pacman -Syu linux-headers dkms
 ```
+If you are running a non-vanilla kernel then install the headers to match the kernel package.
 
+### Installation script
 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