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: 146
Popularity: 1.13
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

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

HurricanePootis commented on 2024-05-19 17:18 (UTC)

Hello,

There are two problems with this packages right now. First, you are not really supposed to install binaries into /opt/, as denoted by namcap. Secondly, your license() is not SPDX compliant. For this custom CISCO EULA, you would need LicenseRef-Cisco-EULA.

Here is a patch file that changes the licenses and also makes it more compliant with a normal package:

diff --git a/PKGBUILD b/PKGBUILD
index a213397..5ff6e5c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ arch=( 'x86_64' )
 depends=('openssl>=1.0' 'dbus' 'icu' 'glib2' 'libxml2' 'libjpeg-turbo' 'nss' 'libxss' 'java-runtime>=1.7.0' 'qt5-multimedia' 'qt5-webengine' 'qt5-svg' 'qt5-networkauth' 'qt5-websockets' 'qt5-script' 'qt5-speech')
 options=('!strip' '!emptydirs')
 url="https://www.netacad.com/courses/packet-tracer"
-license=('custom')
+license=('LicenseRef-Cisco-EULA')

 source=('local://CiscoPacketTracer822_amd64_signed.deb'
    'packettracer.sh'
@@ -28,7 +28,8 @@ package() {

    tar xf data.tar.xz -C "${pkgdir}"
    chown -R 0:0 "${pkgdir}"
-   mv "${pkgdir}/opt/pt/" "${pkgdir}/opt/packettracer/"
+   mkdir -p "${pkgdir}/usr/lib/"
+   mv "${pkgdir}/opt/pt/" "${pkgdir}/usr/lib/packettracer/"
    mkdir -p "${pkgdir}/usr/share/applications/"
    mv "${srcdir}/cisco-pt.desktop" "${pkgdir}/usr/share/applications/cisco-pt.desktop"
    mv "${srcdir}/cisco-ptsa.desktop" "${pkgdir}/usr/share/applications/cisco-ptsa.desktop"
@@ -37,21 +38,21 @@ package() {
    mkdir -p "${pkgdir}/usr/bin/"

    find "${pkgdir}" -type d -exec chmod 755 {} \;
-   find "${pkgdir}/opt/packettracer/help/" -type d -exec chmod 777 {} \;
-   find "${pkgdir}/opt/packettracer/saves/" -type d -exec chmod 555 {} \;
-   find "${pkgdir}/opt/packettracer/art/html/network_controller/" -type d -exec chmod 775 {} \;
-   find "${pkgdir}/opt/packettracer/art/RackView/CablePegboard/" -type d -exec chmod 775 {} \;
-   find "${pkgdir}/opt/packettracer/bin/xcbglintegrations/" -type d -exec chmod 775 {} \;
-   find "${pkgdir}/opt/packettracer/help/default/NetconRestAPI/" -type d -exec chmod 775 {} \;
+   find "${pkgdir}/usr/lib/packettracer/help/" -type d -exec chmod 777 {} \;
+   find "${pkgdir}/usr/lib/packettracer/saves/" -type d -exec chmod 555 {} \;
+   find "${pkgdir}/usr/lib/packettracer/art/html/network_controller/" -type d -exec chmod 775 {} \;
+   find "${pkgdir}/usr/lib/packettracer/art/RackView/CablePegboard/" -type d -exec chmod 775 {} \;
+   find "${pkgdir}/usr/lib/packettracer/bin/xcbglintegrations/" -type d -exec chmod 775 {} \;
+   find "${pkgdir}/usr/lib/packettracer/help/default/NetconRestAPI/" -type d -exec chmod 775 {} \;

-   ln -s /opt/packettracer/packettracer "${pkgdir}/usr/bin/packettracer"
+   ln -s /usr/lib/packettracer/packettracer "${pkgdir}/usr/bin/packettracer"

-   ln -s /usr/lib/libdouble-conversion.so "${pkgdir}/opt/packettracer/bin/libdouble-conversion.so.1"
+   ln -s /usr/lib/libdouble-conversion.so "${pkgdir}/usr/lib/packettracer/bin/libdouble-conversion.so.1"

-   sed -i 's|/opt/pt|/opt/packettracer|' "${pkgdir}/opt/packettracer/linguist" "${pkgdir}/opt/packettracer/packettracer"
+   sed -i 's|/opt/pt|/usr/lib/packettracer|' "${pkgdir}/usr/lib/packettracer/linguist" "${pkgdir}/usr/lib/packettracer/packettracer"

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

-   install -D -m644 "${pkgdir}/opt/packettracer/help/default/copyrights.htm" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+   install -D -m644 "${pkgdir}/usr/lib/packettracer/help/default/copyrights.htm" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"

 }

moravak commented on 2024-05-03 16:01 (UTC)

Hey, I've installed the package but i keep getting this error when trying to run it

❯ packettracer
Starting Packet Tracer 8.2.2
/usr/bin/packettracer: line 8: 87476 Aborted                 (core dumped) ./PacketTracer "$@" > /dev/null 2>&1

mar04 commented on 2024-03-15 22:16 (UTC)

Please move the mime icon files, they are not detected by KDE:

mkdir -p "${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes"
mv "${pkgdir}/usr/share/icons/gnome/48x48/mimetypes/pka.png" "${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes/application-x-pka.png"
mv "${pkgdir}/usr/share/icons/gnome/48x48/mimetypes/pks.png" "${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes/application-x-pks.png"
mv "${pkgdir}/usr/share/icons/gnome/48x48/mimetypes/pksz.png" "${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes/application-x-pksz.png"
mv "${pkgdir}/usr/share/icons/gnome/48x48/mimetypes/pkt.png" "${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes/application-x-pkt.png"
mv "${pkgdir}/usr/share/icons/gnome/48x48/mimetypes/pkz.png" "${pkgdir}/usr/share/icons/hicolor/48x48/mimetypes/application-x-pkz.png"
rmdir -p "${pkgdir}/usr/share/icons/gnome/48x48/mimetypes"

P0rc0R0550 commented on 2024-03-11 22:01 (UTC) (edited on 2024-03-11 22:03 (UTC) by P0rc0R0550)

If this can help anyone to simplify the installation and the maintenance:

  1. we usually download the deb package from the browser which saves the file in ~/Downloads

  2. Cisco provides two places to download the package and names them in two different ways

  3. the downloaded package should be moved to the PKGBUILD folder, but we always forget where that is

this is the link to the PKGBUILD.

khing0_0 commented on 2024-03-10 02:37 (UTC) (edited on 2024-03-10 05:24 (UTC) by khing0_0)

Hi! Needed help on the PKGBUILD. How can I possibly install this?

https://skillsforall.com/resources/lab-downloads

The source .deb has a new package name Packet_Tracer822_amd64_signed.deb

UPDATE: Successfully built locally.

laksith19 commented on 2024-02-29 07:37 (UTC)

The name of the deb file provided by cisco has changed again and they've also moved the resources to a new webpage under skills for all. It would make more sense to have a fixed name in the PKGBUILD and have people rename it in the wiki instructions.

dead_donkey commented on 2023-09-25 02:44 (UTC)

@NotYou It's probably illegal to distribute it. Build scripts like this are all above board, but Cisco seems to restrict access to the Packet Tracer executable to people who have access to NetAcad. Of course, there's a license verification even after you install the program, but Cisco do what Cisco do.

NotYou commented on 2023-09-24 09:16 (UTC) (edited on 2023-09-24 09:18 (UTC) by NotYou)

ERROR: CiscoPacketTracer_821_Ubuntu_64bit.deb was not found in the build directory and is not a URL

why do we need to download it locally first? Add the executable to a github repo or something and then just download it from there.

zak commented on 2023-07-25 00:41 (UTC) (edited on 2023-07-25 00:42 (UTC) by zak)

I know how to workaround my problem:

  1. I downloaded the Ubuntu package from Cisco's Resource Hub.
  2. Move the .deb file you've just downloaded to where the PKGBUILD is.
  3. In line 18 change (where the source variable is) "CiscoPacketTracer_821_Ubuntu_64bit.deb" to "Packet_Tracer821_amd64_signed.deb".
  4. Run the makepkg command and you'll have Packet Tracer installed.