Repository navigation
Home
There are several different ways to install the packet software. The best methods are listed first; use the first of these methods that fits your environment and needs.
If you're running on a Windows system and you have administrative access, the easiest and most secure installation is with the SCCo Combined Installer. This installs the packet software in C:\PackItForms. For GUI use, create a desktop shortcut pointing to C:\PackItForms\pifo.exe. For command line use, put C:\PackItForms on your executable path and run the packet command.
Note that the SCCo Combined Installer is not updated as frequently as the packet software. If you need a specific recent change to the packet software, check to be sure that the version in the SCCo Combined Installer has the change you need. If not, use one of the other installation methods below.
This method works on Linux and Mac OS, and is secure and convenient. First, install the Go programming language, version 1.26.0 or later, if your system does not already have it. On Linux, this is generally available in your distribution's package manager, or you can download and unpack the archive. On Mac, if you use Homebrew, you can run brew install go; otherwise, download and run the installer.
Then, open a command prompt and run the following commands.
GOEXPERIMENT=jsonv2 go install github.com/rothskeller/packet/v4/cmd/packet@latest
$HOME/go/bin/packet forms install https://scc-ares-races.org/form-bundles/4.0.9/SCCoPIFO.forms
The first command downloads the source code and builds the software, installing it into $HOME/go/bin. Note that the software it builds does not have any form definitions embedded. The second command downloads and installs the SCCo-standard forms.
For command line use, add $HOME/go/bin to your executable path and use the packet command (starting with packet help for an overview). For GUI use, run $HOME/go/bin/packet gui.
(Note: this method works for Windows also, if you make appropriate changes to the command syntax. It builds the command line executable. To build the GUI executable, add -ldflags -H=windowsgui to the go install command line.)
This method is primarily for use on systems where you can't run regular installers (e.g., don't have administrative rights). Go to the Releases page and download the proper executable for your operating system. Place the executable on your system (or on a USB thumb drive or similar) and run it from there. On Windows, there are two executables: console and gui. The first one is for command line use and the second one is for GUI use.
The problem with this method is that it is insecure. Both Windows and Mac systems will initially refuse to run the executable. You will have to jump through various hoops to reassure it that you are willing to take the risk. I'm not including instructions here because, frankly, this is a really bad habit to get into. Don't use the pre-built binaries if any of the other options will work for you.
Use this method if you want to experiment with local code changes or forms changes, or if you need to build an executable with forms embedded (e.g., for use on a system that can't reach the Internet to download them). You will need the Go programming language (see above) and Git. Choose a place for the source code and run these commands:
git clone -b v4 https://github.com/rothskeller/packet
cd packet
git submodule update --init
GOEXPERIMENT=jsonv2 go install -tags sccopifo ./cmd/packet
As above, for command line use, add $HOME/go/bin to your executable path and use the packet command (starting with packet help for an overview). For GUI use, run $HOME/go/bin/packet gui.