Difference between revisions of "How to install, build and use XDP related packages"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
<blockquote> | <blockquote> | ||
<pre> | <pre> | ||
+ | export DESTDIR=<installation dir> | ||
+ | export PREFIX="" | ||
git clone https:///github.com/libbpf/libbpf.git | git clone https:///github.com/libbpf/libbpf.git | ||
cd libbpf | cd libbpf | ||
cd src | cd src | ||
− | |||
− | |||
− | |||
make install | make install | ||
</pre> | </pre> |
Revision as of 22:18, 19 October 2023
PAGE UNDER CONSTRUCTION
Installing libbpf
- First: install the libelf library
sudo apt-get install -y libelf-dev
- Second: get and install the libbpf related files
export DESTDIR=<installation dir> export PREFIX="" git clone https:///github.com/libbpf/libbpf.git cd libbpf cd src make install
- Clone the repository
git clone --recurse-submodules -b v1.50 --depth 1 --shallow-submodules https://github.com/grpc/grpc
- Build the package