How to Install Packet Tracer Networking Simulator on Linux

 How To, Linux, Networking  Comments Off on How to Install Packet Tracer Networking Simulator on Linux
Mar 312019

For anyone starting on the rewarding journey into computer networking, Packet Tracer is an indispensable learning tool.

If you’re planning to take the Cisco Certified Network Associate (CCNA) ) exam, you must practice on the Packet Tracer networking simulation software from Cisco.

Packet Tracer

Download Packet Tracer

On Cisco’s Networking Academy web site, the latest 64-bit version of Packet Tracer is available for both Linux and Windows for free.

So I headed to Cisco’s Packet Tracer Download web site and downloaded the Packet Tracer 7.2.1 tarball for Linux.

Before you can download Packet Tracer, you must register with the site.

For the purpose of this post, I downloaded Packet Tracer 7.2 to a 10-year-old Dell 780 desktop PC running Linux Mint 18.3.

(By the way, I tried the Windows version of Packet Tracer too and got it to work without sweat. Since my Windows 10 laptop is an anemic device with just 4GB RAM, I prefer to run Packet Tracer on my Linux PC, which has a more generous 8GB RAM.)

Extracting the File

I extracted Packet Tracer 7.2.1 into the same folder in which I had downloaded the file.

Now that you have downloaded the Packet Tracer software, fire up your terminal and extract the software (see command below).

mike@familypc ~/Downloads/Packet-Tracer $ tar -xvzf Packet-Tracer-7.2.1-for-Linux-64-bit.tar.gz
[output truncated]
templates/Smart LED.ptd
mike@familypc ~/Downloads/Packet-Tracer

Now that we completed the extraction, let’s take a quick look at the folder.

mike@familypc ~/Downloads/Packet-Tracer $ ll -a
total 305296
drwxrwxr-x 11 mike mike      4096 Mar 29 20:11 ./
drwxr-xr-x 18 mike mike      4096 Mar 24 16:19 ../
-rw-rw-r--  1 mike mike    710787 Mar 26 22:19 Packet Tracer - Help and Navigation Tips.pdf
drwxrwxr-x 24 mike mike      4096 Dec  9 23:45 art/
drwxrwxr-x  6 mike mike      4096 Dec  9 23:45 backgrounds/
drwxr-xr-x  8 mike mike      4096 Dec  7 15:41 bin/
-rw-rw-r--  1 mike mike    172942 Mar 17 17:31 Cisco Packet Tracer FAQs.pdf
-rwxrwxr-x  1 mike mike     14510 Dec 14 20:23 eula721.txt*
drwxr-xr-x 15 mike mike      4096 Dec 10 18:44 extensions/
drwxr-xr-x  3 mike mike      4096 Dec  7 15:27 help/
-rwxr-xr-x  1 mike mike      4134 Dec 14 19:56 install*
drwxrwxr-x  2 mike mike      4096 Dec  9 23:45 languages/
-rw-rw-r--  1 mike mike 311645539 Mar 17 17:31 Packet-Tracer-7.2.1-for-Linux-64-bit.tar.gz
dr-xr-xr-x 21 mike mike      4096 Dec  9 23:45 saves/
-rw-r--r--  1 mike mike      1237 Dec  9 23:45
-rw-r--r--  1 mike mike      1207 Dec  9 23:45
drwxrwxr-x  2 mike mike      4096 Dec  9 23:45 Sounds/
drwxrwxr-x  3 mike mike      4096 Dec  9 23:45 templates/
-rw-r--r--  1 mike mike       159 Mar  5  2018 tpl.linguist
-rw-r--r--  1 mike mike       177 Dec  7 15:40 tpl.packettracer
mike@familypc ~/Downloads/Packet-Tracer $

Everything looks good.

So let’s move to the next step: Running the install script.

Installing Packet Tracer

I did not encounter any major issues in installing Packet Tracer except for a minor bump when the process stopped momentarily and asked for my sudo password to copy the files into opt/pt.

mike@familypc ~/Downloads/Packet-Tracer $ ./install

Welcome to Cisco Packet Tracer 7.2.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.
Press the Enter key to read the EULA.

Cisco Packet Tracer
Software License Agreement

I.	DISTRIBUTION RIGHTS.  The terms in this Section I (Distribution Rights) of the Agreement apply solely to any Cisco Networking Academy instructor, administrator or other person or entity approved in writing by Cisco Systems, Inc. (each, an "Instructor") to distribute and use the Cisco Packet Tracer software and related documentation (collectively, the "Software") in accordance with the terms and conditions of this Agreement.
	[output truncated]
