How to install OpenPBS 20.0.1 on ubuntu

Anar Mammadli
3 min readJul 28, 2021
OpenPBS on ubuntu

I tried so much to install new version of OpenPBS and I encountered many errors. I will tell them so you can install easily.

Section 1 — Install Packages

sudo apt-get install gcc make libtool libhwloc-dev libx11-dev libxt-dev libedit-dev libical-dev ncurses-dev perl python-dev tcl-dev tk-dev swig libexpat-dev libssl-dev libxext-dev libxft-dev autoconf automake

Section 2 — Install PostgreSQL

We have to install PostgreSQL . I recommend to install PostgreSQL seperately.

# 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

sudo apt-get -y install postgresql

If you want another version, you can use ‘postgresql-12’ instead of postgresql like this:

sudo apt-get -y install postgresql-12

Install dependencies

sudo apt-get install postgresql-server-dev-all
sudo apt-get install postgresql-contrib

--

--