Difference between revisions of "PacketTracer"

From ArchWiki
Jump to: navigation, search
(The easy way)
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Networking (English)]]
+
[[Category:Networking]]
{{i18n|PacketTracer}}
+
 
{{Stub}}
 
{{Stub}}
  
 +
{{poor writing|Numerous violations of [[Help:Style]] and other formatting problems.}}
 
== The easy way ==
 
== The easy way ==
  
You can just download [http://cisco.netacad.net/cnams/resourcewindow/noncurr/downloadTools/app_files/PacketTracer51_generic.tar.gz the generic version] (when you are logged in) and install it like any other program.  
+
You can just download [http://cisco.netacad.net/cnams/resourcewindow/noncurr/downloadTools/app_files/PacketTracer533_Generic_Fedora.tar.gz the generic version] (when you are logged in) and install it like any other program.  
  
Or you can use [https://aur.archlinux.org AUR] package [https://aur.archlinux.org/packages.php?ID=24003 packettracer]:
+
Or you can use the [[AUR]] package {{AUR|packettracer}}:
  
 
'''Requirements:'''
 
'''Requirements:'''
Line 13: Line 13:
 
You should have installed the package group base-devel before (pacman -S base-devel).
 
You should have installed the package group base-devel before (pacman -S base-devel).
  
* Download PacketTracer532_Generic_Fedora.tar.gz (you can find this package with google)
+
* Download PacketTracer533_Generic_Fedora.tar.gz (you can find this package with google)
 
* Download https://aur.archlinux.org/packages/pa/packettracer/packettracer.tar.gz:
 
* Download https://aur.archlinux.org/packages/pa/packettracer/packettracer.tar.gz:
 
  wget https://aur.archlinux.org/packages/pa/packettracer/packettracer.tar.gz
 
  wget https://aur.archlinux.org/packages/pa/packettracer/packettracer.tar.gz
 
* Extract packettracer.tar.gz and go into that directory:
 
* Extract packettracer.tar.gz and go into that directory:
 
  tar -xzf packettracer.tar.gz
 
  tar -xzf packettracer.tar.gz
  cd packetracer
+
  cd packettracer
* Put PacketTracer532_Generic_Fedora.tar.gz into that directory.
+
* Put PacketTracer533_Generic_Fedora.tar.gz into that directory.
 
* Run makepkg as a normal user:
 
* Run makepkg as a normal user:
 
  makepkg
 
  makepkg
 
* The Package is now build and you could install it for your platform (as root):
 
* The Package is now build and you could install it for your platform (as root):
  pacman -U packettracer-5.3.2-2-i686.pkg.tar.xz
+
  pacman -U packettracer-5.3.3-1-i686.pkg.tar.xz
 
or
 
or
  pacman -U packettracer-5.3.2-2-amd64.pkg.tar.xz
+
  pacman -U packettracer-5.3.3-1-amd64.pkg.tar.xz
 
* Done.
 
* Done.
  

Revision as of 11:59, 3 November 2012

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:PacketTracer#)

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: Numerous violations of Help:Style and other formatting problems. (Discuss in Talk:PacketTracer#)

The easy way

You can just download the generic version (when you are logged in) and install it like any other program.

Or you can use the AUR package packettracerAUR:

Requirements:

You should have installed the package group base-devel before (pacman -S base-devel).

wget https://aur.archlinux.org/packages/pa/packettracer/packettracer.tar.gz
  • Extract packettracer.tar.gz and go into that directory:
tar -xzf packettracer.tar.gz
cd packettracer
  • Put PacketTracer533_Generic_Fedora.tar.gz into that directory.
  • Run makepkg as a normal user:
makepkg
  • The Package is now build and you could install it for your platform (as root):
pacman -U packettracer-5.3.3-1-i686.pkg.tar.xz

or

pacman -U packettracer-5.3.3-1-amd64.pkg.tar.xz
  • Done.

The hard (old) way

PacketTracer is an application from Cisco that allows network simulations and training using Cisco/Linksys products (like routers/switches/wireless hardware).

I used to run it under Wine but the Linux version is now available; unfortunately it is only for Ubuntu/Debian and Fedora/Red Hat.

But of course it can be installed on Arch (what can't you do with Arch? :)) with a little work.

- Run the installer. While it displays the license agreement, DO NOT DO ANYTHING! Go to another terminal and run

find /tmp -iname *.deb

- Grab the .deb file, put it somewhere (like ~/tmp) and issue this command:

bsdtar -xf PacketTracer-5.0-u.i386.deb data.tar.gz

- Decompress the data.tar.gz file, it will create a folder usr within the currently directory, and within usr/local there is a folder 'PacketTracer5'. Move it to /usr/local/.

- To run:

/usr/local/PacketTracer5/bin/PacketTracer5 

Enjoy :)

Looks ugly, but you can fix this and make it grab your system theme by symlinking the Qt libraries in /usr/local/PacketTracer5/lib/ to the ones in /usr/lib, e.g.

libQt3Support.so.4.3.3 -> /usr/lib/libQt3Support.so.4
libQtCore.so.4.3.3 -> /usr/lib/libQtCore.so.4.3.3
libQtGui.so.4.3.3 -> /usr/lib/libQtGui.so.4.3.3
libQtNetwork.so.4.3.3 -> /usr/lib/libQtNetwork.so.4
libQtSql.so.4.3.3 -> /usr/lib/libQtSql.so.4
libQtXml.so.4.3.3 -> /usr/lib/libQtXml.so.4