How to Install Cisco Packet Tracer 8.2 (8.2.0) on Kali Linux 2022

In this article, we will examine how to set up and use the Cisco Packet Tracer 8.2 (8.2.0) simulation program, which allows you to use network devices such as Cisco Router, Switch, or Firewall virtually on the Kali Linux 2022 (2022.3) operating system.

How to Install Cisco Packet Tracer 8.2 (8.2.0) on Kali Linux 2022

How to Set Up and Use Packet Tracer 8.2.0 to Prepare for Cisco Exams on Kali Linux 2022.3

Cisco Packet Tracer is a free network simulation program for Cisco Networking students and includes multiple network devices, personal computers, and security devices.

You can download and install the Packet Tracer network software, which is distributed completely free of charge, on your Windows, Linux, or macOS computer after registering on the Netacad website.

You can improve your basic networking knowledge by installing Cisco network simulator software on Kali Linux, one of the Linux distributions that are widely used to perform security tests and penetration analyses of your existing network.

How to Download and Install Packet Tracer

You can download Packet Tracer software for Linux from the official website of Netacad or other sources on the Internet. You can browse this article to download this software without being a member of Netacad and without logging in.

Step 1

If you prefer to download the Cisco network simulator program from Netacad, visit this address and click login on the homepage.

Netacad Login

Step 2

When you are redirected to the Cisco login webpage, type your Cisco account information and click login again.

Entering Cisco Account Information

Step 3

After successfully logging in to Cisco Networking Academy, click Resources / Download Packet Tracer from the menu.

Download Packet Tracer

Step 4

Click on the 64-bit Download link in the Ubuntu Desktop Version 8.2.0 English title on the download page, choose to save the deb file to your computer, and click OK.

Ubuntu Desktop Version 8.1.1 English

Step 5

After downloading the Packet Tracer.deb package, open the terminal by pressing CTRL + ALT + T and execute the “cd ~/Downloads” command to go to the Downloads location and check the downloaded deb package when you view the contents of the folder with the “ls” command.

To install the PacketTracer.deb package on your Kali computer, execute the “sudo dpkg -i FileName.deb” command in the terminal.

cd ~/Downloads
ls
sudo dpkg -i CiscoPacketTracer_811_Ubuntu_64bit.deb

Installing the Deb Package

Step 6

During the installation phase, press Enter at the OK option to read and accept the license agreement of the Cisco Packet Tracer software.

Accepting the Cisco Packet Tracer License Agreement

Step 7

Likewise, press Enter on Yes to accept Packet Tracer’s EULA license terms.

Accepting EULA Terms

Step 8

After accepting the license terms, you can see that the dependent packages libgl1-mesa-glx and libxcb-xinerama0-dev must also be installed in the terminal while the installation continues. To force the installation of these packages, you need to execute the “sudo apt install -f” command in the terminal or manually download and install these packages.

Dependent Packages Not Installed Error

Step 9

To install dependent packages for Packet Tracer, execute the “sudo apt install -f” command in the terminal, and then after checking the packages to be installed, press the Y key and then Enter to continue.

Force Installation of Dependent Packages

Step 10

After completing the installation of the Cisco software, you can see that the program has been successfully installed when you type “packet tracer” in the search bar in the start menu.

Running Packet Tracer 8.1

Step 11

Run the Cisco Packet Tracer and click Yes to confirm the Multi-User feature to run at startup.

Allowing Multi-User

Step 12

In previous versions of Packet Tracer, you could log in to the program as a guest, but now you need to log in to Netacad. So, on the login screen, click Networking Academy.

Login to Cisco Networking Academy

Step 13

After logging into Netacad, you will see the logical workspace of the program. You can also check the version of the program by clicking Help / About.

Checking Packet Tracer Version

How to Create a Desktop Shortcut

It would be best if you created desktop shortcuts so that you can access and run the programs you have installed on your Kali Linux system faster. For example, after installing the Cisco simulation program, you can create a desktop shortcut by right-clicking on the program’s icon from the Start menu and clicking Add to Desktop from the options that appear.

Step 1

To create a Packet Tracer shortcut, list the program in the start menu, right-click on it, and then click Add to Desktop.

