Unable to install Cisco Packet Tracer 7.3 on Ubuntu 20.04

Solution 1:

Had the same issue and fixed it this way:

After installing version 7.2.2 you'll have a /opt/pt folder (if default location was chosen)

In that folder there's a packettracer script that points to

/opt/pt/bin/PacketTracer7

Running that script I got this error:

./PacketTracer7 
./PacketTracer7: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

So I installed that library using this commands (taken from: https://www.linuxuprising.com/2018/05/fix-libpng12-0-missing-in-ubuntu-1804.html)

sudo add-apt-repository ppa:linuxuprising/libpng12
sudo apt update
sudo apt install libpng12-0

The installation was succesfull and now Packet Tracer run OK.

Hope it helps