- Download a release from
https://github.com/runeimp/gzipdate/releases
- For archives or packages:
- For Zip archives (
.zip
) I recommend:unzip gzipdate_1.1.0_windows_x86_64.zip
cd gzipdate_1.1.0_windows_x86_64
copy gzipdate.exe YOUR_PREFERED_PATH
- For Tar-Gzip archives (
.tar.gz
) I recommend:tar xfz gzipdate_1.1.0_freebsd_x86_64.tar.gz
cd gzipdate_1.1.0_freebsd_x86_64
cp gzipdate YOUR_PREFERED_PATH
orln -s gzipdate YOUR_PREFERED_PATH/gzipdate
if your source folder is not going to get deleted later.
- For the Debian packages (
.deb
) I recommend:sudo dpkg -i /path/to/gzipdate_1.1.0_linux_x86_64.deb
to install and upgrade. There are no dependencies so dpkg is fine for this task.
- For the RedHat Package Manager (
.rpm
) I recommend:rpm -i /path/to/gzipdate_1.1.0_linux_x86_64.rpm
to installrpm -U /path/to/gzipdate_1.1.0_linux_x86_64.rpm
to upgrade
- For Zip archives (
- Copy the binary to a directory in your PATH and make sure it is executable for your system. It should be ready to go by default.
On Windows systems you can review your path list by:
- Open a Command Prompt
- Type
ECHO "%PATH:;="&ECHO "%"
On POSIX systems (*BSD, Linux, macOS, Solaris, UNIX, etc.) you can review your path list with
$ echo $PATH | tr : "\n"
/Users/runeimp/.local/bin
/Users/runeimp/bin
/Users/runeimp/dev/lang/go/bin
/opt/local/bin
/usr/local/bin
/usr/local/sbin
/usr/bin
/usr/sbin
/bin
/sbin
If you use the command echo $PATH | tr : "\n"
you should see a list similar to the example with runeimp
replaced with whatever your username is on the system. Directory search priority is from top to bottom when you type in a command.
On any system there are certain paths you should not install apps into. On POSIX systems any path that ends with sbin
means system binary. NEVER manually install apps into an sbin
path. Following is a general order of preference when installing apps on a system for all users:
/opt/local/bin
- This is generally best asopt
paths are intended for option software when it is present./usr/local/opt
- This is a good path to use if it exists in your list and/opt/local/bin
is not available./usr/local/bin
- This is a good path to use if neitheropt
path is available. Almost always available on all POSIX systems./usr/bin
- This is acceptable if none of the above paths are available. Though it should be avoided if possible.- If this seems to be your only option definitely try to install something with your package manager if you haven't already. Doing so should create one of the above paths which are much preferred over
/usr/bin
.
- If this seems to be your only option definitely try to install something with your package manager if you haven't already. Doing so should create one of the above paths which are much preferred over
/bin
- While you could technically install binaries to this path it's a very bad idea. System updates expect full control over this path and may remove or overwrite binaries you install there without warning before hand or notice after the fact.