Creating a Packet Tracer Desktop Shortcut

Step 2

Another way to create a desktop shortcut is to use the terminal. To create a shortcut for Cisco software, execute the first command below in the terminal to copy the shortcut from Applications to the desktop, and then edit the executable permissions of the shortcut with the “chmod” command.

cp /usr/share/applications/cisco-pt.desktop ~/Desktop
chmod +x cisco-pt.desktop

Creating Shortcuts with Commands in Terminal

How to Create a New Project

After installing Cisco Packet Tracer on Kali Linux, you can now create new projects and test how devices communicate with each other to prepare for your Cisco exams or improve your networking experience.

Step 1

You can quickly start creating a network topology by dragging and dropping the relevant devices from the devices section to the logical workspace of Packet Tracer.

For example, let’s examine how to configure DHCP to assign IP addresses to devices connected to a Cisco Router automatically.

After clicking on the Cisco Router group from the Devices panel, add the Router 2911 model to the workspace from the device category on the right.

Adding a Cisco Router to the Workspace

Step 2

Click on the Cisco Switch category and add the Switch 2960 model to the workspace.

Adding a Cisco Switch to the Workspace

Step 3

Click on the category of computers from end-user devices and add one desktop computer and one laptop computer to the workspace from the drop-down list.

Adding a PC and Laptop to the Workspace

Step 4

After clicking on the wiring option, select Copper Straight-Through from the cable types category, and then click on PC0 and connect one end of the cable to the free port FastEthernet0 and the other end to one of the free ports of the Switch.

Likewise, connect Laptop0 to the Cisco Switch using a flat copper cable.

Connecting Computers to the Switch

Step 5

After connecting the computers in the working environment to the Switch, connect both devices with the GigabitEthernet port since the network connection between the Router and the Switch must be fast.

Connecting the Switch to the Router

Step 6

Click on the Router to open the CLI configuration window and execute the commands below to assign an IP address to the GigabitEthernet port connected to the Switch.

Router> en
Router# conf t
Router(config)# interface gigabitethernet 0/1
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown

Assigning an IP Address to the Router's Gigabit Interface

Step 7

Instead of manually assigning IP addresses to computers on the same network connected to the Router, you can automatically add IP addresses to every device added to the network by configuring a DHCP server.

Router> en
Router# conf t
Router(config)# ip dhcp pool LAN1
Router(dhcp-config)# network 192.168.1.0 255.255.255.0
Router(dhcp-config)# default-router 192.168.1.1
Router(dhcp-config)# dns-server 192.168.1.1
Router(dhcp-config)# exit
Router(config)# ip dhcp excluded-address 192.168.1.1

Enabling DHCP on the Router

Step 8

After configuring the DHCP server on the Router, let’s configure the IP of the computers in the workspace.

Click on PC0 and open Desktop / IP Configuration in the window that opens. Change the Static option to DHCP for PC0 to obtain addresses automatically and check that it has received the defined addresses.

Enable DHCP to Obtain Automatic IP Address on PC

Step 9

Likewise, open the network settings of Laptop0 and check that it gets an address from the defined IP block after enabling DHCP.

Enable DHCP to Obtain Automatic IP Address on Laptop

Step 10

After the computers on the network successfully get the automatic IP address and other information from the DHCP enabled on the Router, you need to check the connection between the devices.

After clicking PC0, open Desktop / Command Prompt and test the network connection by pinging the Router and Laptop0.

C:\> ping 192.168.1.1
C:\> ping 192.168.1.3

Ping from PC to Router and Laptop

Step 11

Likewise, ping Router0 and PC0 from Laptop0 and test the network connection.

C:\> ping 192.168.1.1
C:\> ping 192.168.1.2

Ping from Laptop to PC and Router

How to Uninstall Packet Tracer from Kali Linux

When you plan to uninstall the Packet Tracer software from your Kali computer, you can quickly do this with the terminal.

Step 1

To thoroughly delete the Packet Tracer program from your system, execute the command below in the terminal.

sudo apt remove packettracer

Uninstalling Packet Tracer

Step 2

Execute the command below in the terminal to delete the desktop shortcut you created in the Kali desktop location.

