+4 votes
271 views
Uninstall Nginx Ubuntu

in Linux / Unix by (550k points)
reopened | 271 views

1 Answer

+5 votes
Best answer

How to uninstall Nginx in Ubuntu 21.04

In our computer we like to have the best programs and services, so that in this way we are comfortable during its use and we can access all those functions that we need. That is why we normally download a quantity of them..

 

 

One of the most complete solutions for creating and managing web servers is Nginx. This is a functional option to have the best utilities for these types of sites, and not just websites. This is because Nginx allows us to mount proxy servers for mail or a TCP / UDP proxy server with ease and scalability.

 

Nginx is one of the many current options for this type of work, so it is possible that the moment will come when we want to try new options or simply no longer require more of this type of application in Ubuntu. If this is the current scenario, TechnoWikis will give you the step by step to uninstall Nginx on Ubuntu , in this case 21.04..

 

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

 

 

How to uninstall Nginx in Ubuntu 21.04

 

Step 1

In Ubuntu we go to the terminal and validate the version of Nginx used with the command:
 nginx -v 

image

 

Step 2

To remove Nginx from the system we will execute the following command:
 sudo apt remove nginx nginx-common 

image

 

Step 3

We confirm this process with the S key and at the end we will see the following:

 

 

image

 

Step 4

Now we will use the purge command to delete the packages that have been loose from the system, this operation is carried out with the following command:
 sudo apt purge nginx nginx-common 

image

 

Step 5

We confirm this process with the letter S:

 

image

 

Step 6

Now we are going to clean all the residues of the uninstallation with the following command:
 sudo apt autoremove 

image

 

Step 7

To validate that Nginx has been uninstalled from Ubuntu 21.04, we execute the following:
 nginx -v 

image

 

As we can see, Nginx has been removed from Ubuntu 21.04 correctly.

 


by (3.5m points)

Related questions

+3 votes
1 answer
asked Jul 6, 2020 in Linux / Unix by backtothefuture (550k points) | 721 views
+3 votes
1 answer
asked Oct 19, 2020 in Linux / Unix by backtothefuture (550k points) | 314 views
+3 votes
1 answer
asked Oct 19, 2020 in Linux / Unix by backtothefuture (550k points) | 634 views
+4 votes
1 answer
asked Sep 30, 2020 in Linux / Unix by backtothefuture (550k points) | 1.6k views
+4 votes
1 answer
asked Sep 30, 2020 in Linux / Unix by backtothefuture (550k points) | 557 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,627 questions
10,759 answers
510 comments
3 users