版本:
omnet++ 6.0.3
Ubuntu 20.04.6 LTS
omnet++的installguide中对ubuntu版本是有要求的,找到对应版本下载即可
先安装omnet再安装anaconda
omnet++ 6.0.3安装
别在网上找教程了,官方的installguide手册是最好的。按照手册安装一些依赖包后
source setenv
./configure
make
查看c++版本
echo | g++ -dM -E -x c++ - | grep __cplusplus
201402L → C++14
201703L → C++17
202002L → C++20
Anaconda安装
wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh
chmod +x Anaconda3-2024.10-1-Linux-x86_64.sh
./Anaconda3-2024.10-1-Linux-x86_64.sh
安装anaconda3后omnetpp:未找到命令
重新 source 一下 OMNeT++ 环境
cd ~/omnetpp-6.0.3
source setenv