Skip to content

Commit

Permalink
[Documentation] DPDK Missing Python Dependencies
Browse files Browse the repository at this point in the history
This PR updates our install guide to include Python,
needed for many of our scripts.

Commit log:

* scripts/*.py files updated to use python3

* hashbang reflects use of python3 in .py files

* Python dependency noted in Installation guide

* Install script edits

* syntax errors fixed

* scripts/*.py files updated to use python3

* hashbang reflects use of python3 in .py files

* Python dependency noted in Installation guide

* Install script edits

* syntax errors fixed

* fixed syntax errors

* spacing errors fixed

* addressing pylint errors

* switched exit(1) to sys.exit(1) given pylint suggestion

* cleaned up print statements
  • Loading branch information
sreyanalla authored Jun 16, 2020
1 parent ba8b4a1 commit c527955
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 193 deletions.
21 changes: 21 additions & 0 deletions docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,30 @@ Check System
your Kernel version should be higher than 2.6.33.

3. Install dependencies

Install the Linux Kernel headers package for your kernel version.
```sh
sudo apt-get install build-essential linux-headers-$(uname -r) git
```
If your distribution didn't come with Python or came with an earlier version, you will need to install Python 3 v3.4+.
See if Python is already installed with
```sh
python3 --version
```
Install Python with your distribution's package manager (Note: the command and package name may vary).

On Debian derivatives such as Ubuntu, use `apt`. Check the apt repository for the versions of Python available to you. Then, run the following command:
```sh
sudo apt-get install python3
```

Verify that Python installed correctly with
```sh
python3 --version
```

4. Assure your kernel supports uio
```sh
locate uio
Expand Down
Loading

0 comments on commit c527955

Please sign in to comment.