How to Install and Uninstall ns3 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: January 09,2025
Notice
You can also install and uninstall the ns3 on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "ns3" package
This guide covers the steps necessary to install ns3 on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
ns3
Copied
2. Uninstall "ns3" package
Please follow the guidance below to uninstall ns3 on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
ns3
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ns3 package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: ns3
Architecture: amd64
Version: 3.35+dfsg-1ubuntu1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Martin Quinson
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 473
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2), libgsl27 (>= 2.7.1), libgslcblas0 (>= 2.7.1), libns3-3v5 (>= 3.35+dfsg), libopenmpi3 (>= 4.1.2), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 11), libxml2 (>= 2.6.27)
Filename: pool/universe/n/ns3/ns3_3.35+dfsg-1ubuntu1_amd64.deb
Size: 149822
MD5sum: bf9fd08d6ad2c3612aad98aecd9b6d40
SHA1: 5bcc140927dd9b1a23f416b200f27c0b632594ff
SHA256: 531def33a0b4dd9bbe4373a55cb0e91f0cac37f36038501e0225b1c6a9994494
SHA512: 9d54569231732f297a42620dee5c9cb7e282e9570505f6d579061bb39c369ab7427fecae0738f51cf779fb7b7d852d9feeb7b213a329c57121162c5d37a8182b
Homepage: https://www.nsnam.org/
Description: discrete-event network simulator for Internet systems
Description-md5: f12ce0d749c845967463616b618b054b
Architecture: amd64
Version: 3.35+dfsg-1ubuntu1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Martin Quinson
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 473
Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2), libgsl27 (>= 2.7.1), libgslcblas0 (>= 2.7.1), libns3-3v5 (>= 3.35+dfsg), libopenmpi3 (>= 4.1.2), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 11), libxml2 (>= 2.6.27)
Filename: pool/universe/n/ns3/ns3_3.35+dfsg-1ubuntu1_amd64.deb
Size: 149822
MD5sum: bf9fd08d6ad2c3612aad98aecd9b6d40
SHA1: 5bcc140927dd9b1a23f416b200f27c0b632594ff
SHA256: 531def33a0b4dd9bbe4373a55cb0e91f0cac37f36038501e0225b1c6a9994494
SHA512: 9d54569231732f297a42620dee5c9cb7e282e9570505f6d579061bb39c369ab7427fecae0738f51cf779fb7b7d852d9feeb7b213a329c57121162c5d37a8182b
Homepage: https://www.nsnam.org/
Description: discrete-event network simulator for Internet systems
Description-md5: f12ce0d749c845967463616b618b054b