The process of uninstalling a program removes the files from your system. You can uninstall a program if you don’t want to use the software anymore. In Ubuntu 22.04 you can uninstall software by using the terminal and “Ubuntu Software Store”.

In this article, we will explain how you can uninstall software by using different methods.

How do I Uninstall a Linux app from Terminal?

If you want to uninstall a Linux app from your system, you can use different methods for this purpose. These methods can be:

  • Using the Ubuntu App Store
  • Using Terminal with the snap remove command
  • Using Termin with the apt remove command

Now follow along with the article, if you want to use these methods for the uninstallation process.

Method 1: Using the Ubuntu App Store

If you are not comfortable with the terminal, you can use GUI to uninstall a program. Follow the steps mentioned below to uninstall the program:

  • Open the Ubuntu App Store from the side-bar menu
  • Select the “Installed” tab from the top navbar
  • Select the program you want to uninstall and click the “Uninstall” button
  • It will require permission, provide your password and click on “Authenticate
  • The program will begin to uninstall

In this method, you can uninstall the program by using the “Ubuntu App Store”.

Method 2: Using Terminal with the “snap remove” command

You can uninstall a program by using the “snap remove” command if you have installed the program from the snap store. Use the following command syntax to uninstall the program:

$ sudo snap remove “<program name>”

The command will uninstall the program. In my case, I want to uninstall the vs code, so my output is as follows:

The command removes the software. 

Method 3: Using Terminal with the “apt remove” command

You can also use the “sudo apt remove <software name>” command to uninstall the programs. Use the following syntax of the command to remove the software:

$ sudo apt remove "<program name>" -y

In my case, I am uninstalling the vs code, so my command is as follows:

Now you’ve uninstalled the programs, you can free up some disk space by using the following command:

$ sudo apt autoremove

The command will delete the files of the program you’ve uninstalled:

This is how you can uninstall a Linux app/software from your system.


To uninstall a Linux app/software in Ubuntu 22.04, you can use the “Ubuntu App Store” and terminal. In the terminal you can use the “snap remove” and “apt remove” commands, to uninstall a program. In this article, we have learned how we can uninstall a Linux app from Ubuntu 22.04.