Sep 28, 2026 · Install · About 9 min

Install Shadowrocket on Linux: Choose DEB, RPM, or AppImage

Choose a DEB, RPM, or AppImage for your Linux distribution. Includes apt and dnf install commands and chmod steps for AppImage.

At a glance

For Debian- and Ubuntu-based systems, choose DEB; for Fedora and other systems that use dnf, choose RPM. Consider AppImage when you want a standalone file to run. This guide is for Linux desktop users and covers checking your distribution and architecture, installing locally, setting execute permissions, connecting for the first time, and uninstalling. A successful installation means the app is in place; connecting still requires a service and subscription you already have.

Check your distribution, architecture, and download options

Shadowrocket has a Linux version. Before you begin, open a terminal and check your distribution and processor architecture. Don't choose a package based only on how your desktop looks. GNOME and KDE, for example, don't determine whether you need a DEB or RPM; that depends on the package management system used by your distribution.

cat /etc/os-release
uname -m

The ID and ID_LIKE values in /etc/os-release can help identify your distribution family. Common output from uname -m includes x86_64 and aarch64. These are architecture identifiers, not app version numbers. The package architecture must match your system. Changing a file extension won't make an incompatible package work.

System check

Distribution
Read /etc/os-release
Architecture
Run uname -m
Package manager
Check whether you use apt or dnf

Check your system first, then choose a matching package from the downloads page.

Choose a package

deb
For Debian- and Ubuntu-based package management
rpm
Commands in this guide are for systems that use dnf
AppImage
Runs as a standalone file, but still depends on architecture and system libraries

Even RPM-based systems may use different package managers. Don't assume dnf commands will work everywhere.

All download options are listed on the downloads page. The iPhone and iPad version is a one-time $2.99 purchase on the App Store; check the App Store listing for system requirements. Versions for Mac (Apple silicon and Intel), Windows, Android, and Linux are free. The downloads page provides the site's Linux package downloads. This guide doesn't assume a fixed filename or require you to add a software repository.

Install one format at a time, in order

Choose one installation method for each machine. DEB and RPM packages are tracked by the system, making them easier to locate, update, and uninstall. With AppImage, you manage the file yourself. These are alternative formats, not three components you need to install together.

  1. Check your system

    Run the two commands above and note your distribution and architecture. If you're in a container or using a remote terminal, make sure you're checking the host that will actually run the desktop app.

  2. Choose a format

    Open the Linux section of the downloads page, choose DEB, RPM, or AppImage for your distribution, and check the listed architecture. If there isn't a matching option, don't force-install a package for a different architecture.

  3. Locate the file

    In your file manager, open the downloaded file's properties and copy its full absolute path. The commands below prompt you for the path. Enter the one for your actual file; there's no need to guess the package name.

  4. Install

    Run the command for your package format in a Bash terminal. DEB and RPM installation requires administrator privileges. Set execute permission on an AppImage and launch it as a regular user.

  5. Open for the first time

    After installing a DEB or RPM package, open Shadowrocket from your applications menu. For AppImage, launch it as described below. Make sure the window opens before importing an existing configuration and testing the connection.

DEB: Install a local package with apt

On Debian- and Ubuntu-based desktops, use apt install to install a downloaded DEB file. apt reads the local package's dependencies and may fetch them from your configured software sources, so an internet connection may be required. Use the absolute file path to avoid having apt mistake the input for a package name in a repository.

read -r -p 'Enter the full absolute path to the DEB file: ' pkg
dpkg-deb -f "$pkg" Package Version Architecture
sudo apt install "$pkg"

The second line displays the package's recorded name, version, and architecture. It only reads information from the local file and doesn't change your system. Installation begins on the third line. When prompted, review what will be installed, upgraded, or removed before continuing. When sudo asks for your password, the terminal usually won't display any characters; that's normal.

If an earlier installation with a lower-level tool left dependencies unresolved, you can run sudo apt --fix-broken install. Review the proposed changes before confirming. This isn't required for every installation. Don't install while another updater holds the apt lock, and never delete the lock file manually.

RPM: Install with dnf and resolve dependencies

On distributions that use dnf, use dnf install to install a local RPM. Unlike simply writing the package file to disk, dnf can resolve dependencies using enabled software sources. Other RPM-based distributions that don't provide dnf should use their own package manager. A matching file extension doesn't make these commands interchangeable.

