@xiretza You right, the big problem is that we need to manually compile
I try to make the installation automatic with all other packages on a yay -Syu
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: | 149 |
Popularity: | 2.11 |
First Submitted: | 2009-02-18 07:52 (UTC) |
Last Updated: | 2024-03-09 22:29 (UTC) |
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 47 Next › Last »
@xiretza You right, the big problem is that we need to manually compile
I try to make the installation automatic with all other packages on a yay -Syu
@bkb: what exactly would your change even be? Since PKGBUILDs can't be interactive, you'd have to change it to add the URL before you build anyway. If you're doing that, just change source=()
, which is the one supported way to download sources.
@runnytu sure but my method adds nothing forbidden on the pkgbuild, so why not implementing it?
good job! Thanks !
I Changed the old script to a bash one, @bkb, as another user already said to you, it's no problem of "afraid" or "more advised" users, it's because cisco forbids all redistribute of packettracer package without their consent, it's already warned in the wiki: https://wiki.archlinux.org/index.php/PacketTracer#Disclaimer
@bkb, I don't see where is the issue with the download, you can modify the PKGBUILD yourself if you don't want to download it manually on the official website.
I have an idea, the script ask for an URL, if one is given he tries to download and work from it. If none he uses the traditional method
It doesn't changes anything appart adding a wget
and for us it changes everything because for now we had to do many steps manually, but with that we only have to copy/paste an URL and let the rest be
The users who are afraid to use third party sources will use the manual method downloading from NetAcad, and the user more advised will use their third party URL who authorize non authenticated download and it will be WAY faster
And I think it adds nothing illegal to put a wget $askedURL
, no illegal material, we put ourselves the copyrighted part
@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).
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.
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.