Package Details: packettracer 8.2.2-1

Git Clone URL: https://aur.archlinux.org/packettracer.git (read-only, click to copy)
Package Base: packettracer
Description: A cross-platform visual simulation tool designed by Cisco Systems that allows users to create network topologies and imitate modern computer network
Upstream URL: https://www.netacad.com/courses/packet-tracer
Licenses: custom
Submitter: Vamp898
Maintainer: runnytu
Last Packager: runnytu
Votes: 147
Popularity: 0.83
First Submitted: 2009-02-18 07:52 (UTC)
Last Updated: 2024-03-09 22:29 (UTC)

Dependencies (16)

Required by (0)

Sources (4)

Pinned Comments

runnytu commented on 2020-01-04 16:58 (UTC) (edited on 2020-01-04 16:59 (UTC) by runnytu)

To install all versions of packettracer except 7.2.2, follow this guidelines: 1. Download the snapshot from this AUR. 2. Tar -zxf the packettracer.tar.gz snapshot (it creates the dir packettracer/ with the PKGBUILD on it). 3. Download the latest packettracer tarball from your Netacad account and copy it into the packettracer/ dir. 4. Create the package with the command makepkg (it creates a packettracer.pkg.tar.xz). 5. Install the package with either makepkg -i or sudo pacman -U packettracer.pkg.tar.xz.

Packettracer 7.2.2 are auto installable via run file, download it from netacad webpage and run it, you don't need this package.

Latest Comments

« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 47 Next › Last »

<deleted-account> commented on 2020-02-21 18:31 (UTC)

Starting with version 7.2.2 Packet Tracer no longer requires Java. please remove it from deps

https://wiki.ihitc.net/w/Cisco_Packet_Tracer_Setup_Guide

ignis-divine commented on 2020-02-04 20:42 (UTC) (edited on 2020-02-04 20:48 (UTC) by ignis-divine)

Buenas tardes a todos, espero me puedan ayudar... por alguna razon no me deja instalar packet tracer en manjaro, modifique el archivo PKGBUILD de esta manera:

Maintainer: Runnytu < runnytu at gmail dot com >
OldMaintainer: Alexey Kharlamov der@2-47.ru
Contributor: David Dufberg Tøttrup <david at dufberg dot se>
Contributor: Jordi De Groof <jordi(dot)degroof(at)gmail(dot)com>
Contributor: pyther pyther@pyther.net
Contributor: z3ntu WEI16416@spengergasse.at

pkgname=packettracer pkgver=7.3.0 pkgrel=2 pkgdesc="PacketTracer_730_amd64" arch=( 'x86_64' ) depends=('openssl-1.0' 'libpng12' 'icu') options=('!strip' '!emptydirs') install=${pkgname}.install license=('custom')

source=('file:///home/juan/Descargas/PacketTracer_730_amd64.deb' 'packettracer.sh') sha512sums=('b06275775703791d56618d99fa7daf29a8a5c82dc17b66d12a9b29927f0a97deb082a757c0cdf72c2345ac32449d0506dad35237ac9935db2e86982e115f1ae1' '156579687c5eb63ef2065b28625d9faeee96d2224248c6883a92264f5c0e800c5ab9206ad4c6afebb9dcdbe6b880a9a24caf96044a7c97df743473933fcd2c4d')

package() { tar xf data.tar.xz -C "${pkgdir}" mv ${pkgdir}/opt/pt/ ${pkgdir}/opt/packettracer/

mkdir -p "${pkgdir}/usr/bin/"
ln -s ${pkgdir}/opt/packettracer "${pkgdir}/usr/bin/packettracer"

sed 's/\/opt\/pt/\/opt\/packettracer/' -i "${pkgdir}/opt/packettracer/linguist"
sed 's/\/opt\/pt/\/opt\/packettracer/' -i "${pkgdir}/opt/packettracer/packettracer"
sed 's/\/opt\/pt/\/opt\/packettracer/' -i "${pkgdir}/opt/packettracer/bin/Cisco-PacketTracer.desktop"
sed 's/\/opt\/pt/\/opt\/packettracer/' -i "${pkgdir}/usr/share/applications/cisco-pt7.desktop"
rm "${pkgdir}/usr/share/applications/cisco-ptsa7.desktop"
sed -e "\$aCategories=Application;Network;" -i "${pkgdir}/usr/share/applications/cisco-pt7.desktop"

install -D -m755 "${srcdir}/packettracer.sh" "${pkgdir}/etc/profile.d/packettracer.sh"

install -D -m644 "${pkgdir}/opt/packettracer/saves/Switch/IE_2000/upgrade_downgrade_license_on_ie2000.pkt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 "${pkgdir}/opt/packettracer/help/default/copyrights.htm" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
install -D -m644 "${pkgdir}/opt/packettracer/eula730.txt" "${pkgdir}/usr/share/licenses/${pkgname}/EULA"

}

Resulta que el archivo original que esta actualmente salen mas errores pero asi como lo tengo solo me lanza estos errores:

