PacketTracer6 on Ubuntu Trusty

packettracer6 in ubuntu14.04 (or linux mint 17) (x86_64)

[ disclaimer: just a blog post, not a how-to 🙂 ]

when you are inscribed on a cisco course
you can download PT6 “Cisco_Packet_Tracer_6.0.1_for_Linux-Ubuntu_installation.bin
for Ubuntu …

I moved it into an isolated directory before executing, but it was not necessary:

$ mkdir pt-install
$ mv Cisco_Packet_Tracer_6.0.1_for_Linux-Ubuntu_installation.bin pt-install

then chmodded and executed with sudo

$ sudo chmod +x Cisco_Packet_Tracer_6.0.1_for_Linux-Ubuntu_installation.bin
$ sudo ./Cisco_Packet_Tracer_6.0.1_for_Linux-Ubuntu_installation.bin

Self extracting archive…
Welcome to Cisco Packet Tracer 6.0.1 Installation
Read the following End User License Agreement “EULA” carefully. You must accept the terms of this EULA to install and use Cisco Packet Tracer 6.0.1.

Press the Enter key to read the EULA.

Do you accept the terms of this EULA? (Y)es/(N)o


You have accepted the terms to the EULA. Cisco Packet Tracer will now be installed.
Attempting to install package now
Selecting previously unselected package packettracer.
(Reading database … 217630 files and directories currently installed.)
Preparing to unpack PacketTracer-6.0.1.i386.deb …
Unpacking packettracer (6.0.1) …
Setting up packettracer (6.0.1) …
Installed files. Please wait for post-install operations to finish..
/usr/local/PacketTracer6/registerPktsGnome: line 7: gtk-update-icon-cache: command not found
Writing PT6HOME environment variable to /etc/profile
Processing triggers for desktop-file-utils (0.22-1ubuntu1) …
Processing triggers for mime-support (3.54ubuntu1) …
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) …

Trying to launch from terminal:

$ cd /usr/local/PacketTracer6/bin
$ ./PacketTracer6

./PacketTracer6: error while loading shared libraries: cannot open shared object file: No such file or directory

Checking the failing dependencies:

$ ldd ./PacketTracer6 | grep not => not found => not found

Installing the first dependency:

$ sudo apt-get install qtscript-tools:i386

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
Suggested packages:
Recommended packages:

Checking the failing dependencies again:

$ ldd ./PacketTracer6 | grep not => not found

So I tried the same as before … and went to install libqt3support4-perl:i386 (incorrectly identifying the package containing the lib)

but then dependency hell broke loose …

so I did what was suggested by DedunuDhananjaya on

$ sudo dpkg –add-architecture i386

$ sudo apt-get install libnss3-1d:i386 libqt4-qt3support:i386 libssl1.0.0:i386 libqtwebkit4:i386 libqt4-scripttools:i386

Reading package lists… Done
Building dependency tree
Reading state information… Done
libqt4-scripttools:i386 is already the newest version.
libqtwebkit4:i386 is already the newest version.
libssl1.0.0:i386 is already the newest version.
The following NEW packages will be installed:
libnspr4:i386 libnss3:i386 libnss3-1d:i386 libqt4-designer:i386

Setting up libnspr4:i386 (2:4.10.2-1ubuntu1.1) …
Setting up libnss3:i386 (2:3.15.4-1ubuntu7) …
Setting up libqt4-designer:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) …
Setting up libqt4-qt3support:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) …
Setting up libnss3-1d:i386 (2:3.15.4-1ubuntu7) …
Processing triggers for libc-bin (2.19-0ubuntu6) …

Apparently I first misidentified the packet to be installed when using aptitude search for libqt3support4. The packet marked in red might have been the only one necessary.

And yes !!!

finally all dependencies have been met !!!

I made a launcher containing: /usr/local/PacketTracer6/bin/PacketTracer6
and here is the result …


Of course, I should have reverse looked up the library with dpkg -S

$ dpkg -S
libqt4-qt3support: /usr/lib/i386-linux-gnu/
libqt4-qt3support: /usr/lib/i386-linux-gnu/
libqt4-qt3support: /usr/lib/i386-linux-gnu/

But then, we are not always smart enough to find the easiest road to a destination.


About bert0001
... less is more ...

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: