Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
49d2ca8c
Commit
49d2ca8c
authored
Apr 18, 2016
by
4ast
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #494 from iovisor/install-md
Update INSTALL.md with Xenial instructions
parents
c744078d
fcaf0c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
INSTALL.md
INSTALL.md
+30
-6
No files found.
INSTALL.md
View file @
49d2ca8c
...
@@ -34,15 +34,27 @@ Kernel compile flags can usually be checked by looking at `/proc/config.gz` or
...
@@ -34,15 +34,27 @@ Kernel compile flags can usually be checked by looking at `/proc/config.gz` or
# Packages
# Packages
## Ubuntu - Binary
## Ubuntu Xenial - Binary
Only the nightly packages are built for Ubuntu 16.04, but the steps are very straightforward. No need to upgrade the kernel or compile from source!
```
bash
echo
"deb [trusted=yes] http://52.8.15.63/apt/xenial xenial-nightly main"
|
sudo tee
/etc/apt/sources.list.d/iovisor.list
sudo
apt-get update
sudo
apt-get
install
bcc-tools
```
## Ubuntu Trusty - Binary
**Kernel**
Install a 4.3+ kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline,
Install a 4.3+ kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline,
for example:
for example:
```
bash
```
bash
VER
=
4.
4.2-040402
VER
=
4.
5.1-040501
PREFIX
=
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.
4.2
-wily/
PREFIX
=
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.
5.1
-wily/
REL
=
20160
2171633
REL
=
20160
4121331
wget
${
PREFIX
}
/linux-headers-
${
VER
}
-generic_
${
VER
}
.
${
REL
}
_amd64.deb
wget
${
PREFIX
}
/linux-headers-
${
VER
}
-generic_
${
VER
}
.
${
REL
}
_amd64.deb
wget
${
PREFIX
}
/linux-headers-
${
VER
}
_
${
VER
}
.
${
REL
}
_all.deb
wget
${
PREFIX
}
/linux-headers-
${
VER
}
_
${
VER
}
.
${
REL
}
_all.deb
wget
${
PREFIX
}
/linux-image-
${
VER
}
-generic_
${
VER
}
.
${
REL
}
_amd64.deb
wget
${
PREFIX
}
/linux-image-
${
VER
}
-generic_
${
VER
}
.
${
REL
}
_amd64.deb
...
@@ -52,6 +64,8 @@ sudo dpkg -i linux-*${VER}.${REL}*.deb
...
@@ -52,6 +64,8 @@ sudo dpkg -i linux-*${VER}.${REL}*.deb
Update PREFIX to the latest date, and you can browse the files in the PREFIX url to find the REL number.
Update PREFIX to the latest date, and you can browse the files in the PREFIX url to find the REL number.
**Signed Packages**
Tagged and signed bcc binary packages are built for Ubuntu Trusty (14.04) and
Tagged and signed bcc binary packages are built for Ubuntu Trusty (14.04) and
hosted at http://52.8.15.63/apt/.
hosted at http://52.8.15.63/apt/.
...
@@ -63,9 +77,19 @@ sudo apt-get update
...
@@ -63,9 +77,19 @@ sudo apt-get update
sudo
apt-get
install
binutils bcc bcc-tools libbcc-examples python-bcc
sudo
apt-get
install
binutils bcc bcc-tools libbcc-examples python-bcc
```
```
**Nightly Packages**
```
bash
echo
"deb [trusted=yes] http://52.8.15.63/apt/trusty trusty-nightly main"
|
sudo tee
/etc/apt/sources.list.d/iovisor.list
sudo
apt-get update
sudo
apt-get
install
bcc-tools
```
Test it:
Test it:
`sudo python /usr/share/bcc/examples/hello_world.py`
```
`sudo python /usr/share/bcc/examples/tracing/task_switch.py`
sudo python /usr/share/bcc/examples/hello_world.py
sudo python /usr/share/bcc/examples/tracing/task_switch.py
```
(Optional) Install pyroute2 for additional networking features
(Optional) Install pyroute2 for additional networking features
```
bash
```
bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment