How to remove unnecessary software from your Raspberry pi 4

Remove Software inside Your Raspberry 4 with 3 copy & paste Commands

How to remove unnecessary software from your Raspberry pi 4

Hey Everyone, my name is Rajdeep Singh. Welcome to my new post series on Raspi 4.

In this post, we learn how to remove unnecessary preinstall software in the raspberry pi 4 models.

Firstly, you check out all software inside your raspberry pi 4

dpkg -l | grep ii | less
dpkg command

dpkg command is a  package manager for Debian based operating system.

you are interested to learn more about the dpkg command make sure you read the manual pages.

man dpkg

dpkg command provides you a list of all the programs. this list tells you currently installs Software or program in your raspberry pi 4.

How to Remove Programs in rasp pi 4?

In my example, I will remove Mincarft pi for my raspberry system.when successfully remove your software. that software not be shown inside Programming Folder on raspi 4

sudo apt-get remove --purge minecraft-pi
sudo apt-get clean
sudo apt-get autoremove
Uninstall Software
remove minecraft pi game in Raspi 4
remove minecraft pi game in Raspi 4

note:

use this command you remove everything related to Minecraft

--purge flag help to remove packages and config files also.

clean: clean flag clears out the local repository of retrieved package files.
It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.

Next, we are going to remove any unneeded packages that have been installed as dependencies for the software we no longer have used to this. We do this with the following command.

sudo apt-get autoremove
optionally but important command
autoremove command in raspi 4
autoremove command in raspi 4

How to Remove Scratch Programs in rasp pi 4?

you will Following my commands you remove all file related to Scratch.

sudo apt-get remove --purge scratch
sudo apt-get clean
sudo apt-get autoremove
remove Scratch
remove Scratch
remove Scratch

How to Remove libreoffice Programs in rasp pi 4?

you will Following my commands you remove all file related to Libra Office

sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove
remove libreoffice

Hire me:

Fiverr:
https://www.fiverr.com/users/officialrajdeep/

Upwork:
https://www.upwork.com/freelancers/~01a4e8ba7a41795229


Contact me