Cisco, Cisco Systems, and the Cisco Systems logo are registered trademarks of Cisco Systems, Inc. in the U.S. and certain other countries.  Any other trademarks mentioned in this document are the property of their respective owners.
Do you accept the terms of the EULA? (Y)es/(N)o

You have accepted the terms to the EULA. Congratulations. Packet Tracer will now be installed.
Enter location to install Cisco Packet Tracer or press enter for default [/opt/pt]: 
Installing into /opt/pt

Not able to create and copy files to /opt/pt
Should we try to gain root access with sudo? [Yn] y
[sudo] password for mike: 
Installing into /opt/pt
Copied all files successfully to /opt/pt

Should we create a symbolic link "packettracer" in /usr/local/bin for easy Cisco Packet Tracer startup? [Yn] y
Type "packettracer" in a terminal to start Cisco Packet Tracer
Writing PT7HOME environment variable to /etc/profile
Writing QT_DEVICE_PIXEL_RATIO environment variable to /etc/profile

Cisco Packet Tracer 7.2.1 installed successfully
Please restart you computer for the Packet Tracer settings to take effect

Voila, Packet Tracer 7.2 is now installed on my Linux Mint PC.

After rebooting the system, I was able to launch Packet Tracer and get it to work without any issues.

To launch Packet Tracer, head to the terminal and just issue the command packettracer:

mike@familypc ~ $ packettracer
Starting Packet Tracer 7.2.1

But if you’re like me and want to do more with less, you can set up an alias by opening the .bashrc file with nano or vim and inserting alias pt=”packettracer” at the end of the file, save and close it. Don’t forget to run source ~/.bashrc so that you don’t have to close the terminal for the new alias to work. The next time you want to launch Packet Tracer, just type pt instead of the longer packettracer on the terminal.

Overall, I did not encounter any showstoppers in the process of downloading, installing or using Packet Tracer 7.2.1 on my Linux PC.

As you can see from the Packet Tracer image at the top of this post, I even moved a PC and switch into the logical work area and hooked them up with a console/rollover cable.

Getting Packet Tracer 7.2 on my Linux desktop PC took about five-minutes.

Since Linux Mint is based on Ubuntu, Packet Tracer should work on Ubuntu too.

One of these days, I’ll test Packet Tracer on my CentOS 7 desktop and see how the process goes.

 Posted by at 10:11 pm

Should Linux Mint Users Switch to ElementaryOS?

 Linux  Comments Off on Should Linux Mint Users Switch to ElementaryOS?
Feb 142019
Should Linux Mint Users Switch to ElementaryOS?

As a long time Linux desktop user, I’m often tempted to try out new distros to see if any of them can match my current favorite – Linux Mint. So as part of that experiment, I downloaded ElementaryOS 5.0, which debuted in October 2018, and installed it as a guest Read More

 Posted by at 6:51 pm

How to Perform Shasum Checks in Windows 10

 Windows  Comments Off on How to Perform Shasum Checks in Windows 10
Dec 252018

In this post, I will demonstrate two ways to perform Shasum verification on Windows 10 computers. Shasum checks are useful to ensure the integrity of your software downloads, i.e., making sure that the files are not tampered with. When you run a shasum256 or shasum512 check on a file, you Read More

 Posted by at 7:07 pm

How to Simplify User Management in CentOS 7

 Linux  Comments Off on How to Simplify User Management in CentOS 7
Dec 192018
How to Simplify User Management in CentOS 7

Of course, you can add, modify or delete users and groups on a CentOS 7 system via the command line. You can even set the default shell, create Sudo users (by adding the user to the Wheel group), set account expiration and password policies like password aging reminder to change Read More

 Posted by at 3:21 pm

How to Install & Use KVM Virtualization on CentOS 7.5

 Linux  Comments Off on How to Install & Use KVM Virtualization on CentOS 7.5
Dec 042018
How to Install & Use KVM Virtualization on CentOS 7.5

If you want to learn virtualization, there are many avenues. You can use Oracle VirtualBox, VMWare, KVM, Xen, HyperV, etc. Since I was already familiar with other virtualization routes like Oracle VirtualBox, VMWare and HyperV, I decided to take the KVM plunge. KVM stands for Kernel-based Virtual Machine and has Read More

 Posted by at 8:21 pm

Fedora 29 KDE Plasma – First Impressions

 Linux  Comments Off on Fedora 29 KDE Plasma – First Impressions
Nov 022018
Fedora 29 KDE Plasma - First Impressions

Although my go-to Linux distros are CentOS and Linux Mint, I occasionally give Fedora a spin. So when Fedora 29 debuted on October 30, 2018, I decided to take the upgrade out for a spin. Fedora 29 KDE Plasma Fedora is always about choice and, besides the default GNOME 3.3 Read More

 Posted by at 4:25 pm