Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove postgresql ubuntu

sudo apt-get --purge remove postgresql
sudo apt-get purge postgresql*
sudo apt-get --purge remove postgresql postgresql-doc postgresql-common
Comment

how to uninstall postgres from ubantu

sudo apt-get --purge remove postgresql postgresql-*
Comment

how to uninstall postgresql in ubuntu

sudo apt-get --purge remove postgresql postgresql-doc postgresql-common
Comment

uninstall postgresql ubuntu

sudo apt-get --purge remove postgresql
Comment

uninstall postgresql ubuntu

Follow the commands:

sudo apt-get --purge remove postgresql
List all postgres related packages:

dpkg -l | grep postgres
remove all the above listed packages using the command :

apt-get --purge remove package1 package2 ..
Confirm all the files and folders related to postgres/postgresql are deleted using the command :

whereis postgres
whereis postgresql
Remove all the files and folders listed using rm command.

Delete the user postgres using the command :

userdel -f postgres
happy coding :)
Comment

PREVIOUS NEXT
Code Example
Shell :: install git ec2 linux 
Shell :: remove nginx from ubuntu 
Shell :: pip install django storages 
Shell :: restart audio ubuntu 
Shell :: stop nginx ubuntu 
Shell :: yarn emojis 
Shell :: pip upgrade 
Shell :: postgres stop linux 
Shell :: docker install nano 
Shell :: ubuntu extract rar 
Shell :: delete all zone identifier files 
Shell :: upgrade pillow version 
Shell :: mvn clean install skip tests 
Shell :: remove all the containers docker 
Shell :: reset a branch to master 
Shell :: linux check ram frequency 
Shell :: dns flush command 
Shell :: mac terminal find process by port 
Shell :: install chai 
Shell :: install gparted ubuntu 
Shell :: kill port linux 
Shell :: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied) 
Shell :: laravel 8 install composer 
Shell :: Syntax Error: TypeError: this.getOptions is not a function 
Shell :: install pip arch linux 
Shell :: shutdown wsl 
Shell :: crontab logs 
Shell :: how to unistall and reinstall latest composer in mac 
Shell :: install chrome on linux 
Shell :: chocolatey list installed 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =