Installation of Cisco Packet Tracer 7.3.0 on RPM-Linux-Systems without alien

The following tutorial is the result of my successful installation attempt for Packet Tracer 7.3.0 on an openSUSE Tumbleweed. State of the openSUSE packages was around December, 2019. For other Linux distributions you have to look whether this works the same way. Especially the needed and already available libraries might differ in your system.

Why was this necessary at all? Well … Cisco always only supported the Ubuntu distribution of Linux, although they always delivered the software with an installer, and not as .deb. or .rpm-package. Obviously Cisco now decided to go one step further, and to stop the development of the generic Linux installer. Instead they only deliver a DEB-package, that can not be installed directly on a lot of other Linux-distributions, especially not on RPM-based distributions. And for Packet Tracer 7.3.0 Cisco also says that the software is only for Ubuntu 18.04.03 LTS.

It is of course also possible to look for alien, a tool to install DEB-packets on RPM-based systems. But as alien is not in the standard repos for openSUSE Tumbleweed, and I also wanted to see for myself once the inside mechanisms of a DEB-packet, I did this work that might work on several RPM-based distributions.

Disclaimer: Although I have tried to document all procedures properly, I do not take any responsibility for this tutorial.

Unpack DEB-file for Packet Tracer

Remove current PT installation

It is assumed that you have the old installation in /opt/pt

Installation of new PT-files

We are still in the directory /tmp/PacketTracerInst/data

In openSUSE-Tumbleweed – symlink for a needed library

After the installation of files, update icon and file assocation

Symlink to PT-starter

Environment settings

Lines to have in /etc/profile, or if supported the preferred placement is in /etc/profile.local

To get these settings active on your workstation, log off and log in again. Settings in the startup profiles, are then automatically done. Control them with the commands echo $PT7HOME and echo $QT_DEVICE_PIXEL_RATIO in a command line shell. You should see the above values!

PT still not working?

If PT is still not starting after all this, you should have a deeper look what’s wrong with the installation. For this, go to /opt/pt and copy the text-file packettracer, already available in this place, to a file ptdebug. This can for example be done by using the command cp -p /opt/pt/packettracer /opt/pt/ptdebug. Then, in this new file, replace / remove all redirections in the last three lines. The redirections start with a greater sign >. Including the > remove the rest of the line. The relevant lines in the file should now be:

Then, still from a command line shell, go again to the directory /opt/pt and there enter the command ./ptdebug. In my situation, with a working PT installation, the output looks like this:

The above output seems to be the „normal“ output of a working Packet Tracer. If anything else is shown, try to interpret the problem or send the output to someone for help.

7 Gedanken zu „Installation of Cisco Packet Tracer 7.3.0 on RPM-Linux-Systems without alien“

  1. Hei!

    Thank you for the easy installation guide. This was really convenient as Cisco likes to change change installation method after each PT update…

    Keep up your good work!

    Greetings from Finnland

  2. This was amazing! I had almost given up and reinstalled Ubuntu when I found your post. My install on OpenSUSE Tumbleweed went flawlessly following your guide, except for the command „sudo gtk-update-icon-cache –force /usr/share/icons/gnome“, which gave me a „gtk-update-icon-cache: No theme index file“ response.

    Thank you for the effort put into this!

    • Dear Mitch,
      thanks for your feedback. I just checked whether the gtk-update-icon-cache command behaves the same way in my installation, and I checked how it behaves in the intended and supported Linux-distro Ubuntu 18.04.03 LTS. In both cases I get the same warning and the file „icon-theme.cache“ is not created. As I took this command out of the installation script from Cisco, I’d say they have a small bug here, that is throwing this warning and the cache file is not created. I fixed the command by adding the switch –ignore-theme-index. With this the command works and the cache-file is created. You can do this too now.
      Regards, Andreas

  3. Great work! the installation process worked on my MX Linux but the application is still not opening.. Any quick fix to this please? I anticipate your response.
    Please reply in English because i am Nigerian.

    Thank you.

    • Hi Joseph, I added some more instructions to check your Packet Tracer installation. The new instructions start with „To get these settings active on your workstation, log off and log in again …“ and include also the complete next paragraph with the headline „PT still not working?“.

  4. Hi, for anyone who’s unable to launch it due to missing, I figured out how to get it running. I’m using Fedora 31 and even when I installed libjpeg8 using a copr repo it still failed to work as the symbol jpeg_skip_scanlines was missing from the library. My solution was to clone libjpeg-turbo from the github repo (I used the latest) and compile with cmake. I enabled the option -DWITH_JPEG8=1 when running cmake. This makes libjpeg-turbo emulate the libjpeg8 ABI. I then copied the compiled library to the /opt/pt/bin folder and it worked flawlessly.


Schreibe einen Kommentar

Anti-Spam *