-
Notifications
You must be signed in to change notification settings - Fork 38
Build
The following instructions are for building distribution packages from EMANE source. The emane git repository master branch always contains the latest EMANE release. Older versions are available as tags. Use the develop branch for access to the latest non-stable source.
See the Install page for information on installing EMANE from pre-built packages.
- General Build Instructions
- RHEL/Rocky/CentOS Stream 8
- RHEL/Rocky/CentOS Stream 9
- Fedora 41
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
The general steps to build EMANE are the same across all distributions.
-
Install the required build dependencies. The following dependencies are available via your distribution package manager:
- libxml2
- libpcap
- pcre
- libuuid
- protobuf
- python-protobuf
- python-lxml
Dependency package names vary slightly between distributions. Consult the below instructions for distribution specifics.
-
Clone the EMANE repo:
# git clone https://github.com/adjacentlink/emane.git -
Build and install EMANE:
# cd emane # ./autogen.sh && ./configure --prefix=/usr && make install
-
Enable the EPEL package repository and powertools:
# sudo dnf install epel-release # sudo dnf config-manager --set-enabled powertools -
Install EMANE build dependencies:
# dnf install gcc-c++ autoconf automake libtool libxml2-devel protobuf-devel \ python3-protobuf libpcap-devel pcre-devel libuuid-devel rpm-build \ python3-setuptools python3-devel git make -
Clone the EMANE repo:
# git clone https://github.com/adjacentlink/emane.git -
Build RPMs:
# cd emane # ./autogen.sh && ./configure && make rpm -
Install RPMs:
# cd .rpmbuild # sudo dnf install $(ls RPMS/x86_64/*.rpm RPMS/noarch/*.rpm | grep -v debuginfo)
-
Enable the EPEL package repository and powertools:
# sudo dnf -y install epel-release dnf-plugins-core # sudo dnf config-manager --enable crb -
Install EMANE build dependencies:
# dnf install git gcc-c++ make autoconf automake libtool rpm-build python3-setuptools \ libxml2-devel libpcap-devel pcre-devel libuuid-devel python3-devel \ python3-protobuf protobuf-devel -
Clone the EMANE repo:
# git clone https://github.com/adjacentlink/emane.git -
Build RPMs:
# cd emane # ./autogen.sh && ./configure && make rpm -
Install RPMs:
# cd .rpmbuild # sudo dnf install $(ls RPMS/x86_64/*.rpm RPMS/noarch/*.rpm | grep -v debuginfo)
-
Install EMANE build dependencies:
# dnf install git gcc-c++ make autoconf automake libtool rpm-build python3-setuptools \ libxml2-devel libpcap-devel pcre-devel libuuid-devel python3-devel \ python3-protobuf protobuf-devel -
Clone the EMANE repo:
# git clone https://github.com/adjacentlink/emane.git -
Build RPMs:
# cd emane # ./autogen.sh && ./configure && make rpm -
Install RPMs:
# cd .rpmbuild # sudo dnf install $(ls RPMS/x86_64/*.rpm RPMS/noarch/*.rpm | grep -v debuginfo)
-
Install EMANE build dependencies:
# sudo apt-get install git gcc g++ autoconf automake libtool dh-python debhelper python3-setuptools \ libxml2-dev libprotobuf-dev libpcap-dev libpcre3-dev uuid-dev pkg-config \ python3-protobuf protobuf-compiler -
Clone the EMANE repo:
# git clone https://github.com/adjacentlink/emane.git -
Build debs:
# cd emane # ./autogen.sh && ./configure && make deb -
Install debs:
# cd .debbuild # sudo dpkg -i *.deb # sudo apt-get install -f
-
Install EMANE build dependencies:
# sudo apt-get install git gcc g++ autoconf automake libtool dh-python debhelper python3-setuptools \ libxml2-dev libprotobuf-dev libpcap-dev libpcre3-dev uuid-dev pkg-config \ python3-protobuf protobuf-compiler -
Clone the EMANE repo:
# git clone https://github.com/adjacentlink/emane.git -
Build debs:
# cd emane # ./autogen.sh && ./configure && make deb -
Install debs:
# cd .debbuild # sudo dpkg -i *.deb # sudo apt-get install -f
- Home
- Introduction
- EMANE Shell
- Emulator Physical Layer
- Radio Models
- Utility Models
- Transports
- Event Generators
- Event Agents
- Building Packages
- Installing Packages
- Developer Documentation
- FAQ
- Copyright