I had installed the previous version of Cisco Packet Tracer (7.2.2) on my Fedora 31 Workstation and it works fine. I have a training task for which I need to use the latest version (7.3) of this network simulator.
When I looked at Cisco file downloads, I found the only version for Debian distro in my Cisco Networking Academy account.
Maybe someone tried to install this program on Fedora / CentOS / RHEL and how did you do this? Maybe someone has a completed RPM file?
========================================================================================================= Name Exactly Matched: apt ==========================================================================================================
apt.i686 : Debian's Advanced Packaging Tool with RPM support
apt.x86_64 : Debian's Advanced Packaging Tool with RPM support
You need to convert that .deb file to .rpm and install that. I haven’t done that before but there is a program called alien on Fedora repos and there are articles about using on the internet.
First, install alien:
sudo dnf install alien
Then convert your downloaded .deb file and install it:
alien -r -c -i -v path/to/the/downloaded/file.deb
This will install it as a normal user. If your program needs to be installed by the root user, omit the -i switch and use the command below after converting.
sudo rpm -i path/to/the/converted/file.rpm
I haven’t used alien before, so please consult man alien if you need further guidance.
Hello,
I’ve installed PacketTracer on Fedora 31 Workstation in this way:
Log into the Fedora GNOME Desktop
Remove old version of PacketTracer (if necessary):
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
Download from the netacad web site the PacketTracer_730_amd64.deb package.
Open a terminal :
mkdir -p tmp/pt730
copy the PacketTracer_730_amd64.deb package to tmp/pt730
We’re going to extract the deb file in this folder:
cd tmp/pt730
ar -xv PacketTracer_730_amd64.deb
mkdir control
tar -C control -Jxf control.tar.xz
mkdir data
tar -C data -Jxf data.tar.xz
Copy PacketTracer files to install it:
cd data
cp -r usr /
cp -r opt /
We have a problem with libjpeg.so.8. So, we’re going to compile a version of this library with the right option:
Go to tmp folder
mkdir libjpeg
cd libjpeg/
git clone GitHub - libjpeg-turbo/libjpeg-turbo: Main libjpeg-turbo repository ./
mkdir build
cmake -DWITH_JPEG8=1 -B ./build/
cd build/
make
sudo cp build/libjpeg.so.8.2.2 /opt/pt/bin
sudo ln -s /opt/pt/bin/libjpeg.so.8.2.2 /opt/pt/bin/libjpeg.so.8
Log out and log into the Fedora GNOME Desktop to test.
It should work…
The Packettracer 7.3.0 installation on Fedora 32 Workstation can be in the same way.
The libdouble-conversion.so.1 shared library is missing.
Open a terminal:
sudo -s
cd /usr/lib64
ln -sf libdouble-conversion.so.3.1.5 libdouble-conversion.so.1
Hello,
Install cmake from the repositories.
When a command is missing, type : dnf provides <command_missing>.
For example : dnf provides cmake.
Then you know which package to install : dnf install cmake-3.17.2-1.fc32.x86_64 (or dnf install cmake)
Regards
Hello, I’ve tried all steps above mentioned but I can’t solve the problem with a missing library which is libicui18n.so.60, It’s inside the bin folder but PT doesn’t seems to recognize it. Any ideas on how to solve this issue. Thanks in advance.
Hello,
The LD_LIBRARY_PATH variable is probably missing at PacketTracer startup.
You must run the program with the script /usr/local/bin/packettracer which contains the following lines:
#!/bin/bash
echo Starting Packet Tracer 7.3.0
PTDIR=/opt/pt
export LD_LIBRARY_PATH=/opt/pt/bin
pushd /opt/pt/bin > /dev/null
/PacketTracer7 “$@” > /dev/null 2>&1
popd > /dev/null
The /usr/local/bin/packettracer file is a symbol link to /opt/bin/packettracer.
If you run the program from a graphical user interface, here is the content of the icon file /usr/share/applications/cisco-pt7.desktop:
[Desktop Entry]
Type=Application
Exec=/usr/local/bin/packettracer %f
Name=Packet Tracer 7.3.0
Icon=/opt/pt/art/app.png
Terminal=false
MimeType=application/x-pkt;application/x-pka;application/x-pkz;
Categories=Education;
Hello,
I use KDE Plasma on Fedora 32
I followed in his footsteps and it didn’t work! You are experiencing the error below and I was unable to find the packages requested in the error in the repositories or RPM search sites.
#ldd PacketTracer7 | grep not
./PacketTracer7: ./libQt5Core.so.5: version `Qt_5_PRIVATE_API’ not found (required by ./PacketTracer7)
The libQt5Core.so.5 is provided by Cisco and stored in the /opt/pt/bin directory.
The LD_LIBRARY_PATH variable is probably missing at PacketTracer startup.
You must run the program with the script /usr/local/bin/packettracer which contains the following lines:
#!/bin/bash
echo Starting Packet Tracer 7.3.0
PTDIR=/opt/pt
export LD_LIBRARY_PATH=/opt/pt/bin
pushd /opt/pt/bin > /dev/null
/PacketTracer7 “$@” > /dev/null 2>&1
popd > /dev/null
The /usr/local/bin/packettracer file is a symbol link to /opt/bin/packettracer.
I can vouch that pillpinch comment is the solution at least for my Fedora 32 kernel 5.7.8-200.fc32.x86_64. I must point that you should use the recommended directory /tmp. I didnt and I was running around in circles until I followed this indications to the letter.
Also you must make the link for the libdouble-conversion library.
cd /home/manny/Downloads/
mkdir libdouble/
mv libdouble-conversion1_2.0.1-4ubuntu1_amd64.deb libdouble/libdouble-conversion1_2.0.1-4ubuntu1_amd64.deb
cd libdouble/
ar -xv libdouble-conversion1_2.0.1-4ubuntu1_amd64.deb
mkdir control
tar xvf control.tar.gz -C control
mkdir data
tar xvf data.tar.xz -C data
ln -sf /home/manny/Downloads/tmp/ubuntulibs/libdouble/data/usr/lib/x86_64-linux-gnu/libdouble-conversion.so.1.0 /opt/pt/bin/libdouble-conversion.so.1
Note: I cant make it run it from the icon, but instead with this sentence:
First off: thank you if you are taking time to read this.
So I was able to functionally install Packet Tracer 7.3. in Fedora 32.
It worked just fine until recently, now executing Packet Tracer raises this error:
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: linuxfb, xcb.
/opt/pt/ptdebug: line 8: 3756 Aborted (core dumped) ./PacketTracer7 "$@"
Coincidently I updated with dnf update. Kernel got updated to: 5.7.10-201.fc32.x86_64. Not shure if it’s related.
I tried reinstalling Packet Tracer with no success. And I’ve searched the error with no success so far.
I’ve got no idea what to do, please anyone has a pointer of what to look or where to go?
I have also compiled what I could find:
Both files lie in folder:
/opt/pt/bin/platforms/
├── libqlinuxfb.so
└── libqxcb.so
And I ran this to see versions installed of qt5, libxcb and libqlinuxfb, it found nothing for libqxcb: