FOSSology on Ubuntu

FOSSology works on Ubuntu. If packages are not available for the Ubuntu release of interest, a source build and install should work.

For the current release, the FOSSology project has built unofficial Unbuntu packages for 32 bit and 64 bit systems. Follow the instructions below.

Maverick Meerkat (10.10)

To install the unofficial packages add the following line to /etc/apt/sources.list

deb http://fossology.org/debian/ubuntu/1.4.1/maverick/ ./

Then update the apt sources and install

sudo apt-get update
sudo apt-get upgrade (if FOSSology is already installed)
sudo apt-get install fossology (if fossology is not installed)

Ubuntu Lucid Lynx (10.04)

To install the unofficial packages add the following line to /etc/apt/sources.list

deb http://fossology.org/debian/ubuntu/1.4.1/lucid/ ./

Then update the apt sources and install

sudo apt-get update
sudo apt-get upgrade (if FOSSology is already installed)
sudo apt-get install fossology (if fossology is not installed)

Ubuntu karmic koala (9.10)

An older unsupported version of fossology (1.1.0) is available in karmic koala, no additional apt source is necessary. (The FOSSology team does not recommend that the old release (1.1.0) be used. ) You can just

apt-get install fossology

The FOSSology team does not recommend that the old release (1.1.0) be used. See below for details on using unofficial Ubuntu packages.

To install the unofficial packages add the following line to /etc/apt/sources.list

deb http://fossology.org/debian/ubuntu/1.4.1/karmic/ ./

Then update the apt sources and install

sudo apt-get update
sudo apt-get upgrade fossology (if FOSSology is already installed)
sudo apt-get install fossology (if fossology is not installed)

Installing FOSSology on Ubuntu

The Ubuntu packages for FOSSology 1.4.1 (Karmic, Lucid, Maverick) can be downloaded from http://www.fossology.org/debian/ubuntu/1.4.1/.

Alternatively, you can do an upstream install. Here are the details.

  • Install the source
    svn co https://fossology.svn.sourceforge.net/svnroot/fossology/tags/1.4.1
  • run fo-installdeps
    cd 1.4.1; sudo utils/fo-installdeps
  • make sure the rpm command was installed in the step above. If not, install it with:
    sudo apt-get install rpm
  • Make & Install the sources
    make;sudo make install
  • run fo-postinstall and examine the output to make sure it ran with no errors.
    sudo /usr/local/lib/fossology/fo-postinstall > po.out 2>&1
  • The INSTALL file (referred to in the resulting output from above) can be found in install/INSTALL
  • run the scheduler test to make sure everything is OK, this will make the copyright tables in the db.
    sudo /usr/local/lib/fossology/fossology-scheduler -t -L stdout
  • If the scheduler reports no issues all OK, then start the scheduler and start using FOSSology.
    sudo /etc/init.d/fossology start

Ubuntu1110 Install Notes

Changed fo-installdeps to recongnize oneiric, except for libextractor... that failed.

After running installdeps, tried to compile, need libpq*. This was due to the fact that postgres did not get installed, nor php it looks like.

Must use Runtime option as well. Still need to install postgresql-server-dev-9.1 to get libpq.

Still get compile errors.(libfossdb).