p:: CLI, Ubuntu, Desktop Apps

Download

Linux

Ubuntu 20.04 LTS (Focal)

{
    # Add Tailscale's GPG key
    curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.gpg | sudo apt-key add -
    # Add the tailscale repository
    curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.list | sudo tee /etc/apt/sources.list.d/tailscale.list
    # Install Tailscale
    sudo apt update && sudo apt install tailscale -y
    # Start Tailscale!
    sudo tailscale up
}

Ubuntu 20.10 (Groovy)

{
    # Add Tailscale's GPG key
    curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/groovy.gpg | sudo apt-key add -
    # Add the tailscale repository
    curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/groovy.list | sudo tee /etc/apt/sources.list.d/tailscale.list
    # Install Tailscale
    sudo apt update && sudo apt install tailscale -y
    # Start Tailscale!
    sudo tailscale up
}
...
 
Preparing to unpack .../tailscale_1.8.7_amd64.deb ...
Unpacking tailscale (1.8.7) ...
Setting up tailscale (1.8.7) ...
Created symlink /etc/systemd/system/multi-user.target.wants/tailscaled.service → /lib/systemd/system/tailscaled.service.
 
To authenticate, visit:
 
        https://login.tailscale.com/a/f7895fb8aa89
 
Success.

Uninstall

For all Ubuntu and Debian versions

sudo apt remove tailscale -y

If you’d like to completely delete Tailscale, destroying any state or local information, you can also remove the file at:

rm /var/lib/tailscale/tailscaled.state

After uninstalling Tailscale, if you install Tailscale on a device again at a later time, it will have a new IP address.