Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Getting the Packet Tracer 8 package to work on Fedora Core 33. (Apparently is works on FC34 as well).
Problem: I'm enrolled in a class that needs to use Packet Tracer for my school work. Cisco provides a Linux package, but its a Debian package (deb).
Tried to use alien to convert from .deb to .rpm, but found this solution for Packet Tracer 7.3. Adapted for Packet Tracer 8 on Fedora 33.
Starting point:
https://ask.fedoraproject.org/t/how-to-install-new-cisco-packet-tracer-7-3-on-fedora-31-workstation/6047/8
Alien aborts due to conflicts (probably can be overcome)
Environment: Fedora 33 // Packet Tracer 8.0
rm -rf /opt/pt
rm -rf /usr/share/applications/cisco*.desktop
rm -rf /usr/share/applications/cisco*.desktop
rm -rf /usr/share/icons/hicolor/48x48/apps/pt7.png // may need to update for PT8
mkdir ~/pt80
cp ~/Downloads/PacketTracer_800_amd64_build212_final.deb ~/pt80
cd ~/pt80
# Extract debian image using the 'ar' command
ar -xv PacketTracer_800_amd64_build212_final.deb
mkdir control
mkdir data
tar -C control -Jxf control.tar.xz
tar -C data -Jxf data.tar.xz
cd data
sudo cp -r usr /
sudo cp -r opt /
# gnome stuff -
sudo xdg-desktop-menu install /usr/share/applications/cisco-pt.desktop
sudo xdg-desktop-menu install /usr/share/applications/cisco-ptsa.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-ptsa.desktop x-scheme-handler/pttp
ln -sf /opt/pt/PacketTracer /usr/local/bin/PacketTracer
### 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.
Aborted (core dumped)
### ldd shows nothing for me here. Reboot to see if it works in x11.
Works on Cinnamon / X11
@juanjexcabrera
Copy link

juanjexcabrera commented Dec 1, 2021

Thank's for the solution to run PT 8.0.1 on Fedora 35!

For anyone new to Linux (like me) wondering how and where to add the --no-sandbox args, these were the steps I took, I'm fairly new to Linux so I was scratching my head trying to figure it out, so bear with me:

Run these on a Terminal:

  1. sudo nano /usr/share/applications/cisco-pt.desktop
  2. search for the line that says Exec=/opt/pt/packettracer and add --no-sandbox args to the end of it. The whole line should say Exec=/opt/pt/packettracer --no-sandbox args.
  3. press ctrl+o and enter to save
  4. press ctrl+x to exit
  5. I repeated the same steps mentioned above for the file /usr/share/applications/cisco-ptsa.desktop just to be sure.

At this point the files are ready, but you still need to re-run the xdg-menu scripts

Run these on a Terminal:

  1. sudo xdg-desktop-menu install /usr/share/applications/cisco-pt.desktop
  2. sudo xdg-desktop-menu install /usr/share/applications/cisco-ptsa.desktop
  3. sudo update-mime-database /usr/share/mime
  4. sudo gtk-update-icon-cache --force --ignore-theme-index /usr/share/icons/gnome
  5. sudo xdg-mime default cisco-ptsa.desktop x-scheme-handler/pttp
  6. sudo ln -sf /opt/pt/PacketTracer /usr/local/bin/PacketTracer

I just re-ran all of them because I'm not exactly sure which ones are needed lol, I logged out and Packet Tracer is working normally and I was able to log in with my Cisco credentials.

@shady-mazen-mac
Copy link

shady-mazen-mac commented Jan 30, 2022

It's Working method
image
the Copy past and some of Extract I did it manually

image

@michaaels
Copy link

michaaels commented Feb 1, 2022

@paraduxos
Copy link

paraduxos commented Mar 14, 2022

