|
[Sponsors] |
December 7, 2021, 12:29 |
OF v2106 installation on WSL
|
#1 |
New Member
Rahul Sharma
Join Date: Dec 2021
Location: India
Posts: 1
Rep Power: 0 |
Hi,
I 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 and Installed Ubuntu 20.04 LTS. I have 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 got "The repository is setup! You can now install packages." After that, I typed the command "sudo apt-get install openfoam2106-default" and I get "E: Unable to locate package openfoam2106-default". But 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 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: autoconf automake autotools-dev binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-8 cpp-9 flex g++ g++-9 gcc gcc-8 gcc-8-base gcc-9 gcc-9-base gfortran gfortran-8 gfortran-9 ibverbs-providers libasan5 libatomic1 libbinutils libboost-atomic1.71-dev libboost-atomic1.71.0 libboost-chrono1.71-dev libboost-chrono1.71.0 libboost-date-time1.71-dev libboost-date-time1.71.0 libboost-dev libboost-program-options-dev libboost-program-options1.71-dev libboost-program-options1.71.0 libboost-serialization1.71-dev libboost-serialization1.71.0 libboost-system-dev libboost-system1.71-dev libboost-system1.71.0 libboost-thread-dev libboost-thread1.71-dev libboost-thread1.71.0 libboost1.71-dev libc-dev-bin libc6-dev libcaf-openmpi-3 libcc1-0 libcgal-dev libcoarrays-dev libcoarrays-openmpi-dev libcrypt-dev libctf-nobfd0 libctf0 libevent-core-2.1-7 libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-quad3 libfftw3-single3 libfl-dev libgcc-8-dev libgcc-9-dev libgfortran-8-dev libgfortran-9-dev libgfortran5 libgmp-dev libgmpxx4ldbl libgomp1 libhwloc-dev libhwloc-plugins libhwloc15 libibverbs-dev libibverbs1 libisl22 libitm1 liblsan0 libltdl-dev libmpc3 libmpfr-dev libmpx2 libncurses-dev libnl-3-200 libnl-3-dev libnl-route-3-200 libnl-route-3-dev libnuma-dev libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libptscotch-6.0 libptscotch-dev libquadmath0 librdmacm1 libreadline-dev libscotch-6.0 libscotch-dev libstdc++-9-dev libtool libtsan0 libubsan1 libxnvctrl0 linux-libc-dev m4 make manpages-dev mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openfoam-selector openfoam2106 openfoam2106-common openfoam2106-dev openfoam2106-source openfoam2106-tools openfoam2106-tutorials openmpi-bin openmpi-common zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc gettext binutils-doc cpp-doc gcc-8-locales gcc-9-locales bison build-essential flex-doc g++-multilib g++-9-multilib gcc-9-doc gcc-multilib gdb gcc-doc gcc-8-multilib gcc-8-doc gcc-9-multilib gfortran-multilib gfortran-doc gfortran-8-multilib gfortran-8-doc gfortran-9-multilib gfortran-9-doc libboost-doc libboost1.71-doc libboost-container1.71-dev libboost-context1.71-dev libboost-contract1.71-dev libboost-coroutine1.71-dev libboost-exception1.71-dev libboost-fiber1.71-dev libboost-filesystem1.71-dev libboost-graph1.71-dev libboost-graph-parallel1.71-dev libboost-iostreams1.71-dev libboost-locale1.71-dev libboost-log1.71-dev libboost-math1.71-dev libboost-mpi1.71-dev libboost-mpi-python1.71-dev libboost-numpy1.71-dev libboost-python1.71-dev libboost-random1.71-dev libboost-regex1.71-dev libboost-stacktrace1.71-dev libboost-test1.71-dev libboost-timer1.71-dev libboost-type-erasure1.71-dev libboost-wave1.71-dev libboost1.71-tools-dev libmpfrc++-dev libntl-dev glibc-doc libmpfi-dev libtbb-dev libfftw3-doc gmp-doc libgmp10-doc libhwloc-contrib-plugins libtool-doc libmpfr-doc ncurses-doc openmpi-doc readline-doc libstdc++-9-doc gcj-jdk m4-doc make-doc opencl-icd gnuplot The following NEW packages will be installed: autoconf automake autotools-dev binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-8 cpp-9 flex g++ g++-9 gcc gcc-8 gcc-8-base gcc-9 gcc-9-base gfortran gfortran-8 gfortran-9 ibverbs-providers libasan5 libatomic1 libbinutils libboost-atomic1.71-dev libboost-atomic1.71.0 libboost-chrono1.71-dev libboost-chrono1.71.0 libboost-date-time1.71-dev libboost-date-time1.71.0 libboost-dev libboost-program-options-dev libboost-program-options1.71-dev libboost-program-options1.71.0 libboost-serialization1.71-dev libboost-serialization1.71.0 libboost-system-dev libboost-system1.71-dev libboost-system1.71.0 libboost-thread-dev libboost-thread1.71-dev libboost-thread1.71.0 libboost1.71-dev libc-dev-bin libc6-dev libcaf-openmpi-3 libcc1-0 libcgal-dev libcoarrays-dev libcoarrays-openmpi-dev libcrypt-dev libctf-nobfd0 libctf0 libevent-core-2.1-7 libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libevent-pthreads-2.1-7 libfabric1 libfftw3-bin libfftw3-dev libfftw3-double3 libfftw3-long3 libfftw3-quad3 libfftw3-single3 libfl-dev libgcc-8-dev libgcc-9-dev libgfortran-8-dev libgfortran-9-dev libgfortran5 libgmp-dev libgmpxx4ldbl libgomp1 libhwloc-dev libhwloc-plugins libhwloc15 libibverbs-dev libibverbs1 libisl22 libitm1 liblsan0 libltdl-dev libmpc3 libmpfr-dev libmpx2 libncurses-dev libnl-3-200 libnl-3-dev libnl-route-3-200 libnl-route-3-dev libnuma-dev libopenmpi-dev libopenmpi3 libpmix2 libpsm-infinipath1 libpsm2-2 libptscotch-6.0 libptscotch-dev libquadmath0 librdmacm1 libreadline-dev libscotch-6.0 libscotch-dev libstdc++-9-dev libtool libtsan0 libubsan1 libxnvctrl0 linux-libc-dev m4 make manpages-dev mpi-default-bin mpi-default-dev ocl-icd-libopencl1 openfoam-selector openfoam2106 openfoam2106-common openfoam2106-default openfoam2106-dev openfoam2106-source openfoam2106-tools openfoam2106-tutorials openmpi-bin openmpi-common zlib1g-dev 0 upgraded, 127 newly installed, 0 to remove and 2 not upgraded. Need to get 104 MB/236 MB of archives. After this operation, 1299 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 https://sourceforge.net/projects/openfoam/files/repos/deb focal/main amd64 openfoam2106 amd64 2106.1-2 [73.0 MB] Err:1 https://sourceforge.net/projects/openfoam/files/repos/deb focal/main amd64 openfoam2106 amd64 2106.1-2 Connection timed out [IP: 103.233.100.83 443] Get:2 https://sourceforge.net/projects/openfoam/files/repos/deb focal/main amd64 openfoam2106-tutorials all 2106.1-2 [30.9 MB] Fetched 12.1 MB in 9min 5s (22.3 kB/s) E: Failed to fetch https://telkomuniversity.dl.sourceforge.net/project/openfoam/repos/deb/dists/focal/main/pool/2106_1/binary-amd64/openfoam2106_2106.1-2_amd64.deb Connection timed out [IP: 103.233.100.83 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Any help would be appreciated! Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys Installation on Docker Container | mohsen.shiea | ANSYS | 11 | March 14, 2024 12:18 |
[OpenFOAM.com] installing OF v2106 on WSL | AlxB | OpenFOAM Installation | 18 | October 11, 2022 21:53 |
[foam-extend.org] Foam-extend 4.0 installation WSL Ubuntu 20.04 | MFWilliams | OpenFOAM Installation | 0 | November 8, 2021 14:12 |
[OpenFOAM.org] Installation of OpenFOAM 7 on WSL | mahtin360 | OpenFOAM Installation | 5 | February 2, 2021 19:35 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |