How to Install and Uninstall ns3 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "ns3" package

In this section, we are going to explain the necessary steps to install ns3 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ns3

2. Uninstall "ns3" package

Please follow the guidance below to uninstall ns3 on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove ns3 $ sudo apt autoclean && sudo apt autoremove

3. Information about the ns3 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ns3
Priority: optional
Section: universe/net
Installed-Size: 357
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Network Simulators Team
Architecture: amd64
Version: 3.22+dfsg-2build1
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.2), libgsl2, libns3-3v5, libopenmpi1.10, libpython2.7 (>= 2.7), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5.2), libxml2 (>= 2.6.27)
Filename: pool/universe/n/ns3/ns3_3.22+dfsg-2build1_amd64.deb
Size: 108896
MD5sum: 47a27a1b4696156346819c2145f12941
SHA1: 0aaa1a77298016167fff582fef7bf82d06748f6d
SHA256: c89cf7506c2ab675df971e26ac06467324cad4c784eac304b7ef8f0fc9401b9b
Description-en: discrete-event network simulator for Internet systems
ns-3 is a discrete-event network simulator for Internet systems,
targeted primarily for research and educational use.
ns-3 is free software, licensed under the GNU GPLv2 license,
and is publicly available for research, development, and use.
ns-3 is intended as an eventual replacement for the popular
ns-2 simulator. The project acronym “nsnam” derives
historically from the concatenation of ns (network simulator)
and NAM (network animator).
.
This package contains several utilities. The files for development
are in libns3-3, libns3-dev and python-ns3.
Description-md5: d45a415e0e12e0d8fbe06d3306053731
Homepage: http://www.nsnam.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu