예전에는 직접 빌드했던것 같은데 이제 빌드된 바이너리도 배포하고 좋아졌네
curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash sudo apt-get update sudo apt-get install openfoam2212-default openfoam2212 |
[링크 : https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/debian]
헉.. 용량이..
$ sudo apt-get install openfoam2212-default 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 다음의 추가 패키지가 설치될 것입니다 : flex gfortran gfortran-7 libcgal-dev libcgal13 libfl-dev libfl2 libgfortran-7-dev libgmp-dev libgmpxx4ldbl libhwloc-dev libibverbs-dev libmpfr-dev libnuma-dev libopenmpi-dev libptscotch-6.0 libptscotch-dev libreadline-dev libscotch-6.0 libscotch-dev libtinfo-dev mpi-default-bin mpi-default-dev openfoam-selector openfoam2212 openfoam2212-common openfoam2212-dev openfoam2212-source openfoam2212-tools openfoam2212-tutorials 제안하는 패키지: bison flex-doc gfortran-multilib gfortran-doc gfortran-7-multilib gfortran-7-doc libgfortran4-dbg libcoarrays-dev libmpfi-dev libntl-dev gmp-doc libgmp10-doc libmpfr-doc openmpi-doc readline-doc gnuplot 다음 새 패키지를 설치할 것입니다: flex gfortran gfortran-7 libcgal-dev libcgal13 libfl-dev libfl2 libgfortran-7-dev libgmp-dev libgmpxx4ldbl libhwloc-dev libibverbs-dev libmpfr-dev libnuma-dev libopenmpi-dev libptscotch-6.0 libptscotch-dev libreadline-dev libscotch-6.0 libscotch-dev libtinfo-dev mpi-default-bin mpi-default-dev openfoam-selector openfoam2212 openfoam2212-common openfoam2212-default openfoam2212-dev openfoam2212-source openfoam2212-tools openfoam2212-tutorials 0개 업그레이드, 31개 새로 설치, 0개 제거 및 0개 업그레이드 안 함. 131 M바이트 아카이브를 받아야 합니다. 이 작업 후 767 M바이트의 디스크 공간을 더 사용하게 됩니다. |
흐음.. 멀 어떻게 해야하나 막막하네?
나가는 방법은 exit
$ openfoam2212 openfoam = /usr/lib/openfoam/openfoam2212 * Using: OpenFOAM-v2212 (2212) - visit www.openfoam.com * Build: _f8e05934-20230403 (patch=230110) * Arch: label=32;scalar=64 * Platform: linux64GccDPInt32Opt (mpi=sys-openmpi) OpenFOAM shell session - use 'exit' to quit openfoam2212:~/ minimonk$ help GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu) 쉘 명령어는 내부적으로 정의되어 있습니다. 'help'를 입력하면 목록이 보입니다. `name' 함수에 대해 더 많은 것을 알아보려면 `help name' 을 입력하십시오. 일반적인 쉘에 대해서 더 많은 것을 알아보려면 `info bash' 를 사용하십시오. 목록에 없는 명령어에 대해 더 많은 것을 알아보려면 `man -k' 또는 `info'를 사용하십시오. 별표(*)가 옆에 있는 명령어는 사용할 수 없음을 의미합니다. job_spec [&] history [-c] [-d offset] [n] or history -anrw [filename] or his> (( expression )) if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]..> . filename [arguments] jobs [-lnprs] [jobspec ...] or jobs -x command [args] : kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or k> [ arg... ] let arg [arg ...] [[ expression ]] local [option] name[=value] ... alias [-p] [name[=value] ... ] logout [n] bg [job_spec ...] mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u f> bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [> popd [-n] [+N | -N] break [n] printf [-v var] format [arguments] builtin [shell-builtin [arg ...]] pushd [-n] [+N | -N | dir] caller [expr] pwd [-LP] case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nch> cd [-L|[-P [-e]] [-@]] [dir] readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C ca> command [-pVv] command [arg ...] readonly [-aAf] [name[=value] ...] or readonly -p compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W> return [n] complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G> select NAME [in WORDS ... ;] do COMMANDS; done compopt [-o|+o option] [-DE] [name ...] set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...] continue [n] shift [n] coproc [NAME] command [redirections] shopt [-pqsu] [-o] [optname ...] declare [-aAfFgilnrtux] [-p] [name[=value] ...] source filename [arguments] dirs [-clpv] [+N] [-N] suspend [-f] disown [-h] [-ar] [jobspec ... | pid ...] test [expr] echo [-neE] [arg ...] time [-p] pipeline enable [-a] [-dnps] [-f filename] [name ...] times eval [arg ...] trap [-lp] [[arg] signal_spec ...] exec [-cl] [-a name] [command [arguments ...]] [redirection ...> true exit [n] type [-afptP] name [name ...] export [-fn] [name[=value] ...] or export -p typeset [-aAfFgilnrtux] [-p] name[=value] ... false ulimit [-SHabcdefiklmnpqrstuvxPT] [limit] fc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command> umask [-p] [-S] [mode] fg [job_spec] unalias [-a] name [name ...] for NAME [in WORDS ... ] ; do COMMANDS; done unset [-f] [-v] [-n] [name ...] for (( exp1; exp2; exp3 )); do COMMANDS; done until COMMANDS; do COMMANDS; done function name { COMMANDS ; } or name () { COMMANDS ; } variables - Names and meanings of some shell variables getopts optstring name [arg] wait [-n] [id ...] hash [-lr] [-p pathname] [-dt] [name ...] while COMMANDS; do COMMANDS; done help [-dms] [pattern ...] { COMMANDS ; } openfoam2212:~/ minimonk$ quit Command 'quit' not found, but can be installed with: sudo snap install quit openfoam2212:~/ minimonk$ exit exit |
'프로그램 사용 > openFOAM' 카테고리의 다른 글
openFOAM + freecad + salome (0) | 2023.06.07 |
---|---|
openFOAM tutorial with youtube (0) | 2023.05.24 |
openFOAM tutorial (4) | 2023.05.24 |
openfoam7 on ubuntu 18.04 (0) | 2020.08.09 |
openFOAM tutorial (0) | 2020.07.19 |