installing OF v2106 on WSL
Hello,
I have a question for those who know how to install OF v2106 on a Windows Sub Linux system under Ubuntu 20.04. OF v2012 on WSL is already running smoothly for me and I followed the OF.com recommendation to achieve that (https://www.openfoam.com/download/op...-on-windows-10) This starts especially with the OpenFOAM-v2012-windows10.tgz file. However I couldn't find on their site the OpenFOAM-v2106-windows10.tgz file to proceed similarly. Has anyone get an idea about how installing the v2106 on WSL then ? Many thanks |
Hi
There were changes made on the installation between v2012 and v2106 (more information about precompiled versions here). You can find the up-to-date installation process here : https://develop.openfoam.com/Develop...ompiled/debian Cheers, Yann |
I run into a problem with apt-get update (Ubuntu 18.04), which I think is preventing installation of the OF package:
~$ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Ign:5 https://sourceforge.net/projects/ope...iles/repos/deb bionic InRelease Err:6 https://sourceforge.net/projects/ope...iles/repos/deb bionic Release Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 204.68.111.105 443] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2251 kB] Reading package lists... Done E: The repository 'https://dl.openfoam.com/repos/deb bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. |
OpenFOAM 2106 Installation
Hi,
I also ran into an issue during the installation of OF v2106 on a Windows Sub Linux system under Ubuntu 20.04. I followed the OF.com recommendation for installation (https://develop.openfoam.com/Develop...ompiled/debian) I have enabled WSL, Installed Ubuntu 20.04 LTS and pasted the below commands, curl -s https://dl.openfoam.com/add-debian-repo.sh | sudo bash wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash And I received "The repository is setup! You can now install packages." After that, I ran the command "sudo apt-get install openfoam2106-default" and I got "E: Unable to locate package openfoam2106-default". OF installation got proceeded by running "sudo apt-get update" and after "sudo apt-get install openfoam2106-default" but encountered with the below error, Code:
ras@DESKTOP-EAG7NR6:~$ sudo apt-get install openfoam2106-default |
Quote:
A timeout on the sourceforge mirror. Not sure why, but it is nothing wrong from your side. Perhaps attempt the apt-get again? |
I have a similar problem, i canīt install openfoam v2106
sudo apt-get update Code:
Hit:1 http://mirror.uchile.cl/ubuntu focal InRelease Code:
Reading package lists... Done |
Why is it showing "uma" as the distro? Looks wrong.
|
uma is linux mint 20.2, is there something bad about it?
|
Quote:
Will get this fixed ASAP but the quickest solution for your frustration is to simply edit the corresponding /etc/apt/sources.list.d/openfoam.list file and replace "uma" with "focal" (no quotes). The longer explanation: the original script only checked the code name (here uma) and didn't first check for an Ubuntu name. This is/was fixed probably last year so I don't know why there is the old script there again. Must be a sync error. |
Quote:
your solution works, thank you |
Script should be properly updated on the server now.
|
Same error
I'm trying to install openfoam 2012 or 2006 in Ubuntu 20.04.3 LTS. I'm using WSL, linux subsystem for windows. And I am getting the same error as GDS.
Long version: I have written: 1- curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash Works fine 2- sudo apt-get install openfoam2112-default Gives me: E: Unable to locate package openfoam2106-default my apt/sources.list.d/openfoam reads: deb [arch=amd64] https://dl.openfoam.com/repos/deb focal main I have done sudo apt update and sudo apt upgrade. When I update, I get E: The repository 'https://dl.openfoam.com/repos/deb bionic Release' does not have a Release file. |
Installing OF2006 (precompiled pkg) under Ubuntu20.04
On 15 or 16 March 2022, following the steps at https://develop.openfoam.com/Develop...ompiled/debian , I installed OF2006 on a brand new Lenovo X1-Yoga (Gen6), running Ubuntu 20.04. No problem. I am now attempting to do the same thing on another brand new machine (same specs).
Code:
curl https://dl.openfoam.com/add-debian-repo.sh | sudo Code:
Code:
grep -r --include '*.list' '^deb ' /etc/apt/sources.list* Code:
deb [arch=amd64] https://dl.openfoam.com/repos/deb focal main There's no problem with my internet connection, and this situation has prevailed for at least 12 hours. If I open the Synaptic Package Manager I get the message that "Could not download all repository indexes... The repository 'https://dl.openfoam.com/repos/deb focal Release' does not have a Release file." (OF1906 is available to install using Synaptic, so in the meantime I'll go that route). Thanks for any suggestions. |
Quote:
I am facing the same issue right now. Did you get to any solution? |
Hello Wolfram, no I do not have a solution, sorry. John.
|
jepp, I have been trying to install openfoam for over a year now using the latest install instructions, it never worked for me, stuck with the latest precompiled binaries. For what it's worth, I am uswing WSL2 ubuntu 20.04 LTS and tried the install instruction on https://develop.openfoam.com/Develop...ompiled/debian
like others, they don't work for me and seem broken (its fascinating how this seems to be an issue and no one at ESI has noticed that or, perhaps has noticed it and decided not to fix it). Really rather annoying ... |
Anyone have tried build from resource?
Hello everyone,
I've been success installing openfoam in my Windows 10 platform by using procedure of installing from source rather than precompiled one. In addition of activating WSL, I also installed ubuntu 20.04 LTS in my PC. Then installation procedure is done in Ubuntu. Regards, Aditama |
I have been in contact with OpenFOAM directly and they managed to resolve the issue for WSL. Apparently some required certificates are missing, so these steps should work:
Code:
curl -s https://dl.openfoam.com/add-debian-repo.sh | sudo bash Code:
source /usr/lib/openfoam/openfoam2206/etc/bashrc |
thanks ^ this worked for me
|
All times are GMT -4. The time now is 22:58. |