summaryrefslogtreecommitdiffhomepage
path: root/scripts/installer.sh
AgeCommit message (Collapse)AuthorFilesLines
2026-03-02scripts/installer.sh: handle KDE Linux (#18861)Erisa A1-0/+5
Display a message pointing to KDE Linux documentation on installing Tailscale Fixes #18306 Signed-off-by: Erisa A <erisa@tailscale.com>
2026-01-23all: remove AUTHORS file and references to itWill Norris1-1/+1
This file was never truly necessary and has never actually been used in the history of Tailscale's open source releases. A Brief History of AUTHORS files --- The AUTHORS file was a pattern developed at Google, originally for Chromium, then adopted by Go and a bunch of other projects. The problem was that Chromium originally had a copyright line only recognizing Google as the copyright holder. Because Google (and most open source projects) do not require copyright assignemnt for contributions, each contributor maintains their copyright. Some large corporate contributors then tried to add their own name to the copyright line in the LICENSE file or in file headers. This quickly becomes unwieldy, and puts a tremendous burden on anyone building on top of Chromium, since the license requires that they keep all copyright lines intact. The compromise was to create an AUTHORS file that would list all of the copyright holders. The LICENSE file and source file headers would then include that list by reference, listing the copyright holder as "The Chromium Authors". This also become cumbersome to simply keep the file up to date with a high rate of new contributors. Plus it's not always obvious who the copyright holder is. Sometimes it is the individual making the contribution, but many times it may be their employer. There is no way for the proejct maintainer to know. Eventually, Google changed their policy to no longer recommend trying to keep the AUTHORS file up to date proactively, and instead to only add to it when requested: https://opensource.google/docs/releasing/authors. They are also clear that: > Adding contributors to the AUTHORS file is entirely within the > project's discretion and has no implications for copyright ownership. It was primarily added to appease a small number of large contributors that insisted that they be recognized as copyright holders (which was entirely their right to do). But it's not truly necessary, and not even the most accurate way of identifying contributors and/or copyright holders. In practice, we've never added anyone to our AUTHORS file. It only lists Tailscale, so it's not really serving any purpose. It also causes confusion because Tailscalars put the "Tailscale Inc & AUTHORS" header in other open source repos which don't actually have an AUTHORS file, so it's ambiguous what that means. Instead, we just acknowledge that the contributors to Tailscale (whoever they are) are copyright holders for their individual contributions. We also have the benefit of using the DCO (developercertificate.org) which provides some additional certification of their right to make the contribution. The source file changes were purely mechanical with: git ls-files | xargs sed -i -e 's/\(Tailscale Inc &\) AUTHORS/\1 contributors/g' Updates #cleanup Change-Id: Ia101a4a3005adb9118051b3416f5a64a4a45987d Signed-off-by: Will Norris <will@tailscale.com>
2026-01-23scripts/installer.sh: allow running dnf5 install script twice (#18492)Francois Marier1-1/+1
`dnf config-manager addrepo` will fail if the Tailscale repo is already installed. Without the --overwrite flag, the installer will error out instead of succeeding like with dnf3. Fixes #18491 Signed-off-by: Francois Marier <francois@fmarier.org>
2026-01-05scripts/installer.sh: add ultramarine to supported OS listVince Liem1-1/+1
2025-12-08scripts/installer.sh: add SteamOS handling (#18159)Erisa A1-0/+5
Fixes #12943 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-12-02scripts/installer: add TAILSCALE_VERSION environment variable (#18014)Raj Singh1-11/+73
Add support for pinning specific Tailscale versions during installation via the TAILSCALE_VERSION environment variable. Example usage: curl -fsSL https://tailscale.com/install.sh | TAILSCALE_VERSION=1.88.4 sh Fixes #17776 Signed-off-by: Raj Singh <raj@tailscale.com>
2025-11-14scripts/installer.sh: compare major versions numerically (#17904)Simon Law1-19/+20
Most /etc/os-release files set the VERSION_ID to a `MAJOR.MINOR` string, but we were trying to compare this numerically against a major version number. I can only assume that Linux Mint used switched from a plain integer, since shells only do integer comparisons. This patch extracts a VERSION_MAJOR from the VERSION_ID using parameter expansion and unifies all the other ad-hoc comparisons to use it. Fixes #15841 Signed-off-by: Simon Law <sfllaw@tailscale.com> Co-authored-by: Xavier <xhienne@users.noreply.github.com>
2025-09-18scripts/installer.sh: add Siemens Industrial OS (#17185)Erisa A1-0/+11
Fixes #17179 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-08-06scripts/installer.sh: add FreeBSD 15 (#16741)TheBigBear1-1/+2
* Update installer.sh add FreeBSD ver 15 this should fix the issue on https://github.com/tailscale/tailscale/issues/16740 Signed-off-by: TheBigBear <471105+TheBigBear@users.noreply.github.com> * scripts/installer.sh: small indentation change Signed-off-by: Erisa A <erisa@tailscale.com> Fixes #16740 --------- Signed-off-by: TheBigBear <471105+TheBigBear@users.noreply.github.com> Signed-off-by: Erisa A <erisa@tailscale.com> Co-authored-by: Erisa A <erisa@tailscale.com>
2025-08-05scripts/installer.sh: add bazzite handling (#16779)Erisa A1-0/+8
Fixes #14540 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-04-14scripts/installer.sh: add Miracle Linux as a RHEL derivative (#15671)Erisa A1-1/+4
Fixes #15669 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-03-28install.sh - fix DNF 5 detection on all locales (#15325)Raúl Blanco1-1/+1
Signed-off-by: Raúl Blanco <rbr007.movil@gmail.com>
2025-03-02scripts/installer.sh: explicitly chmod 0644 installed files (#15171)Irbe Krumina1-8/+3
Updates tailscale/tailscale#15133 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2025-02-26scripts/installer.sh: ensure default umask for the installer (#15139)Irbe Krumina1-0/+8
Ensures default Linux umask 022 for the installer script to make sure that files created by the installer can be accessed by other tools, such as apt. Updates tailscale/tailscale#15133 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2025-02-20scripts/installer.sh: add SparkyLinux as a Debian derivative (#15076)Erisa A1-0/+6
Fixes #15075 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-02-08scripts/installer.sh: fix --yes argument for freebsd (#14958)Erisa A1-1/+1
This argument apparently has to be before the package name Updates #14745 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-02-06scripts/installer.sh: add BigLinux as a Manjaro derivative (#14936)Erisa A1-1/+1
Fixes #13343 Signed-off-by: Erisa A <erisa@tailscale.com>
2025-02-06scripts/installer.sh: add FreeBSD 14 (#14925)Erisa A1-2/+3
Fixes #14745 Also adds --yes to pkg to match other package managers Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-30scripts/install.sh: add special case for Parrot Security (#14487)Erisa A1-0/+8
Their `os-release` doesn't follow convention. Fixes #10778 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-23scripts/installer.sh: allow CachyOS for Arch packages (#14464)Erisa A1-1/+1
Fixes #13955 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-23scripts/installer.sh: accept different capitalisation of deepin (#14463)Erisa A1-1/+1
Newer Deepin Linux versions use `deepin` as their ID, older ones used `Deepin`. Fixes #13570 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-12-23scripts/installer.sh: add support for PikaOS (#14461)Erisa A1-0/+13
Fixes #14460 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-10-21scripts/installer.sh: allow Archcraft for Arch packages (#13870)Erisa A1-1/+1
Fixes #13869 Signed-off-by: Erisa A <erisa@tailscale.com>
2024-10-17scripts/installer.sh: support DNF5Andrew Dunham1-2/+34
This fixes the installation on newer Fedora versions that use dnf5 as the 'dnf' binary. Updates #13828 Signed-off-by: Andrew Dunham <andrew@du.nham.ca> Change-Id: I39513243c81640fab244a32b7dbb3f32071e9fce
2024-07-03scripts: don't refresh the pacman repository on Arch (#12194)Chris Palmer1-1/+0
Fixes #12186 Signed-off-by: Chris Palmer <cpalmer@tailscale.com> Co-authored-by: Chris Palmer <cpalmer@tailscale.com>
2024-05-01scripts/installer.sh: remove unnecessary escaping in grep (#11950)Andrew Lytvynov1-1/+1
Updates #11263 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-04-29scripts/installer.sh: enable Alpine community repo if needed (#11837)Andrew Lytvynov1-0/+8
The tailscale package is in the community Alpine repo. Check if it's commented out in `/etc/apk/repositories` and run `setup-apkrepos -c -1` if it's not. Fixes #11263 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2024-04-10scripts/installer.sh: add rpm GPG key import (#11686)Patrick O'Doherty1-0/+1
Extend the `zypper` install to import importing the GPG key used to sign the repository packages. Updates #11635 Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
2024-02-27scripts/installer.sh: auto-start tailscale on Alpine (#11214)Keli1-0/+1
On Alpine, we add the tailscale service but fail to call start. This means that tailscale does not start up until the user reboots the machine. Fixes #11161 Signed-off-by: Keli Velazquez <keli@tailscale.com>
2024-02-13scripts/installer.sh: add tuxedoOS to the Ubuntu copiesNathan Woodburn1-1/+1
Signed-off-by: Nathan Woodburn <github@nathan.woodburn.au>
2023-08-25scripts/installer: add Kaisen, Garuda, Fedora-Asahi.Denton Gentry1-3/+3
Fixes https://github.com/tailscale/tailscale/issues/8648 Fixes https://github.com/tailscale/tailscale/issues/8737 Fixes https://github.com/tailscale/tailscale/issues/9087 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-08-23scripts/installer.sh: add CloudLinux and Alibaba LinuxDenton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/9010 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-08-12scripts/installer.sh: set Deepin to a debian versionDenton Gentry1-0/+2
Deepin Linux 20.x reports its version as "apricot" Set it to bullseye, the Debian version it corresponds to. Also fix the installer CI: OpenSUSE Leap appears to have removed curl from the base image recently, we have to install it now. Fixes https://github.com/tailscale/tailscale/issues/8850 Updates https://github.com/tailscale/tailscale/issues/7862 Updates https://github.com/tailscale/corp/issues/8952 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-04scripts/installer.sh: add sle-micro-rancher.Denton Gentry1-0/+5
Fixes https://github.com/tailscale/tailscale/issues/5633 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-06-04scripts/installer.sh: add BlendOS support.Denton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/8100 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-05-04scripts/installer.sh: check connectivity with pkgs.tailscale.comAnton Tolchanov1-0/+11
Installer script relies on pkgs.tailscale.com being reachable, both for checking what Linux distros are supported, but also for actually downloading repo configuration files, gpg keys and packages themselves. This change adds a simple reachability check which will print an error message when pkgs.tailscale.com is not reachable. Fixes https://github.com/tailscale/corp/issues/8952 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-04-29.github: test installer script in CI in dockerAnton Tolchanov1-5/+9
Every time we change `installer.sh`, run it in a few docker containers based on different Linux distros, just as a simple test. Also includes a few changes to the installer script itself to make installation work in docker: - install dnf config-manager command before running it - run zypper in non-interactive mode - update pacman indexes before installing packages Updates https://github.com/tailscale/corp/issues/8952 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-04-20scripts/installer: add Deepin, RisiOS.Denton Gentry1-1/+10
Fixes https://github.com/tailscale/tailscale/issues/7862 Fixes https://github.com/tailscale/tailscale/issues/7899 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-25scripts/installer.sh: check Photon OS version with pkg server.Denton Gentry1-8/+1
Photon OS support crossed streams with using pkgserve to check for supported versions 6f9aed1656d0d9ff1a22ed6a022120c6a4f43688. Make Photon OS also rely on pkgserve. Updates https://github.com/tailscale/tailscale/issues/7651 Updates https://github.com/tailscale/corp/issues/8952 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-25scripts/installer: add VMWare PhotonOS.Denton Gentry1-0/+19
Fixes https://github.com/tailscale/tailscale/issues/7651 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-24scripts: use pkg server to determine supported deb/rpm distrosAnton Tolchanov1-86/+18
Fixes https://github.com/tailscale/corp/issues/8952 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2023-03-21scripts/installer.sh: Add Ubuntu Lunar Lobster 23.04.Denton Gentry1-1/+2
pkgs.tailscale.com added support in January, need to add it to the installer script. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-03-10scripts/installer: add PureOS and Amazon Linux NextDenton Gentry1-1/+9
Fixes https://github.com/tailscale/tailscale/issues/7410 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-02-18scripts/installer.sh: add GalliumOS and Sangoma LinuxDenton Gentry1-1/+7
Fixes https://github.com/tailscale/tailscale/issues/6541 Fixes https://github.com/tailscale/tailscale/issues/6555 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-02-18scripts/installer.sh: add postmarketos support.Denton Gentry1-0/+5
Fixes https://github.com/tailscale/tailscale/issues/7300 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-02-11scripts/installer.sh: add Mendel OS and OpenMandriva.Denton Gentry1-2/+2
Fixes https://github.com/tailscale/tailscale/issues/6926 Fixes https://github.com/tailscale/tailscale/issues/7076 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-01-27all: update copyright and license headersWill Norris1-3/+2
This updates all source files to use a new standard header for copyright and license declaration. Notably, copyright no longer includes a date, and we now use the standard SPDX-License-Identifier header. This commit was done almost entirely mechanically with perl, and then some minimal manual fixes. Updates #6865 Signed-off-by: Will Norris <will@tailscale.com>
2023-01-24scripts: explicitly install tailscale-archive-keyringAnton Tolchanov1-1/+1
This will ensure that the `tailscale-archive-keyring` Debian package gets installed by the installer script. Updates #3151 Signed-off-by: Anton Tolchanov <anton@tailscale.com>
2022-12-24scripts/installer.sh: add SUSE Enterprise Server.Denton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/6840 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2022-11-10scripts/installer.sh: add Nobara Linux.Denton Gentry1-1/+1
Fixes https://github.com/tailscale/tailscale/issues/5763 Signed-off-by: Denton Gentry <dgentry@tailscale.com>