Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Raspberry Pi – Remove Default Apps

Posted on July 19, 2017March 26, 2019 By David Kittell

If you setup your Raspberry Pi using the NOOBs installer you likely have various apps that you don’t want to keep.

This script below will remove many of the preinstalled applications.

  • wolfram-engine
  • bluej
  • geany
  • greenfoot
  • nodered
  • nuscratch
  • scratch
  • sonic-pi
  • libreoffice
  • claws-mail
  • claws-mail-i18n
  • minecraft-pi
  • pygame
for i in wolfram-engine \
 bluej \
 Greenfoot \
 nodered \
 nuscratch \
 scratch \
 sonic-pi* \
 libreoffice* \
 claws-mail \
 claws-mail-i18n \
 minecraft-pi \
 *pygame \
 geany \
 geany-common \
 penguinspuzzle \
 *pgzero; do
sudo apt remove -y --purge  $i
done
sudo apt autoremove -y
sudo apt-get update && sudo apt-get upgrade -y
sudo reboot

If you are running as a server you may also want to remove the user interface (Gnome)

sudo apt-get remove task-desktop -y
sudo tasksel remove gnome-desktop
sudo apt-get --purge autoremove -y
Originally Posted on July 19, 2017
Last Updated on March 26, 2019
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code Raspberry Pi Raspbian (Raspberry Pi OS) Ubuntu UNIX UNIX Shell Scripts

Post navigation

Previous post
Next post

Related Posts

Red Hat – Check Subscription / Register Server

Posted on February 21, 2017February 25, 2021

Check subscription manager status sudo -s # If in Docker not needed if [ "$(subscription-manager status| grep "Overall Status")" != "Overall Status: Unknown" ]; then clear echo "Properly Registered" else echo -e "Needs Registered\n\nPlease get with your server team to register this server" $SHELL fi sudo -s # If in…

Read More

PowerShell – Get Windows Product Key

Posted on November 3, 2015

clear function Get-WindowsKey { ## function to retrieve the Windows Product Key from any PC param ($targets = ".") $hklm = 2147483650 $regPath = "Software\Microsoft\Windows NT\CurrentVersion" $regValue = "DigitalProductId" Foreach ($target in $targets) { $productKey = $null $win32os = $null $wmi = [WMIClass]"\\$target\root\default:stdRegProv" $data = $wmi.GetBinaryValue($hklm,$regPath,$regValue) $binArray = ($data.uValue)[52..66] $charsArray…

Read More

Raspberry Pi – Debian – Ad Block Service

Posted on September 7, 2017December 2, 2024

The code below will assist you in creating one or more Raspberry Pi ad block service DNS servers. Equipment List: 2 (suggested but you can do it with one) Raspberry Pi Microcomputers Raspberry Pi 3B+ (or better) are recommended (look at CanaKit (http://amzn.to/2vxgLLD)) 1 USB Keyboard and USB Mouse 1…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • PowerShell - IIS Remove Site
  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - FTP Upload Directory With Sub-Directories

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • PowerShell - IIS Remove Site
  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - FTP Upload Directory With Sub-Directories
  • Raspberry Pi - Remove Default Apps
  • PowerShell - Change Windows CD/DVD Drive Letter
©2025 David Kittell | WordPress Theme by SuperbThemes