Removing Thunderbird?

Skybear

Active Member
Joined
Mar 7, 2026
Messages
197
Reaction score
152
Credits
1,550
I just installed Ubuntu on a VM. I don’t need Thunderbird and would like to remove it. In my reading I’ve come across the “remove” and “purge” commands and I think I understand the difference: “remove” deletes just the program but “purge” removes the program and those files that are connected to it. But I’m new to using Ubuntu and to those commands so I thought I’d ask before doing anything.
 


If this were my pc, I would delete it via the software centre (is that the correct name for software manager in Ubuntu?),,,followed by :

Code:
 sudo apt-get clean
 
  sudo apt-get autoremove --purge

if you wish to see how much disk space is taken up by logs after using the above"

journalctl --disk-usage

mine shows 146.6MB

If you wish to reduce whatever yours is to 100MB....

sudo journalctl --vacuum-size=100M
 
I just installed Ubuntu on a VM. I don’t need Thunderbird and would like to remove it. In my reading I’ve come across the “remove” and “purge” commands and I think I understand the difference: “remove” deletes just the program but “purge” removes the program and those files that are connected to it. But I’m new to using Ubuntu and to those commands so I thought I’d ask before doing anything.
The "remove" option to apt or apt-get will remove a package, but it only removes the package files that were installed when the package was installed. Configuration files may have been set up, or altered after the original installation, so the remove option doesn't remove those configuration files or configuration files in general.

The "purge" option removes configuration files in addition to the other files that a package installs.

Here is an example on a machine here:
First run a command to show which removed packages have left configuration files on the machine:
Code:
[root]# apt list '?config-files'
linux-image-7.0.4+deb14-amd64/now 7.0.4-1 amd64 [residual-config]
linux-image-7.0.7+deb14-amd64/now 7.0.7-1 amd64 [residual-config]

The output actually lets the user know there are config files left, in this case for the two linux-image packages shown in this case.

Next one can run apt with the purge option on one of those packages:
Code:
[root]# apt purge linux-image-7.0.4+deb14-amd64
<snip>
REMOVING:
  linux-image-7.0.4+deb14-amd64*

Summary:
  Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
  Space needed: 0 B / 421 GB available

Continue? [Y/n]
(Reading database… 292632 files and directories currently installed.)
Purging configuration files for linux-image-7.0.4+deb14-amd64 (7.0.4-1)…

Now we expect that no configuration files for the package just purged: linux-image-7.0.4+deb14-amd64, will be left on the machine,which is shown in the output by running the command to show remaining configuration files:
Code:
[root]# apt list '?config-files'
linux-image-7.0.7+deb14-amd64/now 7.0.7-1 amd64 [residual-config]
The only configuration files left are those for the other linux-image package which hasn't as yet been purged.

In the case of thunderbird, perhaps first check what depends on it. I don't have it installed, but the following command will show what depends on thunderbird:
Code:
apt rdepends thunderbird
If you are happy to have all or any of those dependencies also removed, then it's easy to remove thunderbird. One doesn't need to check this because the apt or apt-get package manager can let the user know what will be removed when the removal command is run. The above examples may provide some means to get a bit more information than just running the GUI apps that can remove packages. Users interests in these matters varies :-)
 
Last edited:
Guys, I don't run "mainstream" stuff (as you know) - thus, I'm not that 'current' on how the major package managers work - but.....hasn't Ubuntu always included T-Bird as an OOTB "built-in", as part of the ISO / image? I know they used to, back in the days of "Precise" & "Trusty".

Doesn't that require a rather different procedure to that of removing items the user has installed themselves?

Genuinely curious here.


Mike.
hmm.gif
 
Guys, I don't run "mainstream" stuff (as you know) - thus, I'm not that 'current' on how the major package managers work - but.....hasn't Ubuntu always included T-Bird as an OOTB "built-in", as part of the ISO / image? I know they used to, back in the days of "Precise" & "Trusty".
Every distribution besides Arch, Gentoo and NixOS ships with a set of package defaults which usually includes a web-browser(Firefox most of the time) and a e-mail client(Thunderbird or Evolution usually).
 
I realise now that I was a little too eager to use the Purge command. It looks like there’s a lot left over and I’m not sure how to proceed:

Code:
[root]~$ sudo apt purge thunderbird
[sudo: authenticate] Password:     
REMOVING:                       
  thunderbird*

Summary:
  Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
  Freed space: 64.5 kB

Continue? [Y/n] y
(Reading database… 190657 files and directories currently installed.)
Removing thunderbird (2:1snap1-0ubuntu5)…
Processing triggers for gnome-menus (3.38.1-1ubuntu1)…
Processing triggers for desktop-file-utils (0.28-1build1)…
(Reading database… 190651 files and directories currently installed.)
Purging configuration files for thunderbird (2:1snap1-0ubuntu5)…
skybear@skybear-ubuntu:~$ apt list thunderbird
thunderbird/resolute 2:1snap1-0ubuntu5 arm64
skybear@skybear-ubuntu:~$ apt rdepends thunderbird
thunderbird
Reverse Depends:
  Depends: webext-xnotepp (>= 1:102.2)
  Suggests: libreoffice
  Recommends: xubuntu-desktop
  Depends: webext-folder-account (>= 1:136)
  Depends: webext-dispmua (>= 1:115.10)
  Conflicts: libsequoia-octopus-librnp (<< 1:102~)
  Suggests: ukui-desktop-environment
  Recommends: task-japanese-gnome-flashback-desktop
  Recommends: task-japanese-gnome-desktop
  Suggests: myspell-tl
  Suggests: myspell-es
  Suggests: myspell-da
  Suggests: mate-desktop-environment
 |Recommends: lxqt
  Enhances: libsequoia-octopus-librnp (>= 1:102~)
  Suggests: libsequoia-octopus-librnp (>= 1:102~)
  Breaks: indicator-messages (<< 15.0+build1-0ubuntu1~)
  Suggests: libreoffice
  Depends: thunderbird-locale-af (>= 2:1snap1-0ubuntu5)
  Recommends: edubuntu-desktop-raspi
  Recommends: edubuntu-desktop-minimal
  Recommends: edubuntu-desktop
 |Recommends: cinnamon-desktop-environment
 |Suggests: caja-sendto
  Depends: birdtray
  Recommends: ubuntu-desktop
  Depends: thunderbird-locale-zh-tw (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-zh-hant (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-zh-hans (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-zh-cn (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-vi (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-uz (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-uk (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-tr (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-th (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ta-lk (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ta (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-sv-se (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-sv (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-sr (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-sq (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-sl (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-sk (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-si (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ru (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ro (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-rm (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-pt-pt (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-pt-br (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-pt (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-pl (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-pa-in (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-pa (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-nn-no (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-nn (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-nl (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-nb-no (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-nb (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ms (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-mk (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-lv (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-lt (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ko (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-kk (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-kab (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ka (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ja (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-it (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-is (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-id (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-hy (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-hu (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-hsb (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-hr (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-he (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-gl (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-gd (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ga-ie (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ga (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-fy-nl (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-fy (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-fr (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-fi (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-fa (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-eu (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-et (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-es-es (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-es-ar (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-es (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-en-us (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-en-gb (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-en (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-el (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-dsb (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-de (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-da (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-cy (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-cs (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-cak (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ca (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-br (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-bn-bd (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-bn (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-bg (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-be (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ast (>= 2:1snap1-0ubuntu5)
  Depends: thunderbird-locale-ar (>= 2:1snap1-0ubuntu5)
  Breaks: hunspell-eu (<< 2.0.0.1+0dfsg-0)
  Suggests: myspell-fo
  Suggests: hunspell-eu
  Conflicts: hunspell-en-us (<< 2.0.0.1+dfsg-0)
  Suggests: hunspell-be
  Suggests: hunspell-ca
[root]:~$ apt purge thunderbird/resolute 2
Error: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
Error: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
 
 
If I'm not mistaken Thunderbird in Ubuntu is a snap program and must be removed as such.
run the command
Code:
snap list
to find out. if Thunderbird is listed there then you'll have to uninstall it with the snap command
Code:
sudo snap remove thunderbird
This will uninstall thunderbird snap and all it's dependencies since they are all included in the snap package.
 
Last edited:


Follow Linux.org

Staff online

Members online


Latest posts

Top