How to Uninstall and Install go-mtpfs on Ubuntu 22.04

Updated: October 20, 2022

Go-mtpfs is a simple FUSE filesystem for mounting Android devices as an MTP device. In this guide, I will show you how to install go-mtpfs on Ubuntu 22.04.

Software Requirement

  • OS: go-mtpfs needs Ubuntu 22.04 to work
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install go-mtpfs on Ubuntu 22.04

Install go-mtpfs Ubuntu 22.04

go-mtpfs is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install go-mtpfs using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these instructions to install go-mtpfs on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. You can now install go-mtpfs Ubuntu by executing this command in the terminal.

sudo apt -y install go-mtpfs

Install go-mtpfs using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After installing aptitude, you can now install go-mtpfs, just following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install go-mtpfs Ubuntu by executing this command in the terminal.

sudo aptitude -y install go-mtpfs

Uninstall go-mtpfs on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed go-mtpfs using APT or Aptitude, you could uninstall go-mtpfs on Ubuntu by following this step:

sudo apt remove --auto-remove go-mtpfs

You can also execute this command if you want to uninstall go-mtpfs and remove its data and dependencies:

sudo apt autoremove --purge go-mtpfs


In this tutorial, I showed you ways to install go-mtpfs on Ubuntu 22.04 and some ways to uninstall go-mtpfs too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.