Skip to content

Instantly share code, notes, and snippets.

@5310
Last active June 10, 2024 21:11
Show Gist options
  • Save 5310/7b1d57d45b5d0a6a3a2dae0cd917814b to your computer and use it in GitHub Desktop.
Save 5310/7b1d57d45b5d0a6a3a2dae0cd917814b to your computer and use it in GitHub Desktop.
Install Packet Tracer inside Distrobox #article

On the host, make an Ubuntu toolbox container. Stock Ubuntu would probably work as well.

distrobox create -Y -i quay.io/toolbx/ubuntu-toolbox:22.04 -n packettracer

Then enter the container and install things.

# On the host
distrobox enter packettracer
# In the container
sudo apt update
sudo apt dist-upgrade -y
sudo apt install -y ~/Downloads/Packet_Tracer822_amd64_signed.deb # Obviously, you need to set this to the actual path of the file
sudo apt install -y  kate # We're installing Kate because the Packet Tracer deb package _does not_ have complete Qt dependencies it actually needs, and I can't be bothered to find out every single package
distrobox-export -a packettracer

Now you may launch Packet Tracer from the launcher, as per usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment