
Steps to Uninstall Apps or Software from Raspberry PiΒ
There are two primary methods for uninstalling apps from Raspberry Pi boards: using the graphical interface and using the command line. Letβs look at both, so you can choose the method that suits you best.
1. Using the Graphical Interface (GUI)Β
If youβre using Raspberry Pi OS with Desktop, you can uninstall programs on Raspberry Pi just like you would on a regular computerβno coding required.
- Find the Raspberry Menu: Click the Raspberry icon in the top-left corner of your screen.
- Go to Preferences: From the menu, select Preferences.
- Open Add/Remove Software: Click on Add/Remove Software. This tool works like an app store for your Raspberry Pi. It lists all the software you can add or remove.

- Search for the App: Type the name of the app you want to remove in the search bar.
- Remove the Package: When you find the app, right-click it and select Remove Package. Click Apply to confirm and enter your password if prompted. Thatβs it. The app is gone!

This method is great if youβre not comfortable with the command line, but it does have some limitations. Sometimes, you might not find the exact app youβre looking for, especially if it was installed differently.Β
2. Using the Command Line (Terminal)
If you prefer a bit more control, the terminal is your friend. Hereβs how it works:
Open the Terminal: You can find the terminal icon on your desktop or press Ctrl+Alt+T to open it. It will look something like the image below.

-
List of all Installed Packages: To see whatβs installed, type:Β
dpkg βlist - All the installed packages will be shown by running this command. Look for the name of the app you want to remove.
-
Remove the Package: To remove the software, use:Β
sudo apt remove package-name - Replace package-name with the actual name of the app you want to uninstall.
-
Remove Everything (Including Config Files): If you want to make sure all traces of the app are gone, use:Β
sudo apt purge package-name - This will uninstall the program and delete its configuration files too.
-
Clean Up: After removing apps, you can clear out leftover files with:Β
sudo apt autoremove - This removes any packages that were installed as dependencies but are no longer needed.
-
Clear the Cache: To free up memory, you can also clear the package cache:Β
sudo apt clean - This deletes downloaded package files that are no longer required
How Do I Delete Something on My Raspberry Pi?
Sometimes, you might want to delete something that isnβt an appβlike a file or folder. Hereβs how you can do that:
- Using the File Manager: Double-click the File Manager icon on your desktop. Navigate to the file or folder you want to delete, right-click it, and select Delete.
-
Using the Terminal: If youβre comfortable with the command line, you can delete files with:
rm filename -
To delete a folder and everything inside it:Β
rm -r foldername - Be careful with these commands, because deleted files canβt be easily recovered
Β
Β
Conclusion
Keeping your Raspberry Pi tidy doesnβt have to be complicated. Whether you prefer clicking around in the desktop or typing commands in the terminal, you now have the tools to remove software and free up space whenever you need to. Regular cleanup helps your Pi run faster, gives you more room for new projects, and keeps your system organized.