How to install Cisco Packet Tracer 7.2.2 on Kali linux 2020

Afiv Dicky Efendy
3 min readJun 21, 2020

--

Hi guys im back again with new linux tutorial. Today i want to share how to install Cisco Packet Tracer on kali linux, i bet you all have same problem when installing it.

The reason I wrote this tutorial when I installed Cisco Packet Tracer has the following problems:

  1. It installed fine but when I type packettracer it just says:
Starting Packet Tracer 7.2.2

2. Then i install libpng12 but i get this error:

dpkg: error processing archieve libpng12–0_1.2.50+deb8u3_amd64.deb:
unable to install new version of ‘/usr/lib/x86_64-linux-gnu/libpng12.so.0’: No such file or directory

Let’s Go!

  • Firstly, download file packet tracer 7.2.2 (click link below)

for kali linux user i recommend this version (7.2.2) because when i install the latest version 7.3.0 i still cannot fix the error.

  • Go to your download folder and give access modifier
sudo chmod +x PacketTracer-7.2.2-ubuntu-setup.run
  • Then install or run the file installation
sudo ./PacketTracer-7.2.2-ubuntu-setup.run

After finished when you run cisco packet tracer it will just say

Starting Packet Tracer 7.2.2

Let’s fix it!!

  • Download file libpng12

Setting the repository first

sudo nano /etc/apt/sources.list

Add

deb http://ftp.debian.org/debian stable main contrib non-free

Update the repository

sudo apt update

Then now we can download the libpng12 file with terminal

wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb
  • install multiarch
apt install multiarch-support
  • install libpng12
sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb

but if you get an error like the image above try this !

  • Extract the content of the debian package
mkdir out; dpkg -x libpng12-0_1.2.50-2+deb8u3_amd64.deb  ./out
  • Copy the file libpng12.so.0 to your Packet tracer’s installation directory inside the …/pt/bin folder like this:
sudo cp ./out/lib/x86_64-linux-gnu/libpng12.so.0 /opt/pt/bin/
  • Finish. Now you can run the application and its fixed :)

--

--

Afiv Dicky Efendy

Linux enthusiast who wants to share his knowledge through writing on the medium