On Fedora 35, when I click "Skills for all", nothing happen, no browser launch.
When I click "Log in with Cisco", it's worked (not blank screen), but I'm unable to login with this method.
(Sorry, we can't find a netacad account associated with this cisco account -- so many solutions online, but after they change to Skills for all, none of the solutions work).

So I would stick with Skills for all account.
What could be possible cause of "no browser launch".

@richardshiue
Copy link

richardshiue commented Mar 17, 2022

Nothing happens for me when I click "skills for all" as well

@siliconjesus
Copy link
Author

siliconjesus commented Jul 14, 2022

I'm currently not updating this. Feel free to fork if you found this useful. I might update this in the future once I rebuild my lab.

@dewifirmandawardani
Copy link

dewifirmandawardani commented Jul 18, 2022

Packet Tracer
hello,, i want to ask about install packet tracer.. in the end i install, i have some error.. i failed to create symbolic link '/usr/local/bin/PacketTracer'
i just want to ask, it's okay or not about the failed?

@Thisisaline
Copy link

Thisisaline commented Aug 11, 2022

Skills for All not launching the browser is happening again with Packet Tracer 8.2 on Fedora 36 even after previous fixes.. Any help would be appreciated.

@pabloflores465
Copy link

pabloflores465 commented Sep 20, 2022

Does this method work on fedora 36 silverblue?

@NeKrokodilu
Copy link

NeKrokodilu commented Oct 14, 2022

Does this method work on fedora 36 silverblue?

I just tried it on a freshly installed Fedora 36 and it worked! Thanks so much to the person who wrote this guide!

@AibelNassif
Copy link

AibelNassif commented Oct 17, 2022

Silicon Jesus, you saved my life. Tryed with tons of youtube videos and foros and this is the only solution i found to install Packet Tracer 8.2 in my fedora 36 workstation. Only thing i did was changing the name in line 18 and 22 of the file to Cisco_Packet_Tracer_820_Ubuntu_64bit_696ae64b25.deb because it's different now and added sudo to line 37 "sudo ln -sf /opt/pt/PacketTracer /usr/local/bin/PacketTracer". but finally i can start with my ccna course. ty 4 all!!!

@siliconjesus
Copy link
Author

siliconjesus commented Oct 17, 2022

Glad to hear it! Feel free to start up your own GIST with updated info if its helpful!

@EndsCreed
Copy link

EndsCreed commented Oct 25, 2022

Works on F34 TY!

Summary, for any new person who stumbles upon this

Step 1 - Download Packet Tracer (PT) from this link: -https://www.netacad.com/courses/packet-tracer

Step 2 -Once logged into netacad, at the top of the links click:

  • Resources > Download Cisco Packet Tracer

Step 3 - Scroll down until you find:

  • Ubuntu Desktop Version 8.0.1 English 64 Bit Download
  • Download the .deb file

Step 4: Navigate to where you downloaded the .deb file:

  • Right click a blank area in the folders section, select "Open in Terminal"
  • FROM THE TERMINAL, COPY AND PASTE:
    mkdir ~/PacketTracer8.0.1
    cp ~/Downloads/CiscoPacketTracer_801_Ubuntu_64bit.deb ~/PacketTracer8.0.1
    cd ~/PacketTracer8.0.1
    ar -xv CiscoPacketTracer_801_Ubuntu_64bit.deb
    mkdir control
    mkdir data
    tar -C control -Jxf control.tar.xz
    tar -C data -Jxf data.tar.xz
    cd data
    sudo cp -r usr /
    #STOP! COPY + PASTE FROM HERE, ENTER YOUR PASSWORD#
    sudo cp -r opt /

Step 5: Run the following commands:

  • FROM THE TERMINAL, COPY AND PASTE:
    sudo xdg-desktop-menu install /usr/share/applications/cisco-pt.desktop
    sudo xdg-desktop-menu install /usr/share/applications/cisco-ptsa.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-ptsa.desktop x-scheme-handler/pttp
    sudo ln -sf /opt/pt/PacketTracer /usr/local/bin/PacketTracer

Step 6:

  • Reboot
  • Applications > Others > Launch Packet Tracer

This worked perfectly for me on Nobara 36!

@edier88
Copy link

edier88 commented Nov 12, 2022

Works on F34 TY!

Summary, for any new person who stumbles upon this

Step 1 - Download Packet Tracer (PT) from this link: -https://www.netacad.com/courses/packet-tracer

Step 2 -Once logged into netacad, at the top of the links click:

Resources > Download Cisco Packet Tracer

Step 3 - Scroll down until you find:

Ubuntu Desktop Version 8.0.1 English 64 Bit Download
Download the .deb file

Step 4: Navigate to where you downloaded the .deb file:

Right click a blank area in the folders section, select "Open in Terminal"
FROM THE TERMINAL, COPY AND PASTE:
mkdir ~/PacketTracer8.0.1
cp ~/Downloads/CiscoPacketTracer_801_Ubuntu_64bit.deb ~/PacketTracer8.0.1
cd ~/PacketTracer8.0.1
ar -xv CiscoPacketTracer_801_Ubuntu_64bit.deb
mkdir control
mkdir data
tar -C control -Jxf control.tar.xz
tar -C data -Jxf data.tar.xz
cd data
sudo cp -r usr /
#STOP! COPY + PASTE FROM HERE, ENTER YOUR PASSWORD#
sudo cp -r opt /

Step 5: Run the following commands:

FROM THE TERMINAL, COPY AND PASTE:
sudo xdg-desktop-menu install /usr/share/applications/cisco-pt.desktop
sudo xdg-desktop-menu install /usr/share/applications/cisco-ptsa.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-ptsa.desktop x-scheme-handler/pttp
sudo ln -sf /opt/pt/PacketTracer /usr/local/bin/PacketTracer

Step 6:

Reboot
Applications > Others > Launch Packet Tracer

I confirm this is also working in Fedora 36 like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment