Getting Cisco Packet Tracer 7.1 To Run On Ubuntu 16.04 LTS


The desktop version of Cisco Packet Tracer (CPT) is currently available in three flavours: 32-bit and 64-bit versions for Windows 7, 8.1 and 10 and a 64-bit version for Linux. There is no macOS version so I decided to install the 64-bit Linux version of CPT ( on Ubuntu 16.04.3 LTS running on VMware Fusion (10.1.1).

Before continuing I should mention that I have limited experience with Ubuntu and Linux in general. I merely enjoy dabbling when I need to and am unsure of the dangers or repercussions – if any – of the procedure detailed below which involves having two versions of the same library installed on one system. In my case, having Ubuntu on a VM solely for the purpose of running CPT presents little risk. Your situation may differ.

I followed the Installation section of these instructions to install CPT.

As part of the CPT installation I opted to have a symbolic link named packettracer – pointing to the file /opt/pt/packettracer – created in /usr/local/bin. /opt/pt is CPT’s default installation directory. However, when running packettracer very little appears to happen apart from being told that CPT is starting:

steve@ubuntu:~$ packettracer
Starting Packet Tracer 7.1



Looking at /opt/pt/packettracer we can see that it executes PacketTracer7 located in /opt/pt/bin:


echo Starting Packet Tracer 7.1

pushd $PTDIR/bin > /dev/null
./PacketTracer7 "$@" > /dev/null 2>&1
popd > /dev/null



Executing /opt/pt/bin/./PacketTracer7 should give some clues:

steve@ubuntu:~$ /opt/pt/bin/./PacketTracer7
/opt/pt/bin/./PacketTracer7: error while loading shared libraries: cannot open shared object file: No such file or directory



There’s an error loading, but this message is a little misleading. You’ll notice in /opt/pt/packettracer on line 6 that the LD_LIBRARY_PATH environment variable is temporarily set to /opt/pt/lib and tells CPT where to look for shared libraries. Let’s change the command to include setting the value of the LD_LIBRARY_PATH variable:

steve@ubuntu:~$ LD_LIBRARY_PATH=/opt/pt/lib /opt/pt/bin/./PacketTracer7
/opt/pt/bin/./PacketTracer7: error while loading shared libraries: cannot open shared object file: No such file or directory



There’s still an error loading a shared library, but this time it’s A quick search for libicui18n gives the following:

steve@ubuntu:~$ sudo updatedb; locate libicui18n



It appears the correct library is installed, but CPT requires an older version – 52 instead of 55. A Debian package containing the older version of libicui18n is available at

To download the package type:

steve@ubuntu:~$ wget



To install this package type:

steve@ubuntu:~$ sudo dpkg -i libicu52_52.1-3ubuntu0.8_amd64.deb



sudo updatedb; locate libicui18n now lists the following:

steve@ubuntu:~$ sudo updatedb; locate libicui18n



CPT should now start:

steve@ubuntu:~$ packettracer
Starting Packet Tracer 7.1



Cisco Packet Tracer 7.1 running for the first time

Cisco Packet Tracer 7.1 running for the first time



In summary, the Linux version of CPT ( requires an older version of the libicui18n library not available in Ubuntu 16.04.3 LTS. CPT ( will run on Ubuntu 16.04.3 LTS providing the older library is installed alongside the newer one. As a side note, I found that CPT ( does run without issue on Ubuntu 14.04.5 LTS where the required older version of the library is installed as default.

1 CPT was updated to version 7.1.1 on 8th December 2017, but will still not run unless the older is installed.

About the author

A native Brit exiled in Japan, Steve spends too much of his time struggling with the Japanese language, dreaming of fish & chips and writing the occasional blog post he hopes others will find helpful.

48 responses


  • Thanks a bunch for this post, helped a lot. Now, you might want to update the file to be downloaded, since is not there anymore, but is, instead. Minor version change.

  • Hello,

    my CPT starts but only via CLI. I tried to make Dash icon and I can actually see it there but its not starting when I click on it and its not normal icon, its just invisible picture. Can you help me to solve this?

    • @Robo,

      The instructions I used to install CPT – and linked to at the beginning of this article – also contain details on how to create a Dash icon. I’ve just followed these and created an icon on the Desktop which successfully launches CPT. In my case, I replaced cp /opt/pt/bin/Cisco-PacketTracer.desktop ~/.local/share/applications/Cisco-PacketTracer.desktop shown in the instructions with cp /opt/pt/bin/Cisco-PacketTracer.desktop ~/Desktop/Cisco-PacketTracer.desktop to place the launcher on the Desktop.

      Regards, Steve.

  • I found this on other forum and it resolved my issue
    Navigate to the directory where PacketTracer is installed (this is the default):

    cd /opt/pt/bin

    then run PacketTracer7


    Now, if it shows a list of “libqt5xxx” missing libraries, please install them all.

    sudo apt install libqt5xxx*

    Remember, just write everything that is behind the first . and to put the * in the end of the name of the package.

    In my case, it was a package named “”, so I did this:

    sudo apt-get install libQt5Script*

    After that, running PacketTracer7


  • Cheers Steve!

    I am running Ubuntu 16.04 LTS and the only thing I had to do was to install the old library and it started working. So just doing the following fixed the error:
    1) wget
    2) sudo dpkg -i libicu52_52.1-3ubuntu0.7_amd64.deb

    Regards, Chris

  • Hi Steve,

    I’m running on Kali Linux and have the exact same issue except the file I need is and nothing seems to work for getting it. I’ll have to have another go at this when I’m less tired and see if I can sort it.

    Kind regards,

  • Hi, Steve.
    I’m trying to install PacketTracer 7 and I followed all instructions you (and other ‘gurus’) provided but…It didn’t work.

    My system is as follows:

    VERSION=”16.04.3 LTS (Xenial Xerus)”
    PRETTY_NAME=”Ubuntu 16.04.3 LTS”

    Also, I have noticed that: => not found => not found

    I really tried to install those libraries above, but I failed. Miserably. Can you help me?
    My best regards

    • @Cesar,

      Sorry you’re having trouble getting CPT to run. Both and are installed as part of the CPT installation in /opt/pt/lib/. If they’re not there, then I suspect CPT is not installed on your system. Remember, this article doesn’t cover how to install CPT, but does include a link to the installation instructions I used.

      If those files are present, then ensure you’re not trying to start CPT with PacketTracer7 in Terminal. You need to use either /opt/pt/packettracer or the symbolic link packettracer. See my reply to Momcilo’s comment further down the page.

      Regards, Steve.

  • Thank you. After some tweaks here and there. Cisco Packet Tracer version 7.1.1 works in Loki. You are an extraordinary living legend. All the best for you!!!

  • Hi,

    I trying to install packettracer on my Manjora. When I execute /opt/pt/bin/PacketTracer7, it shows:

    /opt/pt/bin/PacketTracer7: error while loading shared libraries: cannot open shared object file: No such file or directory

    I tried to execute sudo updatedb, but no clue. Please help.

    sudo: updatedb: command not found

    • @Yuna,

      I’m not familiar with Manjaro nor Arch Linux in general. updatedb manages a database used by locate. The equivalent of locate in Manjaro appears to be mlocate. As for installing the package containing libicui18n mentioned in the article, this is a Debian package for Debian-based Linux distros such as Ubuntu. Not sure if it should – or can – be installed on Arch-based Linux distros. See here.

      Regards, Steve.

  • I do this all:

    sudo updatedb; locate libicui18n

    but after it didn’t start, i start the /opt/pt/bin$ ./PacketTracer7 file and become an error:
    “error while loading shared libraries: cannot open shared object file: No such file or directory”

    Can someone help me ?

    • @Momcilo,

      You need to run /opt/pt/packettracer which first sets the LD_LIBRARY_PATH variable to tell CPT where to find the shared libraries it requires and then executes PacketTracer7. If you run PacketTracer7 directly the LD_LIBRARY_PATH variable is not set and will result in the errors you’re seeing.

      NOTE: If you had the CPT installation create a symbolic link named packettracer in /usr/local/bin you can run packettracer instead of /opt/pt/packettracer.

      Regards, Steve

  • Thanks Steve for this post. Thumbs-up, it helped me bigtimes. This problem had stuck with me for a week now until I landed on your blog. huuuuuuuw!!!…Now I can breathe

  • Hi Guys,
    I had an error the following day after installation. I was desperate and finally found your explanations. My problem was the system required me to join NETACAD. I entered
    and redirected me to their web page when I log in and it currently up and running.
    Thanks a lot,

    • @fmartap,

      I think enrolling with the Cisco Network Academy (NetAcad) is a pre-requisite for downloading Packet Tracer from their site. It certainly is for running it.

      Regards, Steve.

      • There are plenty of alternatives to download to avoid logins. I use this, where the guy updates on time.

        • @Rezah,

          I wasn’t aware that CPT could be downloaded from elsewhere. Thanks for that.

          Two things I noticed: 1. The version I downloaded form still won’t run until the older version of libicui18n has been installed. 2. It still presents a login prompt for NetAcad. So, IMHO there doesn’t seem any advantage to using this download location.

          Regards, Steve.

  • Great post there!

    Extremely helpful and clear. Thank you very much for taking the time for this great contribution.

    PD: From this post, I could not tell the fact you mentioned of you having limited experience with Ubuntu or Linux in general.



1 Pingback


Recent Comments

Recent Posts