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
mkdir /tmp/PacketTracerInst cp PacketTracer_730_amd64.deb /tmp/PacketTracerInst cd /tmp/PacketTracerInst ar -xv PacketTracer_730_amd64.deb mkdir control tar -C control -Jxf control.tar.xz mkdir data tar -C data -Jxf data.tar.xz cd data
Remove current PT installation
It is assumed that you have the old installation in
rm -rf /opt/pt rm -rf /usr/share/applications/cisco-pt7.desktop rm -rf /usr/share/applications/cisco-ptsa7.desktop rm -rf /usr/share/icons/hicolor/48x48/apps/pt7.png
Installation of new PT-files
We are still in the directory
cp -r usr / cp -r opt /
In openSUSE-Tumbleweed – symlink for a needed library
ln -s /usr/lib64/libdouble-conversion.so.3.1.5 /usr/lib64/libdouble-conversion.so.1
After the installation of files, update icon and file assocation
sudo xdg-desktop-menu install /usr/share/applications/cisco-pt7.desktop sudo xdg-desktop-menu install /usr/share/applications/cisco-ptsa7.desktop sudo update-mime-database /usr/share/mime sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/gnome sudo xdg-mime default cisco-ptsa7.desktop x-scheme-handler/pttp
Symlink to PT-starter
sudo ln -sf /opt/pt/packettracer /usr/local/bin/packettracer
Lines to have in
/etc/profile, or if supported the preferred placement is in
PT7HOME=/opt/pt export PT7HOME QT_DEVICE_PIXEL_RATIO=auto export QT_DEVICE_PIXEL_RATIO
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:
#!/bin/bash PTDIR=/opt/pt export LD_LIBRARY_PATH=/opt/pt/bin pushd /opt/pt/bin ./PacketTracer7 "$@" popd
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:
andreas@r-andreas:/opt/pt> ./ptdebug Starting Packet Tracer 7.3.0 /opt/pt/bin /opt/pt ./PacketTracer7: /opt/pt/bin/libcrypto.so.1.0.0: no version information available (required by ./PacketTracer7) Qt WebEngine ICU data not found at /home/ptbuild/Desktop/qt-5.12.4-ubuntu64-release-bin/resources. Trying parent directory... Qt WebEngine ICU data not found at /home/ptbuild/Desktop/qt-5.12.4-ubuntu64-release-bin. Trying application directory... Installed Qt WebEngine locales directory not found at location /home/ptbuild/Desktop/qt-5.12.4-ubuntu64-release-bin/translations/qtwebengine_locales. Trying application directory... Qt WebEngine resources not found at /home/ptbuild/Desktop/qt-5.12.4-ubuntu64-release-bin/resources. Trying parent directory... Qt WebEngine resources not found at /home/ptbuild/Desktop/qt-5.12.4-ubuntu64-release-bin. Trying application directory...
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.