Install Tetheron on Linux
Tetheron for the desktop is published on the
releases page as a Debian
package and, from release 0.5.0, as a tarball with an install script for
other distributions. Both contain the daemon tetherd, the app tether and
the command-line tool tether-cli.
Before you begin
- You need a 64-bit Intel or AMD processor (
x86_64,amd64) andsudorights. - For the Debian package you need Ubuntu 24.04, Linux Mint 22 or Debian 13, or a newer version of one of them.
- For the tarball you need a distribution with systemd, glibc 2.39, GTK 4.14 and libadwaita 1.5, or newer versions. Fedora 40 and newer and Arch Linux have them. See Supported platforms.
On a system that fits neither, build from source.
Install the package on Debian, Ubuntu and Linux Mint
-
Download
tether_<version>-1_amd64.debfrom the releases page.<version>is the release number, for example0.4.1. -
Install it with
apt, which also installs the packages it depends on (among themavahi-daemonfor discovery andadbfor installing the phone app and for the enhanced tier):sudo apt install ./tether_<version>-1_amd64.deb
Phone as webcam, which ships with the next release (0.5.0), also needs the
v4l2loopback kernel module. The package suggests it but does not install
it. Use the phone as a webcam has the steps.
Install from the tarball on Fedora, Arch Linux and others
The tarball is published from release 0.5.0. Its install script copies the
programs to /usr/local and does not install distribution packages, so you
install those first.
-
Install the packages Tetheron needs.
On Fedora:
sudo dnf install gtk4 libadwaita avahi android-tools pipewire pipewire-utils \ wireplumber bluez gstreamer1-plugins-base gstreamer1-plugins-good \ gstreamer1-plugins-bad-free gstreamer1-plugin-openh264gstreamer1-plugin-openh264is the H.264 decoder for the phone screen. It comes from the repositoryfedora-cisco-openh264, which Fedora Workstation enables by default. Ifdnfdoes not find the package, enable that repository first.On Arch Linux, and on distributions based on it:
sudo pacman -S --needed gtk4 libadwaita avahi android-tools pipewire pipewire-audio \ wireplumber bluez gst-plugins-base gst-plugins-good gst-plugins-bad gst-libavOn another distribution, install its packages for the same components. Supported platforms lists what each one is for.
-
Start Avahi and Bluetooth if they are not running. Fedora Workstation starts both by default. Arch Linux does not:
sudo systemctl enable --now avahi-daemon.service bluetooth.service -
Download
tether-<version>-linux-x86_64.tar.gzfrom the releases page and unpack it:tar -xzf tether-<version>-linux-x86_64.tar.gz cd tether-<version>-linux-x86_64 -
Run the install script:
sudo ./install.shThe script first checks that the libraries and programs from step 1 are there. It stops if a program in the tarball could not start, and prints the install command for anything else that is missing.
./install.sh --checkruns the check alone, withoutsudo.
The script enables the daemon for every user, as the Debian package does.
./install.sh --help lists its options. The reference page
Configuration and files
lists the files it installs.
These packages are optional:
| Used for | Fedora | Arch Linux |
|---|---|---|
| Clipboard sync while the app is closed | xclip (X11) or wl-clipboard (Wayland) | xclip or wl-clipboard |
| Stay on top and the call banner above other windows, on X11 | wmctrl | wmctrl |
| The ringtone for incoming calls | sound-theme-freedesktop | sound-theme-freedesktop |
| Phone as webcam | akmod-v4l2loopback, from RPM Fusion Free | v4l2loopback-dkms, v4l2loopback-utils and the headers of your kernel, such as linux-headers |
Start the daemon
The installation enables the daemon for every user. It starts when you log in, and
on demand when the app or tether-cli needs it. A session that was already
running during the installation does not know about the daemon yet.
-
Reload the user service manager and start the daemon:
systemctl --user daemon-reload systemctl --user enable --now tetherd.serviceLogging out and back in has the same effect.
-
Check that it answers:
tether-cli selfThe command prints the daemon’s name, identity and settings.
If the app shows Tether service is not running, click Start service.
Open the firewall
The phone connects to the desktop on TCP port 7360. Discovery uses UDP port 7360 and UDP port 5353. If no firewall is active, skip this section.
If ufw is enabled, allow the application profile that Tetheron installs,
and local network discovery:
sudo ufw allow Tether
sudo ufw allow mdns
If firewalld is running, as on Fedora, open the ports in the active zone:
sudo firewall-cmd --permanent --add-port=7360/tcp --add-port=7360/udp --add-service=mdns
sudo firewall-cmd --reload
With another firewall, allow inbound TCP 7360, UDP 7360 and UDP 5353 from your local network.
Open the app
Start Tetheron from the applications menu (Tether in 0.4.1 and
earlier), or run tether in a terminal. With no phone paired, the window
shows No devices yet. Continue with
Install Tetheron on Android and
Pair and unpair devices.
Show the tray icon
The tray icon shows the phone’s battery level, offers quick actions and keeps the app running when you close the window. It is on by default. To change it, open the main menu of the window, choose Preferences and change Show tray icon under Desktop integration.
GNOME has no tray. The icon appears there only when an AppIndicator extension is installed and enabled, such as AppIndicator and KStatusNotifierItem Support. Everything else works without it. Cinnamon, KDE Plasma and other desktops with a tray need nothing extra.
Start the app in the background at login
The daemon starts at login by itself. The app does not. Start it at login as well if you want the tray icon and clipboard sync without opening the window.
- Open Preferences.
- Under Desktop integration, switch on Start Tether in background at login.
This adds an autostart entry that runs tether --background, which starts
the app with the tray icon and no window. Switch the row off to remove the
entry.
Find received files
Files that the phone sends are saved to ~/Downloads/Tether. To change the
folder, open Preferences and choose another Download folder under
Files, or run:
tether-cli config download-dir <folder>
<folder> is the full path of the folder.
Configuration and files lists every setting
and path.
Update
-
Download the newer
.debor tarball from the releases page. -
Install it over the old one. With the Debian package:
sudo apt install ./tether_<version>-1_amd64.debWith the tarball, unpack it and run its install script:
sudo ./install.sh -
Restart the daemon:
systemctl --user daemon-reload systemctl --user restart tetherd.service -
Quit the app (Quit in the main menu or in the tray menu) and open it again.
Pairings and settings are kept. Update the phone app to the same release.
Uninstall
-
Unpair each phone first, so that the phone forgets this desktop too: see Pair and unpair devices.
-
If you switched on Start Tether in background at login, switch it off in Preferences. This removes the autostart entry.
-
Remove the programs. With the Debian package:
sudo apt remove tetherAfter an installation from the tarball:
systemctl --user stop tetherd.service sudo /usr/local/bin/tether-uninstall -
If you allowed Tetheron in the firewall, delete the rule. For
ufw:sudo ufw delete allow TetherFor
firewalld:sudo firewall-cmd --permanent --remove-port=7360/tcp --remove-port=7360/udp sudo firewall-cmd --reload
Your data stays in place. To delete this desktop’s identity, the list of paired phones and the cached messages and photos as well, remove the three directories:
rm -r ~/.local/share/tether ~/.config/tether ~/.cache/tether
Warning
Deleting
~/.local/share/tetherdeletes this desktop’s identity. Every phone must be paired again if you reinstall.
Files you received stay in ~/Downloads/Tether.