Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Steps to build/package PBS on Debian/Ubuntu are listed below -

Method 1 - Using Debian native method.

  1. Download PBS source from github.
  2. cd to pbspro/
  3. Install the packages listed in debian/control filedependencies.
    1. apt-get install debhelper build-essential autotools-dev gcc automake autoconf comerr-dev libhwloc-dev libx11-dev x11proto-core-dev libxt-dev libedit-dev libical-dev libncurses-dev perl libpq-dev libpython2.7-minimal:amd64 libpython2.7-dev tcl-dev tk-dev swig dpkg-dev libexpat-dev libssl-dev zlib1g-dev:amd64 libxt-dev:amd64 libxext-dev libxft-dev dh-make debhelper devscripts fakeroot xutils lintian

  4. run ./
  5. run ./configure
  6. run make dist.
  7. Step 6 will create pbspro-<version>.tar.gz
  8. Copy the pbspro-<version>.tar.gz to a two-level directory, e.g. ../build/build/
  9. Extract the pbspro-<version>.tar.gz
  10. cd to pbspro-<version> directory.
  11. run dh_make
    1. As debian/ directory is already present, we need to run dh_make --createorig -m
    2. This will create files required by build/packaging machinery in the parent directory.
  12. run dpkg-buildpackage -rfakeroot -uc -us
  13. Step 12 will create the .deb files in the parent directory.

Method 2 -

  1. Install rpmbuild package.
  2. Follow steps 1-5 from Method 1 above.
  3. Build rpm using rpmbuild. Steps described here.
  4. convert the rpm packages to deb using alien.
    1. alien --to-deb --scripts /path/to/rpm/pbspro-server-*.x86_64.rpm

Steps to install PBS from the deb files


  1. Install the required deb package using dpkg.
    1. #dpkg -i <.deb>
  2. Step 1 installation will not be successful, if the dependencies are not already installed. To install dependencies now -
    1. apt-get -f install
  3. Step 2 will install the dependencies, complete PBS installation, run the postinstall script and setup pbs.conf file.
  4. Update the /etc/pbs.conf as per requirements
  5. Update /etc/hosts file.
  6. Start PBS
    1. /etc/init.d/pbs start