@ruunytu, I'm starting to understand now. And you are totally right, there should be a /etc/profile.d script according to the .deb package. But your packettracer.sh script is not a bash or sh script (i guess you must be running another shell). It should be corrected. There is a postint script in the .deb package of 7.3.0 like you said exporting PT7HOME (env var needed for exam from what I've read) and exporting QT_DEVICE_PIXEL_RATIO (this var is marked as deprecated in favor QT_AUTO_SCREEN_SCALE_FACTOR related to qtdiag-qt5 hence the version check in the script I guess).
Search Criteria
Package Details: packettracer 8.2.2-1
Package Actions
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: | LicenseRef-Cisco-EULA |
Submitter: | Vamp898 |
Maintainer: | runnytu |
Last Packager: | runnytu |
Votes: | 151 |
Popularity: | 1.02 |
First Submitted: | 2009-02-18 07:52 (UTC) |
Last Updated: | 2025-05-04 15:40 (UTC) |
Dependencies (16)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- icu (icu-gitAUR)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jre11AUR, jre17AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre8AUR, jdk8AUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jdk24-graalvm-ee-binAUR, jdk8-perfAUR, zing-21-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, java-openjdk-binAUR, jdk24-graalvm-ce-binAUR, jreAUR, jdkAUR, jre-ltsAUR, jdk-ltsAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-dragonwell-extendedAUR, liberica-jdk-11-binAUR, zulu-17-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-21-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, zulu-21-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zing-8-binAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, zulu-24-binAUR, jdk23-temurinAUR, liberica-nik-23-full-binAUR, zing-23-binAUR, jre22-openjdkAUR, jdk22-openjdkAUR, jre23-openjdkAUR, jdk23-openjdkAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, zulu-jre-fx-binAUR, jdk8-temurinAUR, jdk24-graalvm-binAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk21-jetbrains-binAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jre-jetbrainsAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libxml2-legacy
- libxss
- nss (nss-hgAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- qt5-multimedia
- qt5-networkauth (qt5-networkauth-gitAUR)
- qt5-script (qt5-script-gitAUR)
- qt5-speech
- qt5-svg (qt5-svg-gitAUR)
- qt5-webengine
- qt5-websockets (qt5-websockets-gitAUR)
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 48 Next › Last »
koatao commented on 2020-06-14 22:36 (UTC) (edited on 2020-06-14 22:37 (UTC) by koatao)
xiretza commented on 2020-06-14 11:50 (UTC)
It is not a valid shell script and cannot possibly belong in /etc/profile.d
. Try running sh -c 'source /etc/profile.d/packettracer.sh'
and tell me it doesn't error.
runnytu commented on 2020-06-14 11:25 (UTC)
@koatao, CISCO it's providing it in the official .deb package, because it's needed for open packettracer from all directories (export PT7HOME), and if you have high DPI on your system (QT_VERSION_CHECK), I tested on my system without any issues since the first time, and yes, it's correct place is profile.d.
Check that you have all dependencies and the whole base package of archlinux installed.
koatao commented on 2020-06-14 07:01 (UTC) (edited on 2020-06-14 07:11 (UTC) by koatao)
Hi, @ElNinijo, the problem is, the script is not a bash script. Here what I understood about what the script does: export PT7HOME (/opt/packettracer) as environnement variable. Depending on the version of Qt (QT_VERSION > QT_VERSION_CHECK(5,5,0)), export QT_AUTO_SCALE_FACTOR (= 1) if version of Qt is superior to 5.5, else export QT_DEVICE_PIXEL_AUTO (= auto). @ruunyti, how did you test this script ? Why do we need it ? I deleted it, and packettracer is working fine without it (only got one bug yet). And is it really a good idea to put this script in profile.d if it is only needed to packettracer? (meaning it will be sourced for every instances of Bash).
ElNinijo commented on 2020-06-08 11:57 (UTC)
-bash: /etc/profile.d/packettracer.sh: line 4: syntax error near unexpected token ('
-bash: /etc/profile.d/packettracer.sh: line 4:
if QT_VERSION > QT_VERSION_CHECK(5, 5, 0)'
after update to the newest version i receive these info, where is porblem?
runnytu commented on 2020-05-27 16:37 (UTC)
@horaciohs, Yes, it's necessary, and no errors are shown on my terminal or log.
xiretza commented on 2020-05-26 15:58 (UTC)
Nothing is being compiled anywhere. Speaking of which, shouldn't this really be a -bin package?
bkb commented on 2020-05-26 15:32 (UTC)
Neither make it automatic, in both case you have to manually compile
xiretza commented on 2020-05-26 13:47 (UTC)
@bkb: you can change the source=
yourself if you want to download the binaries from a non-official location. Or, as you say, just install it from Cisco and lose all the advantages a package manager gives you.
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.