When following the Ubuntu-based installation instructions for Openfoam9, I'm told by apt:
Looking at versions of these dependencies via apt list, and following the dependencies apt lists for them, I find libc6-dev is commonly required but won't be installed. "ldd --version" returnsReading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openfoam9 : Depends: g++ but it is not going to be installed
Depends: libreadline-dev but it is not going to be installed
Depends: libopenmpi-dev but it is not going to be installed
Depends: libcgal-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
"apt-cache policy libc6-dev" outputs the following:ldd (Ubuntu GLIBC 2.31-0ubuntu9.3) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
Code: Select all
libc6-dev:
Installed: (none)
Candidate: 2.31-0ubuntu9.2
Version table:
2.31-0ubuntu9.2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
2.31-0ubuntu9 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
Basically, I'm looking to get Openfoam9 installed locally, without using containers; though, if it ends up being easier/quicker to go that route, I will.
Alternatively, let me know if I'm completely misunderstanding the problem; any correction is appreciated.
inxi:
Code: Select all
System: Kernel: 5.4.0-91-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.7
wm: muffin 5.0.2 dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
Machine: Type: Desktop Mobo: Gigabyte model: B550 AORUS PRO AC v: x.x serial: <filter> BIOS: American Megatrends
v: F10 date: 09/18/2020
CPU: Topology: 6-Core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3 L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 88641
Speed: 2195 MHz min/max: 2200/3700 MHz boost: enabled Core speeds (MHz): 1: 2196 2: 2193 3: 2195
4: 2195 5: 2191 6: 2192 7: 2195 8: 2195 9: 2194 10: 2193 11: 2195 12: 2195
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
vendor: ASUSTeK driver: radeon v: kernel bus ID: 09:00.0 chip ID: 1002:679a
Display: x11 server: X.Org 1.20.11 driver: ati,radeon unloaded: fbdev,modesetting,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD TAHITI (DRM 2.50.0 5.4.0-91-generic LLVM 12.0.0) v: 4.5 Mesa 21.0.3
direct render: Yes
Audio: Device-1: Advanced Micro Devices [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970]
vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 09:00.1 chip ID: 1002:aaa0
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel bus ID: 0b:00.4 chip ID: 1022:1487
Sound Server: ALSA v: k5.4.0-91-generic
Network: Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8125 v: 9.006.04-NAPI port: f000
bus ID: 07:00.0 chip ID: 10ec:8125
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: f000 bus ID: 08:00.0
chip ID: 8086:2526
IF: wlp8s0 state: down mac: <filter>
Drives: Local Storage: total: 931.48 GiB used: 396.63 GiB (42.6%)
ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB speed: 6.0 Gb/s
serial: <filter> rev: 4B6Q scheme: MBR
ID-2: /dev/sdb vendor: Seagate model: ST3250318AS size: 232.83 GiB speed: 3.0 Gb/s rotation: 7200 rpm
serial: <filter> rev: CC46 scheme: MBR
ID-3: /dev/sdc vendor: Western Digital model: WD2500JS-00MHB0 size: 232.89 GiB speed: 3.0 Gb/s
serial: <filter> rev: 1C03 scheme: MBR
Partition: ID-1: / size: 456.46 GiB used: 91.51 GiB (20.0%) fs: ext4 dev: /dev/sda5
Sensors: System Temperatures: cpu: 0.0 C mobo: N/A gpu: radeon temp: 38 C
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
No active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
Active apt repos in: /etc/apt/sources.list.d/atom.list
1: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/kicad-kicad-5_1-releases-focal.list
1: deb http://ppa.launchpad.net/kicad/kicad-5.1-releases/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/kicad-kicad-dev-nightly-focal.list
1: deb http://ppa.launchpad.net/kicad/kicad-dev-nightly/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/nodesource.list
1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x focal main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com uma main upstream import backport #id:linuxmint_main
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/openfoam.list
1: deb http://dl.openfoam.org/ubuntu focal main
Info: Processes: 287 Uptime: 3h 23m Memory: 31.35 GiB used: 1.82 GiB (5.8%) Init: systemd v: 245 runlevel: 5
Compilers: gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38