Installing OpenVAS 9 on Ubuntu 16.04 LTS

I managed to get OpenVAS 9 installed on Ubuntu 16.04 LTS from source, but found a few bugs on the way:

  1. OpenVAS Manager.
    a) Running ‘make doc’ fails and says i. Error with producer ‘SQL::Translator::Producer::HTML’ : Can’t locate CGI/ in @INC’. I believe CGI/Pretty plugin is deprecated.
    b) Work around. Commented out lines in doc/CMakeFiles/doc.dir/build.make, lines 59, 75-76, 103 so it doesn’t install the pretty html files.
    c) Requirement not listed in INSTALL: libgd-gd2-perl.

  2. Security Assistant 8.0.3
    a) Running ‘make’ on code: IOError: Syntax error in po file (line 430)
    src/po/CMakeFiles/gettext-json.dir/build.make:74: recipe for target ‘src/po/gsad-fr.json’ failed|
    b) Work around. Comment out lines in src/po/CMakeFiles/gettext-json.dir/build.make, lines 58,73-75, 96.
    b) Create an empty src/po/gsad-fr.json file using touch, before running ‘make install’.

  3. GVM tools.
    a) Running ‘python3 install’ fails. No module named ‘setuptools’
    b) I am running python 3.5 and have the setuptools module already installed (v20.7.0-1).


thanks for the details. You may create issues for gvmd and gsa at github to get them fixed



Should be 7.0.3 I suppose.

Please check if python3 -c "import setuptools" fails. If it returns a traceback setuptools is not installed in your current PYTHONPATH.

1 Like

The GSA / .po issue has been reported a few times at the mentioned issue tracker:

[7.0.3] Build fails with po file error · Issue #498 · greenbone/gsa · GitHub, [gsa-7.0] error during the make process · Issue #464 · greenbone/gsa · GitHub, Error in make for gsa-7.0.3 · Issue #510 · greenbone/gsa · GitHub, was fixed few months ago and need a new release of the GSA package:

1 Like

I managed to resolve the problem, as different packages need to installed first before you can run the script:
apt-get install python3-setuptools libffi-dev python3-dev
python3 install
python3 install --user

Now installs okay.

1 Like