Installing Cisco PacketTracer 5.3.2 on 64-bit Ubuntu or Debian

!!IMPORTANT!!

This post is very old and outdated. I do not have access to the latest versions of Packet Tracer and therefore have no way to continue to assist with installation. If somebody has a recent copy of Packet Tracer they could provide to me, I would be happy to see if I can get it working and document the steps.


 

If you are trying to install Cisco’s PacketTracer on a 64-bit Linux dist, you would be suprised it isn’t supported…

BEFORE YOU DO ANYTHING, READ THIS WHOLE ENTIRE ARTICLE. AFTER YOU HAVE READ IT, READ IT AGAIN. AFTER THAT, READ THE COMMENTS AT THE END OF THE ARTICLE – THERE ARE SOME USEFUL ONES. NEXT FOLLOW THESE STEPS.

Please like and/or +1 this site if this article helped you! ~

UPDATE: This will now work on Debian, Crunchbang, Ubuntu, and any other Debian-based Linux Distro. I have found the key package to make it work and added it to the installation script.

Attn: Debian Users:

In order for this tutorial to work, you must be able to run the sudo command as done below, or you must run the code below to log in as root:

su -

Moving On

If you are trying to install Cisco’s PacketTracer on a 64-bit Linux dist, you would be suprised it isn’t supported, but we have found a workaround which did the job beautifully. This article applies to PacketTracer version 5.3.2 but may work on future versions as well.

I was originally going to write a tutorial to make this happen, however I figured a shell script would be just as easy to write. So follow these instructions:

Download the Files

Go to Cisco’s website at http://cisco.netacad.net, login, and download PacketTracer to your home directory (the directory which uses your name).

Next, download PacketTracerx64Hack.sh – it is the shell script that does all the work for you. Put this file in the same home directory where you downloaded PacketTracer.

Start the Installation of Packet Tracer

Open up gnome-terminal (or the terminal of your choice) and do this:

sudo sh PacketTracer532*

Hacking It to Force it to Install

Press Enter, Read through the agreement (or if you have before, just press the space bar until you hit 90% and then use the Enter key (DO NOT PRESS Y) to go the rest of the way down). Do NOT press anything else though. At this point, you will want to run the shell script that you downloaded (open up a new terminal to do this):

sudo sh PacketTracerx64Hack.sh

Installation Complete

It should do the rest of the work and then you can run PacketTracer by either going to the GUI menu > Internet > Cisco PacketTracer or by running the following:

/usr/local/PacketTracer5/packettracer

(the installer will initially run PacketTracer for you automatically)

If these instructions worked for you, please let me know in the comments section below. Also, don’t forget to +1 or Like us at the top-left of the page!

To Uninstall Packet Tracer

Uninstalling Packet Tracer is fairly easy. To do so, follow these steps:

sudo dpkg -r packettracer;
sudo dpkg -r getlibs

If there are errors when you try to uninstall or it says packetracer is not installed:

sudo dpkg --list | grep packettracer

You might see something like packettracer:i386. Therefore, replace the dpkg -r packettracer command with the following (make sure to be root or use sudo):

dpkg -r packettracer:i386

