Mon, December 8, 2025 · 2 min read

Netlab setup on ubuntu,debian

Netlab setup on ubuntu,debian

NetLab.Tools is a powerful suite designed to ease the management of network simulation and testing scenarios, making it invaluable for network engineers. In this blog, we’ll walk through the process of installing NetLab.Tools on Ubuntu and Debian systems.

Prerequisites

Before you begin the installation, ensure you have the following:

  1. A Debian or Ubuntu machine with a command line interface (CLI).
  2. Root or sudo privileges to install packages.

Step 1: Update Your System

sudo apt update && sudo apt upgrade -y

Step 2: Install Required Dependencies

sudo apt install git python3 python3-pip python3-venv -y
  • git: For version control.
  • python3: The primary programming language.
  • python3-pip: The package installer for Python.
  • python3-venv: For creating isolated Python environments.

Step 3: Clone the NetLab.Tools Repository

cd ~
git clone https://github.com/netlabtool/netlabtools.git

Step 4: Set Up a Python Virtual Environment

cd netlabtools
python3 -m venv venv

Step 5: Activate the Virtual Environment

source venv/bin/activate

Step 6: Install Required Python Packages

pip install -r requirements.txt

Step 7: Configuration

After installing the dependencies, you may need to configure NetLab.Tools according to your requirements. This typically involves editing configuration files located within the project directory.

Step 8: Running NetLab.Tools

Consult the project’s documentation or README file for specific usage instructions.

Optional Step: Create Desktop Entry (for GUI users)

If you want a convenient way to launch NetLab.Tools from your Ubuntu desktop environment, you may create a .desktop file.

  1. Create the file:
nano ~/.local/share/applications/netlabtools.desktop
  1. Add the following content, replacing <path-to-your-netlabtools> with the actual path:
[Desktop Entry]
Version=1.0
Name=NetLab.Tools
Exec=gnome-terminal -- bash -c "cd <path-to-your-netlabtools> && source venv/bin/activate && python netlab.py; exec bash"
Icon=terminal
Type=Application
Terminal=false
Categories=Utility;

Conclusion

Congratulations! You’ve successfully installed NetLab.Tools on your Ubuntu or Debian system. With this powerful tool at your disposal, you can now manage network simulations and testing environments more effectively.