+3 votes
635 views
Uninstall Firefox Ubuntu Terminal | Commands

in Linux / Unix by (551k points)
reopened | 635 views

1 Answer

+4 votes
Best answer

Uninstall Firefox in Ubuntu from terminal

Firefox is the default browser on Linux systems due to its various features and functions, but with all the options currently available it is likely that some users want to use other browsers such as Google Chrome , Opera, Tor, etc., and uninstall Firefox from Linux , in this case Ubuntu, but this process requires some additional steps that we will explain in detail at TechnoWikis..

 

Browsers are necessary to be able to access Internet content and within here we have various options that have been expanded over time. Among the options, Firefox Linux is one that has been evolving and adapting to different operating systems. But if in your case you prefer to do without it, we will tell you how to uninstall Firefox from Linux with commands.

 

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

 

Uninstall Firefox in Ubuntu from terminal

 

Step 1

The first thing is to access the terminal in Ubuntu, then there we execute the following command:
 sudo apt purge firefox 
image

 

 

Step 2

We enter our administrator password and then we must confirm the removal of Firefox by entering the letter S:

 

image

 

 

Step 3

At the end of this process we will see the following:

 

image

 

 

Step 4

We can see that access to Firefox from the Ubuntu desktop has been removed:

 

image

 

 

Step 5

Even so, there are certain files that we must remove from Firefox, in the terminal we enter the following command to list the content:
 ls -a 
image

 

 

Step 6

There we can see that the object exists. mozilla, we must remove it with the following command:
 rm -r .mozilla / 
image

 

 

Step 7

We validate that it has been removed with ls -a:

 

 

image

 

 

Step 8

Now we access the / etc directory with the following line:
 cd / etc 
Step 9

We list the content with ls -a to see if there are associated Firefox files:

 

 

image

 

 

Step 10

In this case we have the file "firefox", we delete it with the following command:
 rm -r firefox / 
Step 11

A series of questions will be launched to remove all the dependencies, in case of an error due to permissions in any of them we must execute it with "sudo":

 

 

 

image

 

 

Step 12

Now we will go to the / usr / lib directory:
 cd / usr / lib 
image

 

 

Step 13

There we check the Firefox files, we delete it with the command:
 sudo rm -r mozilla / 
image

 

 

So we have completely removed Firefox from Ubuntu..

 


by (3.5m points)

Related questions

+3 votes
1 answer
asked Oct 19, 2020 in Linux / Unix by backtothefuture (551k points) | 315 views
+5 votes
1 answer
asked Nov 17, 2019 in Linux / Unix by backtothefuture (551k points) | 485 views
+3 votes
1 answer
+5 votes
1 answer
asked Nov 14, 2019 in Linux / Unix by backtothefuture (551k points) | 247 views
+5 votes
2 answers
asked Aug 23, 2019 in Linux / Unix by backtothefuture (551k points) | 509 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,632 questions
10,764 answers
510 comments
3 users