Install Cisco Packet Tracer in Linux

Source: Internet
Author: User
Tags netacad

Install Cisco Packet Tracer in Linux

 

What is Cisco Packet tracer?

Cisco Packet Tracer is a powerful network simulation tool used for Cisco authentication training. It provides us with a good interface view for various routers and network devices. These simulation devices have many options. Like physical machines, we can use unlimited devices in the network. We can create multiple networks in a single project for professional training. Packet Tracer will provide us with simulated application-layer protocols, such as HTTP, DNS, and routing protocols such as RIP, OSPF, and VPN.

Now, it has released a version containing the command line configuration of the ASA 5505 firewall. Packet Tracer is usually used in Windows but does not have a Linux version. Here, we can download and install Cisco Packet Tracer.

 

New Cisco Packet Tracer version:

The next generation of Cisco Packet Tracer will be Cisco Packet Tracer 6.2, which is still under development.

 

My environment settings:

Host Name: paitop1.unixmen.com

IP Address: 192.168.0.167

Operating System: Ubuntu 14.04 LTS Desktop

  1. # hostname
  2. # ifconfig | grep inet
  3. # lsb_release -a

 

Step 1: first, we need to download Cisco Packet Tracer.

To download Packet Tracer from the official website, we need to hold a token, log on to Cisco NetSpace, and select CCNA> Cisco Packet Tracer from the Offering menu to start downloading. If we don't have a token, we can get it from the following link. I have uploaded it to Droppox.

Site: https://www.netacad.com/

Most people do not download the Packet Tracer token. For this reason, I have uploaded it to dropbox. You can get Packet Tracer from the URL below.

Download Cisco Packet Tracer 6.1.1

 

Step 2: install Java:

To install Packet Tracer, We need to install java. We can use the default repository to install java; or add the PPA repository, and then update the package cache to install java.

Run the following command to install the default jre

  1. # sudo apt-get install default-jre

(Or)

Use the following steps to install Java Run-time and set the environment.

Download Java from official website: download Java

  1. # tar -zxvf jre-8u31-linux-x64.tar.gz
  2. # sudo mkdir -p /usr/lib/jvm
  3. # sudo mv -v jre1.8.0_31 /usr/lib/jvm/
  4. # cd /usr/lib/jvm/
  5. # sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.8.0_31/bin/java" 1
  6. # sudo update-alternatives --set "java" "/usr/lib/jvm/jre1.8.0_31/bin/java"

You can edit the USER parameter file to set the Java environment and add path-related parameters. After we add it to the user parameter file, every user on our machine can use java.

  1. # sudo vi /etc/profile

Add the following entries to the/etc/profile file:

  1. export JAVA_HOME=/usr/lib/jvm/jre1.8.0_31
  2. export PATH=$PATH:/usr/java/jre1.8.0_31/bin

Run the following command to activate the java path immediately.

  1. # . /etc/profile

Check the Java version and environment:

  1. # echo $JAVA_HOME
  2. # java -version

 

Step 3: Enable 32-bit architecture support:

For Packet Tracer, we need some 32-bit packages. To install the 32-bit package, run the following command to install some dependencies.

  1. # sudo dpkg --add-architecture i386
  2. # sudo apt-get update

  1. # sudo apt-get install libc6:i386
  2. # sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
  3. # sudo apt-get install libnss3-1d:i386 libqt4-qt3support:i386 libssl1.0.0:i386 libqtwebkit4:i386 libqt4-scripttools:i386

 

Step 4: unzip and install the software package:

Run the tar command to decompress the downloaded package.

  1. # mv Cisco\ Packet\ Tracer\ 6.1.1\ Linux.tar.gz\?dl\=0 Cisco_Packet_tracer.tar.gz
  2. # tar -zxvf Cisco_Packet_tracer.tar.gz

Navigate to the decompressed directory

  1. # cd PacketTracer611Student

Now it is time to start the installation. The installation process is simple and takes only a few seconds.

  1. # sudo ./install

To use Packet Tracer, we need to set the environment. Cisco has provided the environment script. We need to run the script as a root user to set the environment variables.

  1. # sudo ./set_ptenv.sh

Installation ends. Next, we need to create a desktop icon for Packet Tracer.

Create a desktop icon by creating the following desktop file.

  1. # sudo su
  2. # cd /usr/share/applications
  3. # sudo vim packettracer.desktop

Use the vim editor or your favorite editor to add the following content to the file.

  1. [DesktopEntry]
  2. Name=Packettracer
  3. Comment=Networking
  4. GenericName=CiscoPackettracer
  5. Exec=/opt/packettracer/packettracer
  6. Icon=/usr/share/icons/packettracer.jpeg
  7. StartupNotify=true
  8. Terminal=false
  9. Type=Application

Use wq! To save and exit vim.

 

Step 5: Run Packet Tracer
  1. # sudo packettracer

Now, we have successfully installed Packet Tracer in Linux. The above installation steps apply to all Debian-based Linux distributions.

 

Resources

Home page: Netacad

 

Conclusion:

Here we show how to install Packet Tracer to the Linux release. I hope you have found a way to install your favorite simulator on Linux.

Via: http://www.unixmen.com/installing-cisco-packet-tracer-linux/

Author: babin Translator: GOLinux Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

This article permanently updates links:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.