package fetching at Debian 11 Bullseye

Discussion about building and installing Elmer
Post Reply
hvihriala
Posts: 1
Joined: 06 Oct 2023, 15:06
Antispam: Yes

package fetching at Debian 11 Bullseye

Post by hvihriala »

Hello to All,

When I try to fetch the packages, I get a following warning:

$ sudo add-apt-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
Archive for the monolithic Elmer FEM software ubuntu packages.
More info: https://launchpad.net/~elmer-csc-ubuntu ... er-csc-ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpovq0uwkl/pubring.gpg' created
gpg: /tmp/tmpovq0uwkl/trustdb.gpg: trustdb created
gpg: key 89358ABF9FB7E178: public key "Launchpad PPA for Elmer CSC ubuntu packaging" imported
gpg: Total number processed: 1
gpg: imported: 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: no valid OpenPGP data found.

and then

$ sudo apt-get install elmerfem-csc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package elmerfem-csc

Could you please suggest, how I continue from here?

I am running Debian GNU/Linux 11 (bullseye)

BR,
Harri Vihriälä
kevinarden
Posts: 2315
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: package fetching at Debian 11 Bullseye

Post by kevinarden »

I would say the first command did not install the PPA and therefore no package was found
kevinarden
Posts: 2315
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: package fetching at Debian 11 Bullseye

Post by kevinarden »

Installed Debian 12 could not get the PPA to work, this procedure compiled

sudo apt install git cmake build-essential gfortran libopenmpi-dev libblas-dev liblapack-dev
sudo apt install libqt5opengl5-dev
sudo apt install libqt5svg5-dev
sudo apt install qtscript5-dev libqwt-qt5-dev
sudo apt install gcc g++ gfortran libmpich-dev libnetcdff-dev libmetis-dev netcdf-bin
sudo apt install lua5.3

mkdir elmer
cd elmer
git clone https://github.com/ElmerCSC/elmerfem.git
mkdir build
cd build
cmake -DWITH_QT5=TRUE -DWITH_ELMERGUI:BOOL=TRUE -DWITH_MPI:BOOL=TRUE -DWITH_Mumps:BOOL=FALSE -DWITH_LUA:BOOL=TRUE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
make install

executables are installed in
../install/bin

could not get Mumps because it needs Parmetis and parametis was not found
sudo apt-get install libmumps-dev
sudo apt-get install libparmetis-dev
Post Reply