Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

apt install postgres client

sudo apt install postgresql 
Comment

install postgres on linux

sudo apt-get install postgresql
Comment

install postgres ubuntu

# from the official postgresql site: https://www.postgresql.org/download/linux/ubuntu/
# this will install the latest version of the postgresql.

# Create the file repository configuration:
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

# Import the repository signing key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

# Update the package lists:
sudo apt-get update

# Install the latest version of PostgreSQL.
# If you want a specific version, use 'postgresql-12' or similar instead of 'postgresql':
sudo apt-get -y install postgresql
Comment

PREVIOUS NEXT
Code Example
Shell :: git stash pop index 
Shell :: get your ip address from terminal 
Shell :: venv deactivate 
Shell :: Failure while executing; git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1 exited with 128. 
Shell :: git cherry pick resolve conflict 
Shell :: run specific migration file django 
Shell :: kubernetes delete everything 
Shell :: cannot find module json-loader 
Shell :: how to exit vim 
Shell :: composer install global 
Shell :: ubuntu make sh file executable 
Shell :: find pip install directory 
Shell :: git fetch and checkout branch 
Shell :: zsh check if file exists 
Shell :: gcloud switch projects 
Shell :: Pyrit download command for linux 
Shell :: delete all containers created x hours ago 
Shell :: install docker wsl 
Shell :: add user to group linux 
Shell :: git ignore changes to file 
Shell :: add a cookie to curl 
Shell :: linux unzip tar.gz 
Shell :: search commit git 
Shell :: how to exit git rebase 
Shell :: is there any difference between git push and git push origin master 
Shell :: terminal not opening ubuntu 
Shell :: microsoft todo for linux 
Shell :: how to change my git default editor to vs code 
Shell :: linux bash clear log file space 
Shell :: shell script while loop example 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =