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

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

niz commented on 2024-09-12 15:54 (UTC)

could you edit the the source name from local://CiscoPacketTracer822_amd64_signed.deb to local://local://Packet_Tracer822_amd64_signed.deb because that is the name of the file form netcad

m0r4a commented on 2024-09-07 22:47 (UTC) (edited on 2024-09-07 22:47 (UTC) by m0r4a)

A small tutorial for those who are not familiar with PKGs

  1. Download the original .deb that cisco gives you.

  2. Clone this repository

git clone https://aur.archlinux.org/packettracer.git
  1. Move the .deb that you installed
mv <location of your .dev> packettracer
  1. Go into the directory and build the pkg
cd packettracer
makepkg -si

Note: I got an error with the package name, you can just rename it and it works.

Another note: This is the first time I do something related to PKGBUILDs, if I did some malpractice or it is badly explained delete the comment please.

dead_donkey commented on 2024-09-07 06:06 (UTC)

@khing0_0 If you can download from the official site, that's always better. If you want to download from this site... I think using the SHA256 checksum to verify is a secure-ish way of doing things, because there aren't supposed to be any hash collisions in that algorithm yet. But it's worth remembering that even if that site does redistribute bona fide Packet Tracer downloads, the program still requires a NetAcad/SkillsForAll login at runtime before it will let you do anything.

khing0_0 commented on 2024-09-02 06:06 (UTC)

Is it bad to fetch from this 3rd party site?

https://www.computernetworkingnotes.com/ccna-study-guide/download-packet-tracer-for-windows-and-linux.html

then using the checksum from Original Cisco Site

dead_donkey commented on 2024-08-15 14:52 (UTC)

@prRoumanet You are correct, you need to download the .deb manually from Cisco NetAcad or SkillsForAll (you probably need to sign in first) and place it in the same folder as the PKGBUILD. Then, as long as the SHA512 matches, the build will succeed.

Basically, the PKGBUILD was designed to use a local .deb file; it is probably illegal to distribute it, so they make people download it manually.

prRoumanet commented on 2024-08-13 15:59 (UTC)

I can't build packettracer 8.2.2-1

==> Récupération des sources…
==> ERREUR : CiscoPacketTracer822_amd64_signed.deb n’a pas été trouvé dans le répertoire de travail et n’est pas un URL.
Erreur: Impossible de construire packettracer

If I download .deb manually, how should I modify PKGBUILD to use my local file?

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.