read -r -p 'Enter the full absolute path to the RPM file: ' pkg
rpm -qp --queryformat '%{NAME}\n%{VERSION}-%{RELEASE}\n%{ARCH}\n' "$pkg"
sudo dnf install "$pkg"

rpm -qp reads metadata from the file itself; the app doesn't need to be installed. If installation reports that a dependency repository is unreachable, check your software sources and network connection. If it reports incompatible system libraries, use an installation method suited to your distribution rather than forcing a system library replacement.

  1. Make sure the package query displays the name and architecture correctly. If the file is damaged or the download is incomplete, download it again.
  2. Review dnf's transaction summary and make sure it doesn't propose removing anything unexpected.
  3. After installation, launch the app from your desktop applications menu. If the menu hasn't refreshed, search for Shadowrocket or sign out and back into your desktop session.

AppImage: Set execute permission and launch as a regular user

AppImage usually doesn't require a DEB or RPM installation transaction, but it isn't fully self-contained on every Linux system. Processor architecture, base system libraries, desktop environment, and some runtime requirements can still affect whether it launches. Save the file somewhere you keep applications long-term, not in a temporary directory that may be cleared.

read -r -p 'Enter the full absolute path to the AppImage file: ' app
chmod u+x -- "$app"
"$app"

chmod u+x adds execute permission for the file owner only. The last line launches the app from the current terminal so you can see any startup errors. Don't add sudo. Running the entire graphical app as root isn't a general fix for launch problems.

I ran chmod. Why do I still get Permission denied?

First, run ls -l -- "$app" to check the owner's execute permission, then findmnt -T "$app" to inspect the mount point. If the mount options include noexec, move the file to an executable location in your user directory and try again. Don't change the mount policy for an entire shared drive.

Does Exec format error mean I don't have permission?

Check the architecture and file type first. Run file -- "$app" and compare the result with uname -m. If the file is actually an error page or its architecture doesn't match your system, download the correct file from the downloads page. Repeated chmod commands won't fix either issue.

The terminal says FUSE is missing. Which package should I install?

Keep the full library name shown in the terminal, then look up the compatible package in your distribution's package documentation. Package names vary between distributions, so don't copy commands from another one. You can also return to the downloads page and choose a DEB or RPM that matches your system.

It launches from the terminal, but double-clicking doesn't open a window. Why?

Check that your file manager recognizes the file as an executable rather than opening it with an archive manager. Keep launching it from the terminal for now and check the output before changing your desktop's open-with settings. An AppImage doesn't necessarily create an application menu entry automatically.

First connection: Separate installation from rule behavior

Once the window opens, set up your connection. This guide assumes you already have your own service and subscription. This site doesn't provide, sell, or recommend proxy nodes or subscriptions. Follow the tutorial to import an existing configuration, check the address, authentication details, and expiration, then test the connection. A connection failure doesn't mean the DEB or RPM installation failed.

Home shows connection status and proxy entries; Config manages configuration files; Settings lets you adjust preferences. Layouts vary by platform, so use the options available in your current window. When troubleshooting rules, distinguish Config, Proxy, and Direct under Global Routing. Scene relates to configured scenes; avoid introducing extra switching conditions before establishing a baseline.

Config

Recommended

Route traffic according to the rules in the currently selected configuration. First make sure the configuration is selected, then check the order of DOMAIN-SUFFIX, IP-CIDR, GEOIP, and FINAL rules and their target policies.

Best for: everyday rule-based routing after configuration is complete.

Proxy

Route traffic handled by the app through the proxy. This can temporarily isolate the effects of split-routing rules; it doesn't automatically change the route for all system traffic that the app doesn't handle.

Best for: briefly checking whether the proxy connection works.

Direct

Send traffic handled by the app directly. If this mode remains active, changing proxy rules in Config won't produce the expected routing behavior.

Best for: comparing against your regular network to distinguish local network issues from proxy-path issues.

For each test, use the same destination and network. Change only one setting at a time, and record three results: whether the window opens, whether a connection is established, and whether the destination is reachable. If a browser works but a terminal app doesn't, first check whether that app uses the same proxy path instead of reinstalling the client. If the system asks for network permissions, grant only those actually requested; don't change system routes unnecessarily.

Update, uninstall, and keep your configuration

Before updating, back up your current Config and any subscription information you already have. Configurations may contain authentication data, so keep them somewhere secure on your device and don't expose full links in troubleshooting screenshots. Back up before switching installation formats too, and avoid leaving two launch entries behind that could make you think you're opening the same app file.

Download Shadowrocket