πŸ“¦ 7. Raspberry Pi – Software Management
Estimated reading: 3 minutes 276 views

Raspberry Pi – Remove Unused Software (2025 System Cleanup Guide)


Introduction – Clean Up Your Raspberry Pi for Better Performance

As you install new tools, software, and packages, your Raspberry Pi can quickly become clutteredβ€”especially with a limited SD card or eMMC storage. Removing unused software helps free up disk space, boost speed, and reduce boot times.

In this guide, you’ll learn:

  • How to identify and remove unused packages
  • Use apt, dpkg, and GUI tools for uninstallation
  • Clean up orphaned dependencies and cache
  • Real-world examples and automation tips for regular maintenance

Step 1: List Installed Software

List all installed packages:

dpkg --get-selections

Filter manually or pipe to search:

dpkg --get-selections | grep libreoffice

Helps identify large or unnecessary packages like wolfram-engine, libreoffice, minecraft-pi, etc.


Step 2: Remove Specific Applications

Syntax:

sudo apt remove <package-name>

Example – Remove LibreOffice:

sudo apt remove --purge libreoffice*

Example – Remove Wolfram Engine:

sudo apt remove --purge wolfram-engine

--purge also deletes configuration files.


Step 3: Clean Orphaned Packages and Cache

Autoremove unused dependencies:

sudo apt autoremove

Clean APT cache:

sudo apt clean

These commands remove leftovers from previously uninstalled software.


Common Unused Software on Raspberry Pi OS (Desktop)

Package Description
libreoffice*Office suite (500MB+)
wolfram-engineMath engine rarely used by most users
scratch*Kids programming app
minecraft-piPre-installed Minecraft demo
gnome-gamesLightweight games
dillo, netsurf-gtkBasic web browsers

Step 4: Use GUI for Software Removal (Optional)

If using Raspberry Pi Desktop:

  1. Open “Add / Remove Software” from menu
  2. Search by name (e.g., “libreoffice”)
  3. Uncheck unwanted apps
  4. Click Apply

Best for beginners or those unsure of package names.


Step 5: Regular Maintenance Commands

Command What It Does
sudo apt update && upgradeKeeps system up to date
sudo apt autoremoveCleans unused libraries
sudo apt cleanDeletes downloaded .deb cache
df -hView free disk space
du -sh /path/*Show folder sizes (e.g., /home/pi)

Best Practices for Cleanup

Do’s Don’ts
Use --purge to remove config filesDon’t delete core packages (raspberrypi-ui)
Check space with df -hAvoid removing systemd-related services
Backup before bulk uninstallDon’t use rm -rf on system folders
Review /var/cache, /tmp, /logsDon’t remove /boot files manually

Summary – Recap & Next Steps

Cleaning up unused software on your Raspberry Pi improves performance, storage availability, and system stability. Use apt remove, autoremove, and clean regularly, and avoid installing unnecessary bloat.

Key takeaways:

  • Use apt remove --purge for full uninstallation
  • Clean orphaned packages with autoremove
  • GUI tools available in Raspberry Pi Desktop
  • Monitor space with df -h and du -sh

Real-world relevance: Ideal for Pi used as kiosk, IoT node, media center, or server where minimal overhead is crucial.


FAQs – Removing Software on Raspberry Pi

Will removing software break my system?

Noβ€”if you avoid core desktop packages. Stick to known third-party tools and GUI apps.


How can I find what’s using the most space?

Use:

sudo du -ah / | sort -rh | head -n 20

Does apt remove delete config files too?

Not always. Use --purge to remove configs:

sudo apt remove --purge <package>

Can I reinstall removed software later?

Yes. Just run:

sudo apt install <package-name>

Should I remove packages like minecraft-pi or scratch?

Yes, if you’re not using themβ€”they’re safe to remove and take up space.


Share Now :
Share

🧼 Raspberry Pi – Remove Unused Software

Or Copy Link

CONTENTS
Scroll to Top