Rajdeep Singh.

How to remove unnecessary software from your Raspberry pi 4

Remove Software inside Your Raspberry 4 with three copy & paste Commands.

By raspberry 2 min read

In this post, we learn how to remove unnecessary pre-install 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 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 minecraft pi for my raspberry system. when successfully remove your software. that software not be shown inside Programming Folder on raspberry 4

sudo apt-get remove --purge minecraft-pi
sudo apt-get clean
sudo apt-get autoremove

remove minecraft pi game in raspberry 4

Note use this command you remove everything related to Minecraft

  1. --purge: flag help to remove packages and config files also.
  2. 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/.
sudo apt-get autoremove

autoremove command in raspberry pi 4


How to Remove Scratch Programs in raspberry pi 4?

You will, Following my commands you remove all files related to Scratch.

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

remove Scratch


How to Remove LibreOffice Programs in rasp pi 4?

You will Follow my commands to remove all files related to Libra Office.

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