# RustDesk Installation Script This script provides an easy way to install and uninstall RustDesk on Debian-based Linux systems (Ubuntu, Linux Mint, etc.). ## Features - Automatic detection of the latest RustDesk version - Architecture detection (x86_64, aarch64, etc.) - Handles all dependencies - Supports both install and uninstall ## Requirements - Debian-based Linux system - Root privileges (sudo) - Internet connection ## Usage ### Install To install the latest version of RustDesk, run: ```bash sudo wget -O - https://gist.github.com/R0GGER/ff39de853003c25d078cf9ead78bfba8/raw/6fee04063f0b74901d71e866fbfd122bc84da06b/rustdesk.sh | bash ``` ### Uninstall To remove RustDesk from your system, run: ```bash sudo wget -O - https://gist.github.com/R0GGER/ff39de853003c25d078cf9ead78bfba8/raw/6fee04063f0b74901d71e866fbfd122bc84da06b/rustdesk.sh | bash -s uninstall ``` ## What the script does **Install**: 1. Checks for root privileges 2. Fetches the latest RustDesk version from GitHub 3. Installs required dependencies 4. Downloads and installs the RustDesk package 5. Cleans up temporary files **Uninstall**: 1. Removes RustDesk package 2. Removes any unused dependencies ## Support For RustDesk related issues, please visit the [RustDesk GitHub repository](https://github.com/rustdesk/rustdesk).