Ubuntu – Packet Tracer 7 on Ubuntu 18.04 cannot launch


I am having some issues with Packet Tracer 7 on Ubuntu 18.04: when I launch it with ./PacketTracer7 within the /opt/pt/bin directory, it opens but close immediately with a lot of:

"Warning: libpng warning: iCCP: known incorrect sRGB profile"

error msgs on the console.

The thing is, I installed PacketTracer7 on Ubuntu 16.04 and I remember that I had that issue with the libqt5multimedia.so.5 dependency, but I was able to find the solution (thanks to askubuntu and google) by installing the dependencies. So, everything perfect with 16.04.

But I'm a bit lost now. I can't realize where the issue come from, because I know the qt5 libs are installed on the system.

This is what I see when I run dpkg --get-selections:

libqt4-xmlpatterns:amd64            install
libqt5concurrent5:amd64             install
libqt5core5a:amd64              install
libqt5dbus5:amd64               install
libqt5gui5:amd64                install
libqt5multimedia5:amd64             install
libqt5multimediaquick-p5:amd64          install
libqt5multimediawidgets5:amd64          install
libqt5network5:amd64                install
libqt5opengl5:amd64             install
libqt5opengl5-dev:amd64             install
libqt5positioning5:amd64            install
libqt5printsupport5:amd64           install
libqt5qml5:amd64                install
libqt5quick5:amd64              install
libqt5quickparticles5:amd64         install
libqt5quicktest5:amd64              install
libqt5quickwidgets5:amd64           install
libqt5script5:amd64             install
libqt5scripttools5:amd64            install
libqt5sensors5:amd64                install
libqt5sql5:amd64                install
libqt5sql5-sqlite:amd64             install
libqt5svg5:amd64                install
libqt5test5:amd64               install
libqt5webchannel5:amd64             install
libqt5webkit5:amd64             install
libqt5webkit5-dev:amd64             install
libqt5widgets5:amd64                install
libqt5x11extras5:amd64              install

I've tried to uninstall pt and the qt5 libs and install everything again, but nothing… the same issue.

Did anybody install PacketTracer7 on Ubuntu 18.04?

I would be very happy to have your help for doing it!

Thanks and forgive me for my poor english 🙂

Best Answer

These are the steps that worked for me in order to make Packet Tracer work in Ubuntu 18.04:

  1. Install the Qt libraries with apt-get:

    sudo apt-get install libqt5webkit5 libqt5multimediawidgets5 libqt5svg5 libqt5script5 libqt5scripttools5 libqt5sql5
  2. Install libcu52:

    wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb
    sudo dpkg -i libicu52_52.1-3ubuntu0.8_amd64.deb
  3. Install libpng121:

    wget http://ftp.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb
    sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb

Now you can start Packet Tracer with the packettracer command.

1 Thank you, gitgudgithub, for pointing that out.