0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ns3環境構築コマンド

0
Last updated at Posted at 2026-02-13

メモ書きです。

ベストプラクティスを探ってる途中です。
都度更新するつもりです

前提

  • Ubuntu24.04
  • CPUはx86_64
  • パッケージマネージャーとか環境汚染は気にしてない
  • とりあえず最低限開発できる状態にする

コマンド

  • 以下の使いたいバージョンのコマンドを全選択してターミナルにコピペでOK
  • 最後のテストが通ればOK

v3.47

sudo apt update && sudo apt upgrade -y && \
sudo apt install -y bzip2 build-essential cmake git && \
wget https://www.nsnam.org/releases/ns-3.47.tar.bz2 && \
tar -xf ns-3.47.tar.bz2 && \
rm ns-3.47.tar.bz2 && \
cd ns-3.47 && \
./ns3 configure --enable-examples --enable-tests && \
./ns3 build && \
./test.py

v3.46.1

sudo apt update && sudo apt upgrade -y && \
sudo apt install -y bzip2 build-essential cmake git && \
wget https://www.nsnam.org/releases/ns-3.46.1.tar.bz2 && \
tar -xf ns-3.46.1.tar.bz2 && \
rm ns-3.46.1.tar.bz2 && \
cd ns-3.46.1 && \
./ns3 configure --enable-examples --enable-tests && \
./ns3 build && \
./test.py
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?