Package Details: packettracer 8.0-1

Git Clone URL: https://aur.archlinux.org/packettracer.git (read-only, click to copy)
Package Base: packettracer
Description: Cisco PacketTracer 8.0 installation package
Upstream URL: https://www.netacad.com/courses/packet-tracer
Licenses: custom
Submitter: Vamp898
Maintainer: runnytu
Last Packager: runnytu
Votes: 118
Popularity: 2.55
First Submitted: 2009-02-18 07:52
Last Updated: 2021-01-30 13:37

Pinned Comments

runnytu commented on 2020-01-04 16:58

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

1 2 3 4 5 6 ... Next › Last »

plasticbomb1986 commented on 2021-02-17 13:56

"I believe that PKGBUILDs must be non-interactive in order to be AUR compliant."

Than its pretty much isnt non interactive, since you have to act to do something for it to work.

rahul_negi21 commented on 2021-02-12 15:31

@lberrymag now its working, THANKS!

lberrymage commented on 2021-02-10 06:20

@rahul_negi21 That's because you're trying to use the 8.0 PKGBUILD to install Packet Tracer 7.3.1. If you download the 8.0 .deb it should work fine.

rahul_negi21 commented on 2021-02-10 06:17

I am facing the same issue with PacketTracer_731_amd64 :

[rahulnegi@rahulnegipc packettracer]$ makepkg -si ==> Making package: packettracer 8.0-1 (Wednesday 10 February 2021 11:19:15 AM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found PacketTracer_731_amd64.deb -> Found packettracer.sh -> Found packettracer.install ==> Validating source files with sha512sums... PacketTracer_731_amd64.deb ... FAILED packettracer.sh ... Passed packettracer.install ... Passed ==> ERROR: One or more files did not pass the validity check!

CodingKoopa commented on 2021-02-02 16:37

Isn't the link in line 15 of the PKGBUILD wrong?

The url field of the PKGBUILD only serves to provide a link to the upstream website (see: https://wiki.archlinux.org/index.php/PKGBUILD#url).

The part of the PKGBUILD that tell makepkg where to get the files from is the source array. It currently references local://PacketTracer..., which is correct - as the pinned comment states, you have to provide the tarball from Netacad yourself.

(I know that you would need to provide a username and password, but that's possible right? curl -u can do it, so...)

I believe that PKGBUILDs must be non-interactive in order to be AUR compliant.

margual56 commented on 2021-02-02 09:25

It gave me an error (of course my first reaction was not "let's go check the AUR's comments). So...

Q: Isn't the link in line 15 of the PKGBUILD wrong? The download link for linux is "https://www.netacad.com/portal/resources/file/a2704df8-10f2-4a04-8d6b-a7c40d38d550", which would download the actual .deb file and install it without errors.

(I know that you would need to provide a username and password, but that's possible right? curl -u can do it, so...)

GraysonPeddie commented on 2021-01-29 16:17

Strange... OH! I forgot to use Markdown code.

packettracer.install:

post_install() {
        xdg-icon-resource forceupdate --theme hicolor &> /dev/null
        xdg-desktop-menu install /usr/share/applications/cisco-pt.desktop
        xdg-desktop-menu install /usr/share/applications/cisco-ptsa.desktop
        update-mime-database /usr/share/mime
        gtk-update-icon-cache --force /usr/share/icons/gnome
}

post_upgrade() {
        post_install
}

post_remove() {
        xdg-icon-resource forceupdate --theme hicolor &> /dev/null
        xdg-desktop-menu uninstall /usr/share/applications/cisco-pt.desktop
        xdg-desktop-menu uninstall /usr/share/applications/cisco-ptsa.desktop
        update-mime-database /usr/share/mime
        gtk-update-icon-cache --force /usr/share/icons/gnome
}

PKGBUILD

...
pkgver=8.0.0
pkgrel=0
...
source=('local://PacketTracer_800_amd64_build212_final.deb'
        'packettracer.sh'
        'packettracer.install')
sha512sums=('3a56a369ae2028fa866ad2e27bbe07d1bee14fd0f16f82790c5f7ad9b7a7c3fc39b4b88d52aae652dccf1a21a3ae0f433e8b586ace4f48dfab7271524c5d163c'
            '09d07ec95712f562bb9217b40a0a04cbb16e42523801b62180050326d67d3592f2ce92444440a10a6e94951c6cf53e27fb360395ef5f3732c71edc51e6a85726'
            'a72fca826331a2c201e04c7eca727c6f73306cf4c26f0f6608896da345780bef248ed2be285e42c8aeacea0f6968ab78a7bc0d2bb8f60c544f5eb47f56dab5bb')

package() {
...
        #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-pt.desktop"
        sed 's/\/opt\/pt/\/opt\/packettracer/' -i "${pkgdir}/usr/share/applications/cisco-ptsa.desktop"
        sed -e "\$aCategories=Application;Network;" -i "${pkgdir}/usr/share/applications/cisco-pt.desktop"
        sed -e "\$aCategories=Application;Network;" -i "${pkgdir}/usr/share/applications/cisco-ptsa.desktop"
        sed -e "\$aNoDisplay=true" -i "${pkgdir}/usr/share/applications/cisco-ptsa.desktop"
...
}
...

Let's see if that works...

GraysonPeddie commented on 2021-01-29 16:12

Cisco has released Packet Tracer 8. This is what I've done so far in PKGBUILD:

pkgver=8.0.0 pkgrel=0 ... source=('local://PacketTracer_800_amd64_build212_final.deb' ... sha512sums=('3a56a369ae2028fa866ad2e27bbe07d1bee14fd0f16f82790c5f7ad9b7a7c3fc39b4b88d52aae652dccf1a21a3ae0f433e8b586ace4f48dfab7271524c5d163c' '09d07ec95712f562bb9217b40a0a04cbb16e42523801b62180050326d67d3592f2ce92444440a10a6e94951c6cf53e27fb360395ef5f3732c71edc51e6a85726' 'a72fca826331a2c201e04c7eca727c6f73306cf4c26f0f6608896da345780bef248ed2be285e42c8aeacea0f6968ab78a7bc0d2bb8f60c544f5eb47f56dab5bb' ... #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-pt.desktop" sed 's/\/opt\/pt/\/opt\/packettracer/' -i "${pkgdir}/usr/share/applications/cisco-ptsa.desktop" sed -e "\$aCategories=Application;Network;" -i "${pkgdir}/usr/share/applications/cisco-pt.desktop" sed -e "\$aCategories=Application;Network;" -i "${pkgdir}/usr/share/applications/cisco-ptsa.desktop" sed -e "\$aNoDisplay=true" -i "${pkgdir}/usr/share/applications/cisco-ptsa.desktop" ...

packettracer.install:

post_install() { xdg-icon-resource forceupdate --theme hicolor &> /dev/null xdg-desktop-menu install /usr/share/applications/cisco-pt.desktop xdg-desktop-menu install /usr/share/applications/cisco-ptsa.desktop update-mime-database /usr/share/mime gtk-update-icon-cache --force /usr/share/icons/gnome }

post_upgrade() { post_install }

post_remove() { xdg-icon-resource forceupdate --theme hicolor &> /dev/null xdg-desktop-menu uninstall /usr/share/applications/cisco-pt.desktop xdg-desktop-menu uninstall /usr/share/applications/cisco-ptsa.desktop update-mime-database /usr/share/mime gtk-update-icon-cache --force /usr/share/icons/gnome }

Can everyone please confirm that the new PKGBUILD and packettracer.install works? Download the .deb file from the Network Academy's website (once you log in, of course) and put it in the packettracer directory where the PKGBUILD is located.

Regards, Grayson Peddie

Emru commented on 2021-01-25 22:51

sevbesau, copy deb file to directory where PKGBUILD sits, run ar x PacketTracer_731_amd64.deb and then run makepkg

marcelo0097 commented on 2021-01-19 04:19

Works fine but the only options for cli font are courier and courier new. is it just me?