Construyendo packettracer... ==> Creando el paquete: packettracer 7.3.0-2 (mar 04 feb 2020 14:41:59 CST) ==> Comprobando dependencias mientras se ejecuta... ==> Comprobando dependencias mientras se compila... ==> Recibiendo las fuentes... -> PacketTracer_730_amd64.deb ha sido encontrado -> packettracer.sh ha sido encontrado ==> Validando los archivos source con sha512sums... PacketTracer_730_amd64.deb ... Aprobado packettracer.sh ... Aprobado ==> Eliminando el directorio $srcdir/... ==> Extrayendo las fuentes... ==> Eliminando el directorio $pkgdir/... ==> Entrando en entorno fakeroot... ==> Iniciando package()... tar: data.tar.xz: No se puede efectuar open: No existe el fichero o el directorio tar: Error is not recoverable: exiting now ==> ERROR: Se produjo un fallo en package(). Cancelando...

gracias a todos!

Rairden commented on 2020-01-29 02:37 (UTC) (edited on 2020-01-29 02:41 (UTC) by Rairden)

I'm on manjaro 18.1.5 with the 4.19 LTS kernel.

You have to manually install this. Because in the PKGBUILD file he has this line to download the binary .deb file yourself: source=('local://PacketTracer_730_amd64.deb' 'packettracer.sh')

You can either download it from some random website, or make an account on netacad.com. I got it from official site, and friend got it from some other source. Ours both had the same hash value, which also matches the sha512sum in the PKGBUILD here:
sha256sum PacketTracer_730_amd64.deb
67d8acee7e101d99e12e47c74bc8ed56c28a596adaa2f3032593fbe0bb83198c PacketTracer_730_amd64.deb

What I did was run "yay -S packettracer" which puts all the necessary files in "/home/$USER/.cache/yay/packettracer/". It gives an error:
ERROR: PacketTracer_730_amd64.deb was not found in the build directory and is not a URL.

Delete the packettracer folder, then set it up manually.
cd /home/$USER/.cache/yay && git clone https://aur.archlinux.org/packettracer.git
copy the "PacketTracer_730_amd64.deb" file into this packettracer folder. And now run "yay -S packettracer" and it installs without any errors cuz it finds the .deb file at source=('local://PacketTracer_730_amd64.deb'......).

When you run "yay -S packettracer", it asks: ==> Packages to cleanBuild?
Hit 'n' for no. If you hit yes, it deletes the entire git repo dir we just set up.

dkazantzas commented on 2020-01-28 10:55 (UTC)

Why don't you put a link to the deb file instead of leaving it as a responsibility of the user?

ehwuts commented on 2020-01-28 06:54 (UTC)

This package is missing several dependencies to covers PacketTracer7's needed libraries. Not sure what the specific requirements are, but to get what I was missing I installed qt5-svg qt5-webkit qt5-script qt5-multimedia qt5-webengine.

eduardosm commented on 2020-01-25 19:45 (UTC)

The symbolic link created in the install file should be done in the PKGBUILD.

waranty92 commented on 2020-01-13 11:25 (UTC)

I get this message when trying to start exam on Plasma. Could not find any application or handler for pttp://launchvdsptsa... I think there should be .desktop file that handles these links.

Namarrgon commented on 2020-01-08 16:42 (UTC) (edited on 2020-01-08 17:05 (UTC) by Namarrgon)

The .install script in this package is an abomination and should never have been uploaded to the internet as is.

  • Don't use sudo in .install scripts, the sudo package is potentially not even installed on the target system and the scripts run under UID 0 anyway.

  • The remove_pt() in pre_install() stuff belongs either in the PKGBUILD or should be removed since it's not used anywhere in the script. Why should these files not be tracked by pacman?

  • Updating the various icon/desktop/mime DBs and caches should be left to the libalpm hooks that provide these binaries, it doesn't belong here.

  • Editing files that or owned by other packages is a big NO! NO!, you do not simply mangle /etc/profile, this has to go away. We have /etc/profile.d for this exact reason or alternatively communicate to the user that they have to set them manually in their configs.

deemon commented on 2020-01-04 21:17 (UTC) (edited on 2020-01-04 22:02 (UTC) by deemon)

TLDR: For getting it to work in Manjaro I had to: sudo ln -s /usr/lib/libdouble-conversion.so /opt/packettracer/bin/libdouble-conversion.so.1

.

While installing the package, I get those warnings:

warning: directory permissions differ on /opt/packettracer/help/

filesystem: 755 package: 777

warning: directory permissions differ on /opt/packettracer/saves/

filesystem: 755 package: 555

But it seems to install fine, but it does not run in my Manjaro by default.

[deemon@Zen packettracer]$ /opt/packettracer/packettracer

Starting Packet Tracer 7.3.0

[deemon@Zen packettracer]$

...aaand nothing happens.

.

.

OI! got it working... while analyzing the contents of bash script /opt/packettracer/packettracer (default installed executable for this program) I tried to run the command with the given variables...

[deemon@Zen packettracer]$ LD_LIBRARY_PATH=/opt/packettracer/bin PTDIR=/opt/packettracer /opt/packettracer/bin/PacketTracer7

/opt/packettracer/bin/PacketTracer7: error while loading shared libraries: libdouble-conversion.so.1: cannot open shared object file: No such file or directory

and then tried to run it WITHOUT the LD_LIBRARY_PATH crap and it started working!!! :-)

[deemon@Zen packettracer]$ /opt/packettracer/bin/PacketTracer7

and it WORKS! :)

and or creating symbolic link for the library works also: [deemon@Zen bin]$ sudo ln -s /usr/lib/libdouble-conversion.so /opt/packettracer/bin/libdouble-conversion.so.1