Open In App

How to Uninstall Software from Raspberry Pi Operating System?

Improve
Improve
Like Article
Like
Save
Share
Report

Computer science has developed a lot. In earlier days, people used the biggest sized computers. Even at that time, computer monitors are not slim size like modern days. There was no concept of LCD monitors. So, the computer size was extensive along with the size of the monitor. But now, computers are small in size. Even there are laptops available. The main goal is that computers are becoming modern day by day. And its size is reducing by a large amount. Raspberry Pi is a similar technology. It is referred to as the minicomputer. Its size will be as same as a debit card size. There is a breadboard present in this Raspberry Pi. Along with that, there are some components that are fixed. These components work as the self-computer.

Users need to attach the computer with it. Nowadays, users used this device inside the computer cabinet. Developers are trying to develop the Raspberry Pi in such a version that it can replace the Intel processor in the computer. Raspberry Pi is attached to the computer. There is a specific location in the Raspberry Pi, where the mouse & keyboard can be connected. So, users can use the Raspberry Pi there. After adding the Raspberry Pi to the machine, it starts working as the operating system. There is a terminal present in the Raspberry Pi. Users can be able to install software on the Raspberry Pi. It uses its terminal to install the applications the same as Linux. As Raspberry Pi can install the application, there will be certain paths to remove or uninstall some applications.

Uninstalling Software from Raspberry PI

Using Remove Command

Step 1: At first, users need to open the terminal of the Raspberry Pi. Then users need to execute the following command. This command will help to list down all the applications installed in the Raspberry Pi. This will help to figure out the proper name of the application.

Command: sudo dpkg –list

Execute command in the raspberry Pi.

 

Step 2: Now, after running the above code, all the applications that are available in the Raspberry Pi will be printed on the terminal. Users need to find out the proper name of the application from the list.

List of all the application are visible.

 

Step 3: Now, users need to execute the below command. This command will help to uninstall the application that is mentioned in the command. Users must wait till the procedure is finished.

Command: sudo apt remove app-name

Execute remove command in the raspberry Pi.

 

Using Purge Command

Note: The remove command is very useful. Though there are some issues with the command. Some flies related to the software might not be removed from the Raspberry PI. They can still be available in the memory. So, the intention of the user will not be fulfilled. In that case, it is advised to use the Purge command. This command will help to completely uninstall all the flies of the software from the Raspberry Pi. So, there will be no many complications against the removal of the software. After using the Purge command, there will be no trace of the software in the Raspberry Pi. So, users need to use this command carefully.

Step 1: Here, again users need to open the terminal. In the terminal users need to execute the below-mentioned command. This is the same command that is used earlier. This command will again provide the installed application list.

Command: sudo dpkg –list

Again, execute command in the raspberry Pi.

 

Step 2: Now, users need to find out the application name from the list provided. The name of the application should be accurate. Otherwise, there will be an error while removing the software.

List of all the application are visible.

 

Step 3: Now, for removing the software using the Purge command, users need to run the following command. This command will help to uninstall the application or the software from the Raspberry Pi. Users need to wait for some time till the software is removed.

Command: sudo apt-get –purge remove app-name

Execute purge remove command in the raspberry Pi.

 

Hence, we have successfully uninstalled software from the Raspberry Pi.

Conclusion

The Raspberry Pi is a Debian-based Linux distribution that uses the apt package manager to handle packages. The uninstalling of packages on the Raspberry Pi frees up memory for the installation of new packages. In this article, we discussed the various command-line techniques for uninstalling packages from the Raspberry Pi OS, as well as the graphical user interface method.


Last Updated : 03 Jan, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads