Removing Firefox-ESR

If none of the more specific forums is the right place to ask
Post Reply
Message
Author
Lonewolf71
Posts: 50
Joined: 2021-06-30 21:38
Been thanked: 2 times

Removing Firefox-ESR

#1 Post by Lonewolf71 »

How do you totally remove Firefox-ESR? It's still in my menu greyed out :?
I completely removed it with Synaptic PM FYI.
https://sendvid.com/n0y44g7h

arzgi
Posts: 795
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 2 times

Re: Removing Firefox-ESR

#2 Post by arzgi »

as root

Code: Select all

apt purge firefox-esr*

Lonewolf71
Posts: 50
Joined: 2021-06-30 21:38
Been thanked: 2 times

Re: Removing Firefox-ESR

#3 Post by Lonewolf71 »

arzgi wrote: 2021-07-20 13:39 as root

Code: Select all

apt purge firefox-esr*

Code: Select all

family@hp-lin:~$ sudo apt purge firefox-esr*
[sudo] password for family: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'firefox-esr-l10n-kab' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-lij' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-mai' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-hy-am' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-son' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-fy-nl' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-trs' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-nn-no' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ca-valencia' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-sv-se' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-bn-bd' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-es-ar' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-bn-in' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-es-cl' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-es-es' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-es-mx' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-pt-br' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-pt-pt' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ga-ie' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-umatrix' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-tree-style-tab' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-nb-no' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-zh-cn' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-zh-tw' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-af' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-an' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ar' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-as' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-az' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-be' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-bg' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-bn' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-br' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-bs' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ca' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-cs' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-cy' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-da' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-de' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-el' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-eo' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-et' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-eu' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-fa' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ff' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-fi' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-fr' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-gd' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-gl' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-gn' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-he' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-hr' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-hu' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ia' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-id' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-is' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-it' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ja' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ka' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-kk' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-km' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-kn' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ko' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-lt' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-lv' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-mk' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ml' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-mr' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ms' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-my' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-nl' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-oc' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-or' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-pl' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-rm' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ro' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ru' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-si' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-sk' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-sl' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-sq' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-sr' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ta' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-te' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-th' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-tl' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-tr' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-hi-in' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-uk' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ur' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-uz' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-vi' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-xh' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ach' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-all' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-noscript' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ast' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-ne-np' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-cak' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-gu-in' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-dsb' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-en-ca' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-en-gb' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-en-za' for glob 'firefox-esr*'
Note, selecting 'firefox-esr' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-pa-in' for glob 'firefox-esr*'
Note, selecting 'firefox-esr-l10n-hsb' for glob 'firefox-esr*'
Package 'firefox-esr-l10n-as' is not installed, so not removed
Note, selecting 'firefox-esr-l10n-bn' instead of 'firefox-esr-l10n-bn-bd'
Note, selecting 'firefox-esr-l10n-bn' instead of 'firefox-esr-l10n-bn-in'
Package 'firefox-esr-l10n-en-za' is not installed, so not removed
Package 'firefox-esr-l10n-mai' is not installed, so not removed
Package 'firefox-esr-l10n-ml' is not installed, so not removed
Package 'firefox-esr-l10n-or' is not installed, so not removed
Note, selecting 'webext-noscript' instead of 'firefox-esr-noscript'
Note, selecting 'webext-treestyletab' instead of 'firefox-esr-tree-style-tab'
Note, selecting 'webext-umatrix' instead of 'firefox-esr-umatrix'
Package 'firefox-esr' is not installed, so not removed
Package 'firefox-esr-l10n-ach' is not installed, so not removed
Package 'firefox-esr-l10n-af' is not installed, so not removed
Package 'firefox-esr-l10n-all' is not installed, so not removed
Package 'firefox-esr-l10n-an' is not installed, so not removed
Package 'firefox-esr-l10n-ar' is not installed, so not removed
Package 'firefox-esr-l10n-ast' is not installed, so not removed
Package 'firefox-esr-l10n-az' is not installed, so not removed
Package 'firefox-esr-l10n-be' is not installed, so not removed
Package 'firefox-esr-l10n-bg' is not installed, so not removed
Package 'firefox-esr-l10n-bn' is not installed, so not removed
Package 'firefox-esr-l10n-br' is not installed, so not removed
Package 'firefox-esr-l10n-bs' is not installed, so not removed
Package 'firefox-esr-l10n-ca' is not installed, so not removed
Package 'firefox-esr-l10n-ca-valencia' is not installed, so not removed
Package 'firefox-esr-l10n-cak' is not installed, so not removed
Package 'firefox-esr-l10n-cs' is not installed, so not removed
Package 'firefox-esr-l10n-cy' is not installed, so not removed
Package 'firefox-esr-l10n-da' is not installed, so not removed
Package 'firefox-esr-l10n-de' is not installed, so not removed
Package 'firefox-esr-l10n-dsb' is not installed, so not removed
Package 'firefox-esr-l10n-el' is not installed, so not removed
Package 'firefox-esr-l10n-en-ca' is not installed, so not removed
Package 'firefox-esr-l10n-en-gb' is not installed, so not removed
Package 'firefox-esr-l10n-eo' is not installed, so not removed
Package 'firefox-esr-l10n-es-ar' is not installed, so not removed
Package 'firefox-esr-l10n-es-cl' is not installed, so not removed
Package 'firefox-esr-l10n-es-es' is not installed, so not removed
Package 'firefox-esr-l10n-es-mx' is not installed, so not removed
Package 'firefox-esr-l10n-et' is not installed, so not removed
Package 'firefox-esr-l10n-eu' is not installed, so not removed
Package 'firefox-esr-l10n-fa' is not installed, so not removed
Package 'firefox-esr-l10n-ff' is not installed, so not removed
Package 'firefox-esr-l10n-fi' is not installed, so not removed
Package 'firefox-esr-l10n-fr' is not installed, so not removed
Package 'firefox-esr-l10n-fy-nl' is not installed, so not removed
Package 'firefox-esr-l10n-ga-ie' is not installed, so not removed
Package 'firefox-esr-l10n-gd' is not installed, so not removed
Package 'firefox-esr-l10n-gl' is not installed, so not removed
Package 'firefox-esr-l10n-gn' is not installed, so not removed
Package 'firefox-esr-l10n-gu-in' is not installed, so not removed
Package 'firefox-esr-l10n-he' is not installed, so not removed
Package 'firefox-esr-l10n-hi-in' is not installed, so not removed
Package 'firefox-esr-l10n-hr' is not installed, so not removed
Package 'firefox-esr-l10n-hsb' is not installed, so not removed
Package 'firefox-esr-l10n-hu' is not installed, so not removed
Package 'firefox-esr-l10n-hy-am' is not installed, so not removed
Package 'firefox-esr-l10n-ia' is not installed, so not removed
Package 'firefox-esr-l10n-id' is not installed, so not removed
Package 'firefox-esr-l10n-is' is not installed, so not removed
Package 'firefox-esr-l10n-it' is not installed, so not removed
Package 'firefox-esr-l10n-ja' is not installed, so not removed
Package 'firefox-esr-l10n-ka' is not installed, so not removed
Package 'firefox-esr-l10n-kab' is not installed, so not removed
Package 'firefox-esr-l10n-kk' is not installed, so not removed
Package 'firefox-esr-l10n-km' is not installed, so not removed
Package 'firefox-esr-l10n-kn' is not installed, so not removed
Package 'firefox-esr-l10n-ko' is not installed, so not removed
Package 'firefox-esr-l10n-lij' is not installed, so not removed
Package 'firefox-esr-l10n-lt' is not installed, so not removed
Package 'firefox-esr-l10n-lv' is not installed, so not removed
Package 'firefox-esr-l10n-mk' is not installed, so not removed
Package 'firefox-esr-l10n-mr' is not installed, so not removed
Package 'firefox-esr-l10n-ms' is not installed, so not removed
Package 'firefox-esr-l10n-my' is not installed, so not removed
Package 'firefox-esr-l10n-nb-no' is not installed, so not removed
Package 'firefox-esr-l10n-ne-np' is not installed, so not removed
Package 'firefox-esr-l10n-nl' is not installed, so not removed
Package 'firefox-esr-l10n-nn-no' is not installed, so not removed
Package 'firefox-esr-l10n-oc' is not installed, so not removed
Package 'firefox-esr-l10n-pa-in' is not installed, so not removed
Package 'firefox-esr-l10n-pl' is not installed, so not removed
Package 'firefox-esr-l10n-pt-br' is not installed, so not removed
Package 'firefox-esr-l10n-pt-pt' is not installed, so not removed
Package 'firefox-esr-l10n-rm' is not installed, so not removed
Package 'firefox-esr-l10n-ro' is not installed, so not removed
Package 'firefox-esr-l10n-ru' is not installed, so not removed
Package 'firefox-esr-l10n-si' is not installed, so not removed
Package 'firefox-esr-l10n-sk' is not installed, so not removed
Package 'firefox-esr-l10n-sl' is not installed, so not removed
Package 'firefox-esr-l10n-son' is not installed, so not removed
Package 'firefox-esr-l10n-sq' is not installed, so not removed
Package 'firefox-esr-l10n-sr' is not installed, so not removed
Package 'firefox-esr-l10n-sv-se' is not installed, so not removed
Package 'firefox-esr-l10n-ta' is not installed, so not removed
Package 'firefox-esr-l10n-te' is not installed, so not removed
Package 'firefox-esr-l10n-th' is not installed, so not removed
Package 'firefox-esr-l10n-tl' is not installed, so not removed
Package 'firefox-esr-l10n-tr' is not installed, so not removed
Package 'firefox-esr-l10n-trs' is not installed, so not removed
Package 'firefox-esr-l10n-uk' is not installed, so not removed
Package 'firefox-esr-l10n-ur' is not installed, so not removed
Package 'firefox-esr-l10n-uz' is not installed, so not removed
Package 'firefox-esr-l10n-vi' is not installed, so not removed
Package 'firefox-esr-l10n-xh' is not installed, so not removed
Package 'firefox-esr-l10n-zh-cn' is not installed, so not removed
Package 'firefox-esr-l10n-zh-tw' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

CwF
Posts: 1094
Joined: 2018-06-20 15:16
Been thanked: 2 times

Re: Removing Firefox-ESR

#4 Post by CwF »

Synaptic has 'Removal' and 'Complete removal' and also in "status" I think a 'Residual Configurations', I don't have any right now...

You likely have an unpurged desktop file causing the menu entry.

Code: Select all

locate firefox.desktop

Lonewolf71
Posts: 50
Joined: 2021-06-30 21:38
Been thanked: 2 times

Re: Removing Firefox-ESR

#5 Post by Lonewolf71 »

CwF wrote: 2021-07-20 15:09 Synaptic has 'Removal' and 'Complete removal' and also in "status" I think a 'Residual Configurations', I don't have any right now...

You likely have an unpurged desktop file causing the menu entry.

Code: Select all

locate firefox.desktop
I watched synaptic as it uninstalled FF, and it purged the files

Terminal tells me command not found

CwF
Posts: 1094
Joined: 2018-06-20 15:16
Been thanked: 2 times

Re: Removing Firefox-ESR

#6 Post by CwF »

I don't follow external links, I didn't catch your DE.
search on locate, install the package, update the database, and maybe run update-menus as root...

possible finds with 'locate'
/usr/share/applications/firefox-esr.desktop
/usr/share/xfce4/helpers/firefox.desktop
etc..

Bulkley
Posts: 6143
Joined: 2006-02-11 18:35

Re: Removing Firefox-ESR

#7 Post by Bulkley »

[quote=Lonewolf71 post_id=739531

Code: Select all

locate firefox.desktop
[/quote]

Terminal tells me command not found
[/quote]

Code: Select all

#  apt install locate

User avatar
craigevil
Posts: 5244
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 2 times
Been thanked: 1 time

Re: Removing Firefox-ESR

#8 Post by craigevil »

try running:

Code: Select all

sudo apt purge ~c
That will purge any leftover configs.
Try looking in /.local/share/applications for leftover desktop file.
Raspberry PI 400 Distro: Raspberry Pi OS (Unstable) Kernel: 5.10.50-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

Lonewolf71
Posts: 50
Joined: 2021-06-30 21:38
Been thanked: 2 times

Re: Removing Firefox-ESR

#9 Post by Lonewolf71 »

I just re-installed it to have a second browser. Thanks

User avatar
stevepusser
Posts: 12401
Joined: 2009-10-06 05:53
Has thanked: 7 times
Been thanked: 5 times

Re: Removing Firefox-ESR

#10 Post by stevepusser »

To clear up some leftover confusion, this is how to get the "locate" command working, assuming you have sudo.

Code: Select all

sudo apt install mlocate && sudo updatedb

Code: Select all

locate <something>
By default, it's case-sensitive. "locate -h" will give you some help.
MX Linux packager and developer

jakoline1
Posts: 40
Joined: 2021-07-06 00:49
Been thanked: 1 time

Re: Removing Firefox-ESR

#11 Post by jakoline1 »

You can't completely remove Firefox, it's like a system package, the same goes for LibreOffice, you will most likely end up with a semi-broken system due to losing many essential dependencies, or you will face issues the next time you try to install anything new.

Gnu/Linux uses a dependency ecosystem where each package is dependent upon other packages, packages that were brought during distro installation are usually difficult to remove.

If you want a minimal system then use Debian net-install CD and un-tick "Debian Desktop Environment" if asked, after installation you will only be able to boot into a command line, use that to install exactly the things you like while avoiding the things you don't.

I think this *should* work, unless mate-desktop-environment-core requires firefox-esr, that would be a problem.
mate-desktop-environment-core:

This package depends on a very basic set of programs that are necessary to start a MATE desktop environment session. The set of programs includes the MATE window manager (Marco), the MATE file manager (Caja), the MATE control center and a limited set of other obligatory MATE desktop components.
(See https://packages.debian.org/buster/mate ... nment-core for info about mate-core)

User avatar
Hallvor
Posts: 1175
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 3 times
Been thanked: 2 times

Re: Removing Firefox-ESR

#12 Post by Hallvor »

Firefox ESR isn't Internet Explorer. Of course you can remove it.

Even packages that are part of larger metapackages can be removed with this combination (at least it worked last time I tried it :wink: ):

Code: Select all

# apt-get remove nameofpackage
# aptitude keep-all
This way you can remove a single package without removing the entire metapackage. This also means no nasty surprises if you run apt autoremove, because it resets/keeps all packages that are marked for removal.
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Bullseye (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Bullseye (KDE)

Post Reply