Skip to content

Instantly share code, notes, and snippets.

@NickSeagull
Last active January 23, 2026 15:50
Show Gist options
  • Select an option

  • Save NickSeagull/ed43a80db6a54d69ded3e18f8babaf19 to your computer and use it in GitHub Desktop.

Select an option

Save NickSeagull/ed43a80db6a54d69ded3e18f8babaf19 to your computer and use it in GitHub Desktop.
Updated Jan 22nd, 2024 - Simple command to remove all "bloatware" from ubuntu
sudo apt-get remove \
aisleriot \
brltty \
duplicity \
empathy \
empathy-common \
example-content \
gnome-accessibility-themes \
gnome-contacts \
gnome-mahjongg \
gnome-mines \
gnome-orca \
gnome-screensaver \
gnome-sudoku \
gnome-video-effects \
landscape-common \
libreoffice-avmedia-backend-gstreamer \
libreoffice-base-core \
libreoffice-calc \
libreoffice-common \
libreoffice-core \
libreoffice-draw \
libreoffice-gnome \
libreoffice-gtk \
libreoffice-impress \
libreoffice-math \
libreoffice-ogltrans \
libreoffice-pdfimport \
libreoffice-style-galaxy \
libreoffice-style-human \
libreoffice-writer \
libsane \
libsane-common \
python3-uno \
rhythmbox \
rhythmbox-plugins \
rhythmbox-plugin-zeitgeist \
sane-utils \
shotwell \
shotwell-common \
telepathy-gabble \
telepathy-haze \
telepathy-idle \
telepathy-indicator \
telepathy-logger \
telepathy-mission-control-5 \
telepathy-salut \
totem \
totem-common \
totem-plugins \
printer-driver-brlaser \
printer-driver-foo2zjs \
printer-driver-foo2zjs-common \
printer-driver-m2300w \
printer-driver-ptouch \
printer-driver-splix
@pepe-verde
Copy link
Copy Markdown

@pepe-verde Lubuntu is roughly speaking Ubuntu server with the LXDE environment. It should work, although maybe there are some packages in this line of code that will be missing.

Thank you so much Nick! I'll try the sudo apt-get remove option first and if not then consider switching to ArchLinux. Wish me luck :)

@masterleo
Copy link
Copy Markdown

Maybe add mines majong and sudoku as this was not removed on 22.04 and this was top google result.

@masterleo
Copy link
Copy Markdown

masterleo commented Apr 29, 2023

the remaing pakets :
aisleriot brltty cheese deja-dup duplicity gnome-accessibility-themes
gnome-mahjongg gnome-mines gnome-sudoku gnome-video-effects

@SagXD
Copy link
Copy Markdown

SagXD commented Jun 22, 2023

Thanks

@NickSeagull
Copy link
Copy Markdown
Author

If someone wants to make a full command here that works, I'll happily replace the one above so its updated :)

@matwritescode
Copy link
Copy Markdown

This command works in bash on ubuntu 22.04LTS as of 4th of jan 2024, I split it into multiple lines for easy removal/addition in future:

sudo apt-get remove                   \
aisleriot                             \
brltty                                \
duplicity                             \
empathy                               \
empathy-common                        \
example-content                       \
gnome-accessibility-themes            \
gnome-contacts                        \
gnome-mahjongg                        \
gnome-mines                           \
gnome-orca                            \
gnome-screensaver                     \
gnome-sudoku                          \
gnome-video-effects                   \
landscape-common                      \
libreoffice-avmedia-backend-gstreamer \
libreoffice-base-core                 \
libreoffice-calc                      \
libreoffice-common                    \
libreoffice-core                      \
libreoffice-draw                      \
libreoffice-gnome                     \
libreoffice-gtk                       \
libreoffice-impress                   \
libreoffice-math                      \
libreoffice-ogltrans                  \
libreoffice-pdfimport                 \
libreoffice-style-galaxy              \
libreoffice-style-human               \
libreoffice-writer                    \
libsane                               \
libsane-common                        \
python3-uno                           \
rhythmbox                             \
rhythmbox-plugins                     \
rhythmbox-plugin-zeitgeist            \
sane-utils                            \
shotwell                              \
shotwell-common                       \
telepathy-gabble                      \
telepathy-haze                        \
telepathy-idle                        \
telepathy-indicator                   \
telepathy-logger                      \
telepathy-mission-control-5           \
telepathy-salut                       \
totem                                 \
totem-common                          \
totem-plugins                         \
printer-driver-brlaser                \
printer-driver-foo2zjs                \
printer-driver-foo2zjs-common         \
printer-driver-m2300w                 \
printer-driver-ptouch                 \
printer-driver-splix

@NickSeagull
Copy link
Copy Markdown
Author

Thanks @mdemerson

@CalvinWorst
Copy link
Copy Markdown

CalvinWorst commented Feb 9, 2024

@NickSeagull just a heads up, I will be including this command in a blog post here soon. Was trying to get an Ubuntu VM up and running for a Workshop I hosted and your command came in handy when dealing with performance issues.
The blog will be up sometime next week on my LinkedIn page: LinkedIn.com/in/CalvinWorst

Edit: typo

@NickSeagull
Copy link
Copy Markdown
Author

Lovely, glad that this has been useful @CalvinWorst :)

@Muthukamalan
Copy link
Copy Markdown

for 24.04 LTS?

@vincentfenet
Copy link
Copy Markdown

sudo apt-get remove                   \
aisleriot                             \
brltty                                \
duplicity                             \
example-content                       \
gnome-accessibility-themes            \
gnome-contacts                        \
gnome-mahjongg                        \
gnome-mines                           \
gnome-screensaver                     \
gnome-sudoku                          \
gnome-video-effects                   \
gnome-calculator                      \
gnome-calendar                        \
gnome-camera                          \
gnome-text-editor                     \
gnome-remote-desktop                  \
gnome-clocks                          \
gnome-characters                      \
gnome-snapshot                        \
byobu                                 \
vim\*                                 \
transmission\*                        \
landscape-common                      \
libreoffice\*                         \
libsane-common                        \
python3-uno                           \
rhythmbox\*                           \
sane-utils                            \
shotwell                              \
shotwell-common                       \
telepathy\*                           \
totem\*                               \
printer-driver-\*                     \
thunderbird\*                         \
remmina\*
sudo apt autoremove
sudo snap remove thunderbird

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment