Wednesday, March 30, 2016

software installation - How to install nwchem by adding a launchpad source (not PPA)


I want to install NWChem (a molecular simulation package) and the link given for Ubuntu in their website is: https://launchpad.net/ubuntu/+source/nwchem.


Can you please let me know how to add it to the sources file, so that I can use apt to install it?


I tried for the ppa but I could not find any at all.



Just simply run:


sudo apt install nwchem

it's a supported package which already exist in official repository, and the link you provide is the source of it.


The fact is that you already have access to the source of this package, if you want to download the source you can run:


apt source --download-only nwchem

And if you want to compile and install it from source code:



  1. first install the built dependencies.


    sudo apt build-dep nwchem

  2. then use this command to fetch and compile nwchem


    apt source --compile nwchem

  3. then install it:


    sudo dpkg -i nwchem-version.deb


or you can use things like gdebi to handle dependencies too.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...