How to install and use ARPACK++ on Ubuntu 20.04 LTS?

Solution 1:

You have to install the relevant packages from Ubuntu universe pocket of repositories.

At first add universe pocket by

sudo add-apt-repository universe

and then install

sudo apt-get install libarpack2-dev libparpack2-dev

And for C++

sudo apt-get install libarpack++2-dev

Then you can start developing software using these libraries. Good places to get documentation:

  • /usr/share/doc/libarpack2-dev
  • /usr/share/doc/libparpack2-dev
  • /usr/share/doc/libarpack++2-dev

and official web-sites which are already listed in the question.