sudo rm -rf ~/Desktop/cisco-pt.desktop

Deleting Desktop Shortcut

Step 3

Finally, after uninstalling Packet Tracer, execute the below command to delete dependent patch packages as well.

sudo apt autoremove && sudo apt autoclean

Deleting Relic Files of Cisco Software

Video

Installing Old Versions

1) Packet Tracer 7.2.2

  1. After downloading the program to your computer, copy the PacketTracer-7.2.2-ubuntu-setup.run file to the folder you created on the desktop, and then open the terminal in it.
  2. After configuring the file permission, run the below command in the terminal to start the installation.
    • ./PacketTracer-7.2.2-ubuntu-setup.run
  3. Do not change the default location in the Installation Folder window, and click the Next button to continue.
  4. After reading Packet Tracer’s license agreement, accept it and continue by clicking Next.
  5. Click install to start the installation.
  6. After completing the installation process, click Finish.
  7. Type packettracer and press Enter to run CPT in the terminal. If the program cannot start, you need to install its dependent packages.
  8. Open the Kali sources list with the nano /etc/apt/sources.list command, add the address below to the list, and save the file.
    • deb https://ftp.debian.org/debian stable main contrib non-free
  9. Execute the “apt update” command to update the Kali repository list.
    • apt update
  10. One of the most critical dependent packages for Packet Tracer is libpng. Run the following command in the terminal to download libpng.
    • wget http://ftp.us.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb
  11. Run dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb to start the libpng installation on Kali.
    • dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb
  12. While installing libpng, you may get an error like the one below in the terminal because this software requires the multiarch-support package to run. Run the apt install multiarch-support command to install the multiarch package in Kali.
    • apt install multiarch-support
  13. After trying to install libpng again, you can see that the Cisco software works fine.
  14. Click the Confirm Guest button to log in without opening a Cisco login on the software.
  15. After running Cisco Packet Tracer 7.2.2, you can check the new version in Help / About!

2) Packet Tracer 7.2.1

  1. Execute the “sudo nano /etc/apt/sources.list” command in the terminal and add the “deb https://ftp.de.debian.org/debian jessie main” repo and press Ctrl + X / Y / Enter to save settings press it.
    • sudo nano /etc/apt/sources.list
    • deb https://ftp.de.debian.org/debian jessie main
  2. After updating the repository list, execute the following commands in order to start the installation.
    • cd Desktop/
    • mkdir CPT72
    • tar -xvzf Packet\ Tracer\ 7.2.1\ for\ Linux\ 64\ bit.tar.gz -C CPT72/
  3. Go to the CPT72 folder in the terminal and execute the “./install” command. After the installation starts, press Enter to accept the license agreement.
  4. For the following steps, complete the installation process by pressing the Enter key.
  5. To run the program, go to “cd /opt/pt/bin” and execute the “./PacketTracer7” command.
    • cd /opt/pt/bin
    • ./PacketTracer7
  6. If you get the “libpng12.so.0” error at this step, go to the next step and install the libpng12 package.
    • sudo apt-get install libpng12-0
  7. If you encounter the following “libcrypto.so.1.0.0” error after trying to rerun Packet Tracer, follow the steps in this article.
  8. To create a desktop and start menu shortcuts for the Cisco program, follow the commands below in the order in the terminal.
    • cp /opt/pt/bin/Cisco-PacketTracer.desktop ~/Desktop/
    • chmod +x ~/Desktop/Cisco-PacketTracer.desktop
    • cp ~/Desktop/Cisco-PacketTracer.desktop /usr/share/applications

Installing Old Versions – Video

PT / Kali Version
YouTube Video
Slide
7.2.1 / 2018
7.2.2 / 2018
8.1.1 / 2022.1
8.2.0 / 2022.3 (NEW)

 

Related Articles

1) How to Install Cisco Simulator on macOS
2) How to Install Cisco Simulator on Linux Mint
3) How to Install Cisco Simulator on Ubuntu
4) How to Install Cisco Simulator on Debian
5) How to Use Cisco Simulator

6 Comments

Add a Comment

Your email address will not be published. Required fields are marked *