Linux - Southclaws/sampctl GitHub Wiki
Installing
Debian/Ubuntu/etc
To install sampctl on Debian/Ubuntu style system via the .deb file, run this:
curl https://raw.githubusercontent.com/Southclaws/sampctl/master/scripts/install-deb.sh | sh
Fedora/CentOS/Red Hat/etc
To install sampctl on a Centos/RHEL style system via the .rpm file, run this:
curl https://raw.githubusercontent.com/Southclaws/sampctl/master/scripts/install-rpm.sh | sh
Arch
There is an AUR package available here: https://aur.archlinux.org/packages/sampctl-bin/
Other
I can't create installations for every distribution. If you're using a more
obscure distribution, no worries! All sampctl binaries are statically compiled
so you can simply download the Linux binary for your architecture from
here and drop it into your
preferred bin location.
Details
These scripts simply do the following:
- Queries the GitHub API for the latest release URL
- Runs
wgeton that URL and downloads the .deb file totmp.deb - Runs
sudo dpkg -i tmp.debto install the package
Updating
To update, simply follow the installation instructions again. The old binary will simply be overwritten.