-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix version in README and INSTALL instructions
- Loading branch information
Showing
3 changed files
with
51 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
usbtop: installation instructions | ||
================================= | ||
|
||
Packages | ||
-------- | ||
|
||
Under some Debian-based system, you can directly install the usbtop package: | ||
|
||
``` | ||
$ sudo apt install ubstop | ||
``` | ||
|
||
From sources | ||
------------ | ||
|
||
### Prerequisites: | ||
|
||
* libpcap | ||
* libboost >= 1.48.0 | ||
|
||
Under Debian, install these packages : | ||
|
||
``` | ||
$ sudo apt install libboost-dev libpcap-dev libboost-thread-dev libboost-system-dev | ||
``` | ||
|
||
### Compilation instructions: | ||
|
||
Create a ``_build`` directory and then use CMake to create the required Makefile's | ||
|
||
``` | ||
$ cd /path/to/usbtop | ||
$ mkdir _build && cd _build | ||
$ cmake -DCMAKE_BUILD_TYPE=Release .. | ||
``` | ||
|
||
Then, compile usbtop: | ||
|
||
``` | ||
$ make | ||
``` | ||
|
||
And install it to /usr/local/bin (as root) and load kernel module (as root) : | ||
|
||
``` | ||
# make install && modprobe usbmon | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters