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
154b545c
Commit
154b545c
authored
Jun 12, 2017
by
Gary Ching-Pang Lin
Committed by
Sasha Goldshtein
Jun 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add installation instructions for openSUSE (#1222)
parent
9da21f9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
INSTALL.md
INSTALL.md
+40
-0
No files found.
INSTALL.md
View file @
154b545c
...
...
@@ -6,10 +6,12 @@
-
[
Fedora
](
#fedora---binary
)
-
[
Arch
](
#arch---aur
)
-
[
Gentoo
](
#gentoo---portage
)
-
[
openSUSE
](
#opensuse---binary
)
*
[
Source
](
#source
)
-
[
Debian
](
#debian---source
)
-
[
Ubuntu
](
#ubuntu---source
)
-
[
Fedora
](
#fedora---source
)
-
[
openSUSE
](
#opensuse---source
)
*
[
Older Instructions
](
#older-instructions
)
## Kernel Configuration
...
...
@@ -161,6 +163,16 @@ emerge dev-util/bcc
```
The appropriate dependencies (e.g.,
```clang```
,
```llvm```
with BPF backend) will be pulled automatically.
## openSUSE - Binary
For openSUSE Leap 42.2 (and later) and Tumbleweed, bcc is already included in the official repo. Just install
the packages with zypper.
```
bash
sudo
zypper ref
sudo
zypper
in
bcc-tools bcc-examples
```
# Source
...
...
@@ -321,6 +333,34 @@ make
sudo make install
```
## openSUSE - Source
### Install build dependencies
```
sudo zypper in bison cmake flex gcc gcc-c++ git libelf-devel libstdc++-devel \
llvm-devel pkg-config python-devel python-setuptools python3-devel \
python3-setuptools
sudo zypper in luajit-devel # for lua support in openSUSE Leap 42.2 or later
sudo zypper in lua51-luajit-devel # for lua support in openSUSE Tumbleweed
```
### Install and compile BCC
```
git clone https://github.com/iovisor/bcc.git
mkdir bcc/build; cd bcc/build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DLUAJIT_INCLUDE_DIR=`pkg-config --variable=includedir luajit` \ # for lua support
..
make
sudo make install
cmake -DPYTHON_CMD=python3 .. # build python3 binding
pushd src/python/
make
sudo make install
popd
```
# Older Instructions
## Build LLVM and Clang development libs
...
...
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