Skip to main content

Command Palette

Search for a command to run...

How to Uninstall LocalSend on Linux

Published
5 min readView as Markdown

If you’ve been using LocalSend on your Linux system but now want to remove it, you’re in the right place. Uninstalling software on Linux can sometimes feel tricky, especially if you’re new to the system. But don’t worry—I’ll walk you through the process in a clear and easy way.

Whether you installed LocalSend via a package manager, a snap, or from source, this guide covers all the common methods to uninstall it. By the end, you’ll know exactly how to cleanly remove LocalSend from your Linux machine without leaving behind unnecessary files.

What is LocalSend and Why Uninstall It?

LocalSend is a popular open-source file-sharing app designed for easy and secure transfers over local networks. It’s lightweight and works well on Linux, Windows, and Android. However, you might want to uninstall it for several reasons:

  • You no longer need the app.
  • You want to free up disk space.
  • You’re troubleshooting issues or reinstalling a fresh version.
  • You installed it incorrectly and want a clean start.

Knowing how to uninstall LocalSend properly ensures your system stays tidy and avoids conflicts with future installations.

How LocalSend is Installed on Linux

Before uninstalling, it helps to understand how LocalSend might have been installed. Common installation methods include:

  • Using Snap packages: LocalSend is available as a snap, which is a universal Linux package.
  • Using AppImage: A portable executable that runs without installation.
  • From source: Cloning the GitHub repository and building manually.
  • Using Flatpak: Another universal package system, though less common for LocalSend.

Each method requires a slightly different approach to uninstall.

Uninstalling LocalSend Installed via Snap

Snap is a popular package manager on many Linux distributions like Ubuntu, Fedora, and Debian. If you installed LocalSend using snap, follow these steps:

  1. Open your terminal.
  2. Check if LocalSend is installed as a snap by running:
    snap list
    
  3. Look for localsend in the list.
  4. To remove LocalSend, run:
    sudo snap remove localsend
    
  5. Confirm the removal when prompted.

This command removes the LocalSend snap package and its data. Snap packages are sandboxed, so this method cleans up most files related to LocalSend.

Uninstalling LocalSend Installed via AppImage

If you used an AppImage, uninstalling is straightforward because AppImages don’t install system-wide. They run as standalone executables.

To uninstall:

  • Simply delete the LocalSend AppImage file from your system.
  • Optionally, remove any desktop shortcuts or menu entries you created manually.

Since AppImages don’t scatter files across your system, deleting the file is enough to uninstall.

Uninstalling LocalSend Installed from Source

If you cloned LocalSend’s GitHub repository and built it manually, uninstalling requires a few more steps.

  1. Navigate to the LocalSend source directory in your terminal.
  2. If you used make install to install, you can usually run:

    sudo make uninstall
    

    This removes installed files based on the Makefile.

  3. If no uninstall target exists, manually remove installed files. Common locations include:

    • /usr/local/bin/localsend
    • /usr/local/share/localsend
    • Configuration files in your home directory like ~/.config/localsend
  4. Delete the source directory if you no longer need it.

Manual removal requires caution. Double-check file paths before deleting to avoid removing unrelated files.

Uninstalling LocalSend Installed via Flatpak

Though less common, if you installed LocalSend via Flatpak, use these steps:

  1. Open your terminal.
  2. List installed Flatpak apps:
    flatpak list
    
  3. Find the LocalSend app ID, usually something like com.localsend.LocalSend.
  4. Remove it with:
    flatpak uninstall com.localsend.LocalSend
    
  5. Confirm the uninstallation.

Flatpak keeps apps isolated, so this removes LocalSend cleanly.

Removing Leftover Configuration and Cache Files

Uninstalling the app itself might not delete user data or cache files. To fully clean your system, consider removing these:

  • Configuration files in your home directory:
    ~/.config/localsend
    
  • Cache files:
    ~/.cache/localsend
    
  • LocalSend data folders if you saved files locally.

You can delete these folders with:

rm -rf ~/.config/localsend ~/.cache/localsend

Be careful with rm -rf and double-check paths before running.

Troubleshooting Common Uninstallation Issues

Sometimes, you might face issues uninstalling LocalSend. Here are some tips:

  • Permission denied: Use sudo to run uninstall commands with administrative rights.
  • Package not found: Verify the package name with snap list or flatpak list.
  • Leftover files: Manually check and delete config or cache folders.
  • App still running: Close LocalSend before uninstalling to avoid file locks.

If you installed LocalSend multiple ways (e.g., snap and AppImage), make sure to remove all versions.

Tips for Reinstalling LocalSend After Uninstallation

If you plan to reinstall LocalSend, a clean uninstall helps avoid conflicts. Here’s what to do:

  • Remove all old files and configurations.
  • Restart your system to clear any running processes.
  • Use the recommended installation method for your Linux distro.
  • Check LocalSend’s official GitHub or website for the latest instructions.

This ensures a smooth, fresh installation.

Summary Table: Uninstall Commands by Installation Method

Installation MethodUninstall Command or Action
Snapsudo snap remove localsend
AppImageDelete the AppImage file
Source (Makefile)sudo make uninstall in source directory
Flatpakflatpak uninstall com.localsend.LocalSend

Conclusion

Uninstalling LocalSend on Linux is straightforward once you know how it was installed. Whether you used snap, AppImage, source, or Flatpak, each method has a clear way to remove the app. Don’t forget to delete leftover configuration and cache files to keep your system clean.

If you ever want to reinstall LocalSend, a clean uninstall helps avoid issues. With this guide, you can confidently manage LocalSend on your Linux system and keep your software environment tidy and efficient.

FAQs

How do I check if LocalSend is installed as a snap?

Open your terminal and run snap list. If LocalSend appears in the list, it’s installed as a snap package.

Can I uninstall LocalSend by just deleting the AppImage file?

Yes. AppImages are standalone executables, so deleting the file removes the app. Remove any shortcuts you created manually as well.

What if make uninstall doesn’t work after installing from source?

Not all source builds include an uninstall target. In that case, manually delete installed files like /usr/local/bin/localsend and config folders.

Will uninstalling LocalSend remove my shared files?

No. Uninstalling only removes the app and its data, not files you shared or saved elsewhere.

How do I remove leftover LocalSend configuration files?

Delete the folders ~/.config/localsend and ~/.cache/localsend using the command rm -rf ~/.config/localsend ~/.cache/localsend in your terminal.

More from this blog

L

LinuxBloke | Linux Tips, Tricks & Troubleshooting

672 posts