96 Replies to “Installing Cisco PacketTracer 5.3.2 on 64-bit Ubuntu or Debian”

  1. hello guys i tried to install packet tracer in ubuntu desktop 14.04 lts
    but i face with this issue when i am trying to open in command line it opens while on desktop it can’t they answer me that there was error while launching the program
    thanks for your help

  2. PacketTracer6: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
    Help please

  3. struggling here. downloaded and following steps as above and im getting these errors

    [code]
    -e “Installing Required Librariesn”
    Reading package lists…
    Building dependency tree…
    Reading state information…
    ia32-libs is already the newest version.
    The following package was automatically installed and is no longer required:
    libkms1
    Use ‘apt-get autoremove’ to remove it.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
    -e”.deb file exists in /tmpn”
    -e “copying installer to ./n”
    -e “Installing Librariesn”
    (Reading database … 201151 files and directories currently installed.)
    Preparing to replace getlibs 2.06 (using getlibs-all.deb) …
    Unpacking replacement getlibs …
    Setting up getlibs (2.06) …
    -e “nRunning dpkg -i –force-architecture Packet*.debn”
    -e “nPacketTracer is installedn”
    -e “Applying libsn”
    Reading package lists…
    Building dependency tree…
    Reading state information…
    ia32-libs is already the newest version.
    The following package was automatically installed and is no longer required:
    libkms1
    Use ‘apt-get autoremove’ to remove it.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
    The file “/usr/local/PacketTracer6/bin/PacketTracer6” does not exist
    Usage: getlibs /path/to/binary
    getlibs -l i386librarytoinstall.so
    getlibs -p i386packagename
    getlibs -w http://www.website.com/i386package.deb
    getlibs -i /home/root/i386package.deb
    See ‘man getlibs’ for more commands
    -e “nPacketTracer should now be installed – However, this script is light and does not detect errors.n”
    “Running PacketTracern”
    [/code]

  4. for all version of linux here is the another tutorials
    openpy.com/ccna/installing-and-running-packettracer-in-all-version-of-linux/

  5. I try to install like you say but after install I can’t run program and I don’t know why…
    If I try it to start manually like:
    sudo sh packettracer (in proprely catalog) I receive:
    packettracer: 7: packettracer: pushd: not found
    packettracer: 9: packettracer: popd: not found
    How to deal with that?

  6. Hi Snowdried, thanks for the extremely helpful post, much appreciate! hope it would help few other people as well!

  7. Hi Snowdried , can you post a full description and procedure, since pct6.0.1 comes with strange format :
    Cisco\ Packet\ Tracer\ 6.0[1].1\ for\ Linux\ -\ Ubuntu\ installation\ (with\ tutorials)

    There is no indication of its compression file etc, how to change this file to a usable, and how to modify the script , thanking you

    1. Hi Mr Mango, I’ve downloaded the file “Cisco Packet Tracer 6.0.1 for Linux (with tutorials).tar.gz”.

      I have unpacked the file with the command tar -zxvf Cisco\ Packet\ Tracer\ 6.0.1\ for\ Linux\ \(with\ tutorials\).tar.gz

      Next I go into the created directory with the command cd PacketTracer601

      I start the installation with the command ./install

      Read through the agreement and press enter until you get following question : Do you accept the terms of the EULA? (Y)es/(N)o

      Do NOT answer that question.

      Instead open a new terminal session, and as a root user execute the following script (this is the script where I’ve changed 2 lines for version 6.01) :
      (Please save this script in a file and give this file execute permissions)

      #!/bin/bash

      # PacketTracer Installer Hack
      # Written by K. Law @ http://kaslnetwork.com
      # PacketTracer is a program by Cisco Systems
      #
      # The purpose of this script is to install PacketTracer on
      # the unsupported 64-bit Ubuntu or Debian Linux platforms

      echo -e “Installing Required Libraries\n”
      apt-get -y install ia32-libs-gtk

      echo -e”.deb file exists in /tmp\n”
      echo -e “copying installer to ./\n”
      cp -v /tmp/selfextract.*/Packet* ./

      echo -e “Installing Libraries\n”

      ### Download getlibs
      wget -c http://content.kaslnetwork.com/downloads/getlibs-all.deb

      ### Install getlibs
      dpkg -i getlibs-all.deb

      ### Force PT to install
      echo -e “\nRunning dpkg -i –force-architecture Packet*.deb\n”
      dpkg -i –force-architecture Packet*.deb

      echo -e “\nPacketTracer is installed\n”

      ### Apply libraries
      echo -e “Applying libs\n”
      getlibs /usr/local/PacketTracer6/bin/PacketTracer6

      echo -e “\nPacketTracer should now be installed – However, this script is light and does not detect errors.\n”
      echo “Running PacketTracer\n”

      ### Create file on desktop
      echo -e “\nDid PacketTracer Not Install?\n\nIf not, look for the ia32-libs-gtk file in the Debian/Ubuntu repositories.\nIt is the key to the successful install.” > ~/Desktop/PacketTracer_README_IF_IT_FAILED.txt

      ### Run Packet Tracer
      /usr/local/PacketTracer6/packettracer

      Once the script has finished installing Packet Tracer 6.01 should be up and running.

      Then you go back to your other terminal session and answer No to the EULA question.

      Your installation is done. I’ve done this in Linux Mint 16 64 bit Cinnamon and it works like a charm.

      A Packet Tracer icon is automatically generated.
      You can find it if you go to Menu => Internet.

      That’s it.
      Hope it works out for you.

      1. Mr Mango, One correction. I just saw that I’ve downloaded the file “Cisco Packet Tracer 6.0.1 for Linux (with tutorials)” from Cisco, like you mentioned in your post.

        I had to rename it to “Cisco Packet Tracer 6.0.1 for Linux (with tutorials).tar.gz” before I could install the software.

        You’ll probably have to do the same.

        Hope it helps,
        Snowdried.

  8. Hi, Your script works great.
    I’ve changed 2 lines in it in order to install Packettracer 6.0.1.

    Change line 33 in the script to : “getlibs /usr/local/PacketTracer6/bin/PacketTracer6”
    and change line 42 in the script to : “/usr/local/PacketTracer6/packettracer”.

    After that do the installation exactly as mentioned above.

    Finally check the 2 last lines in /etc/profile : it should read :
    PT6HOME=/usr/local/PacketTracer6
    export PT6HOME
    This was done automatically during installation, but in case it doesn’t you can add it manually.

    I’ve done this installation on Linux Mint 16 Petra 64 bit and now Packet Tracer 6.0.1. works fine.

    Thanks again for the great script !

    1. Same exact results for me.(Debian Wheezy) I didn’t follow this guide as I was installing Packet Tracer 6.0.1. I downloaded packet tracer from netacad. I had to rename the extension to tar.gz, extract the folder and ran the included install script. Everything installed fine(or at least it said installation completed), but when I run packettracer from terminal it says:

      anthony@debian:~$ packettracer
      Starting Packet Tracer 6.0.1
      anthony@debian:~$

      dmesg shows no output related to running packettracer. /var/log/messages shows no related output either.

  9. I installed Cisco Packet Tracer 6.0.1, but it runs on ubuntu 13.04, but that can not happen

  10. GREAT ARTICLE!!!!
    Saves My Life.
    I spent last night trying to instal in MINT OLIVIA the packet 5.3.3.
    I need to change only the name from the file.
    God Bless You!

  11. Hello I need help, I’m new in ubuntu operating system. and when I used this command gave this error.

    sudo sh PacketTracerx64Hack.sh
    -Installing and Required Libraries

    Reading package lists … ready
    Building dependency tree
    Reading state information … ready
    E: Could not find package ia32-libs-gtk
    e.deb-file exists in / tmp

    -and copying installer to. /

    cp: can not stat `/ tmp / selfextract. * / Packet * ‘: No such file or directory
    -Installing and Libraries

    – 08/10/2013 18:01:36 – http://content.kaslnetwork.com/downloads/getlibs-all.deb
    Resolving content.kaslnetwork.com (content.kaslnetwork.com) … failed: Name or service not known.
    wget: unable to resolve host address `content.kaslnetwork.com ‘
    (Reading database … 142773 files and directories currently installed.)
    Preparing to replace getlibs 2:06 (using getlibs-all.deb) …
    Unpacking replacement getlibs …
    Configuring getlibs (2.06) …
    , and
    Running dpkg-i – force-architecture Packet *. Deb

    dpkg: error processing Packet *. deb (- install):
      can not access archive: No such file or directory
    Errors were encountered while processing:
      Packet *. Deb
    , and
    PacketTracer is installed

    Applying and-libs

    Reading package lists … ready
    Building dependency tree
    Reading state information … ready
    E: Could not find package ia32-libs
    This application is not missing any dependencies
    , and
    PacketTracer Should now be installed – However, this script is light and does not detect errors.

    Running PacketTracer

    PacketTracerx64Hack.sh: 39: PacketTracerx64Hack.sh: can not create / home / david / Desktop / PacketTracer_README_IF_IT_FAILED.txt: Directory nonexistent
    Starting Packet Tracer 5.3

    1. Hello. I’m not sure if you ever figured it out, but it appears there was a DNS issue in the debugging output. I verified the URI and it works now. Please try again.

  12. Last year, I installed 5.33 with these instructions. Now that it was time to install 6.0.1, I uninstalled 5.33 and installed 6.0.1 following the instructions and had no issues. My machine is a Intel core i3, 4GB and Ubuntu 12.04 LTS, unchanged from last year.

  13. Hello,
    I’m trying to install debian on a packettracert601 2.6.32 64bit using your script but I can not. U have a script with the correct changes for this new version.
    Att
    Madson (Brazil)

  14. I’ve made the full installation of PacketTracer 5.3.3 and after that I’ve launched your script.
    It works like a charm!!
    Thank you so much for your work!!

  15. Hi everybody, first of all I want to thank who did this tuto, and second of all, I want to tell that I having problems. Im pretty new in using linux. I found this tuto and did everything but, after running the script, the PT does not start. I tried using the url, and I looked it in installed app, but it does not start so, please if anyone had the same problem i`d really appreciate you to help me. Thanks!!

  16. Thanks… it installed PT 6.01 on ubuntu 12.04 64bit (forgot to backup /etc/profile but it didn’t get trashed anyway so all OK)

Comments are closed.