#author("2022-06-21T16:52:05+09:00","default:kouzouken","kouzouken")
#author("2022-06-24T12:07:44+09:00","default:kouzouken","kouzouken")
#contents

*Salome-Meca2020 [#c8e9fa1c]
**ダウンロード [#w452cead]
[[ダウンロードサイト:https://www.code-aster.org/V2/spip.php?article303]]からブラウザーでダウンロードしても、たぶん途中でエラーになる。
ターミナルで、wgetでダウンロードしても、
 wget https://www.code-aster.org/FICHIERS/salome_meca-2020.0.1-1-universal.tgz
たぶん途中でsegmentation fault (コアダンプ)になって終了するので、
 wget --continue https://www.code-aster.org/FICHIERS/salome_meca-2020.0.1-1-universal.tgz
として、途中からダウンロードを続行する。ダウンロードに成功したら、

 sha1sum salome_meca-2020.0.1-1-universal.tgz
をやってハッシュ値をダウンロードサイトのものと確認。あれ、合ってない。でも、インストールはできる。

**ubuntu22.04にSalome-Meca2020をインストール [#e325888e]
-https://www.code-aster.org/forum2/viewtopic.php?id=26346
-今のところ、↑の方法で立ち上がるが、「Asterstudyのモジュールを有効にできません」のエラーが出る。デバックモードで確認すると、libffi.so.6のエラーが出るので、以下を実行
 cd ~/salome_meca/V2020.0.1_universal_universal/prerequisites/debianForSalome/lib
 ln -s /usr/lib/x86_64-linux-gnu/libffi.so libffi.so.6
-すると、原因不明の強制終了を起こす。
 ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7 libffi.so.6
-↑にしても同じ。libffiをダウングレードしてみたが変わらず。


**Ubuntu20.04にSalome_Meca2020をインストール [#e2b36937]
***まずは最終的な手順 [#j18f8590]
pythonからではなくpython2からpython2.7にリンクを張る(pythonからpython3.8にリンクを張って使いたいツールと共存のため)。あとは、Salome_Meca2019のインストールと同様。
ただ、Salome_Meca2019以前も併用することを考えると、pythonからもpython2.7にリンクを張っておいた方がいいだろう。

 sudo apt install python2.7
 sudo ln -s /usr/bin/python2.7 /usr/bin/python2
 sudo apt-get install net-tools libnlopt0 libffi*
 sudo apt install libqt5-ukui-style-dev libqt5-ukui-style1 libqt53danimation5 libqt53dcore5 libqt53dextras5 libqt53dinput5 libqt53dlogic5 libqt53dquick5 libqt53dquickanimation5 libqt53dquickextras5 libqt53dquickinput5 libqt53dquickrender5 libqt53dquickscene2d5 libqt53drender5 libqt5bluetooth5-bin libqt5bluetooth5 libqt5charts5-dev libqt5charts5 libqt5concurrent5 libqt5concurrent5 libqt5core5a libqt5core5a libqt5datavisualization5-dev libqt5datavisualization5 libqt5dbus5 libqt5dbus5 libqt5designer5 libqt5designer5 libqt5designercomponents5 libqt5designercomponents5 libqt5gamepad5-dev libqt5gamepad5 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqt5gui5 libqt5gui5 libqt5help5 libqt5help5 libqt5hunspellinputmethod5 libqt5keychain1 libqt5location5-plugin-mapboxgl libqt5location5-plugin-mapboxgl libqt5location5-plugins libqt5location5-plugins libqt5location5 libqt5location5 libqt5multimedia5-plugins libqt5multimedia5-plugins libqt5multimedia5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediaquick5 libqt5multimediawidgets5 libqt5multimediawidgets5 libqt5network5 libqt5network5 libqt5networkauth5-dev libqt5networkauth5 libqt5nfc5 libqt5opengl5-dev libqt5opengl5-dev libqt5opengl5 libqt5opengl5 libqt5pas-dev libqt5pas1 libqt5positioning5-plugins libqt5positioning5-plugins libqt5positioning5 libqt5positioning5 libqt5positioningquick5 libqt5positioningquick5 libqt5printsupport5 libqt5printsupport5 libqt5qevercloud3 libqt5qml5 libqt5qml5 libqt5quick5 libqt5quick5 libqt5quickcontrols2-5 libqt5quickparticles5 libqt5quickparticles5 libqt5quickshapes5 libqt5quickshapes5 libqt5quicktemplates2-5 libqt5quicktest5 libqt5quicktest5 libqt5quickwidgets5 libqt5quickwidgets5 libqt5remoteobjects5-bin libqt5remoteobjects5-dev libqt5remoteobjects5 libqt5scintilla2-designer libqt5script5 libqt5scripttools5 libqt5scxml5-bin libqt5scxml5-dev libqt5scxml5 libqt5sensors5-dev libqt5sensors5-dev libqt5sensors5 libqt5sensors5 libqt5serialbus5-bin libqt5serialbus5-dev libqt5serialbus5-plugins libqt5serialbus5 libqt5serialport5-dev libqt5serialport5-dev libqt5serialport5 libqt5serialport5 libqt5sql5-ibase libqt5sql5-ibase libqt5sql5-mysql libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-odbc libqt5sql5-psql libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-tds libqt5sql5 libqt5sql5 libqt5svg5-dev libqt5svg5-dev libqt5svg5 libqt5svg5 libqt5test5 libqt5test5 libqt5texttospeech5-dev libqt5texttospeech5 libqt5virtualkeyboard5-dev libqt5virtualkeyboard5 libqt5waylandclient5-dev libqt5waylandclient5 libqt5waylandcompositor5-dev libqt5waylandcompositor5 libqt5webchannel5-dev libqt5webchannel5-dev libqt5webchannel5 libqt5webchannel5 libqt5webengine-data libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5 libqt5webkit5-dev libqt5webkit5-dev libqt5webkit5 libqt5webkit5 libqt5websockets5-dev libqt5websockets5-dev libqt5websockets5 libqt5websockets5 libqt5webview5-dev libqt5webview5 libqt5widgets5 libqt5widgets5 libqt5x11extras5-dev libqt5x11extras5-dev libqt5x11extras5 libqt5x11extras5 libqt5xdg-dev libqt5xdg3 libqt5xdgiconloader-dev libqt5xdgiconloader3 libqt5xml5 libqt5xml5 libqt5xmlpatterns5-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5
 tar xvzf salome_meca-2019.0.3-1-universal.tgz
 ./salome_meca-2019.0.3-1-universal.run
 cd ~/salome_meca/V2020.0.1_universal_universal/prerequisites/debianForSalome/lib
 mkdir kari
 mv libstdc++* kari
 ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
 ln -s /usr/lib/x86_64-linux-gnu/libffi.so libffi.so.6

----
***何もしないで(python3.8のまま)、salome_meca-2020.0.1-1-universal.run をやった場合のメッセージ [#o9f3a4e7]

 ===================================================================
 Self Extracting salome_meca V2020.0.1_universal_universal Installer
 ===================================================================

 Enter the salome_meca install directory [default=/home/kouzou/salome_meca] : salome_meca is in English, do you want to be in French ? [y/N] : n
 Installation of salome_meca V2020.0.1_universal_universal in /home/kouzou/salome_meca/V2020.0.1_universal_universal ...
 Verifying archive integrity...
 All good.
 Done                                                                           
 ./create_appli.sh: 行 113: /salome_prerequisites_root.sh: そのようなファイルやディレクトリはありません
 ./create_appli.sh: 行 114: /salome_modules.sh: そのようなファイルやディレクトリはありません
 Creating salome_meca application in /home/kouzou/salome_meca/appli_V2020.0.1_universal_universal ...
 sed: /.config_appli_template.xml を読み込めません: そのようなファイルやディレクトリはありません
 grep: salome_context.cfg: そのようなファイルやディレクトリはありません
 salome_meca post-installation ...
 ./create_appli.sh: 行 271: python: コマンドが見つかりません
 ./create_appli.sh: 行 296: ./salome_post_install.py: そのようなファイルやディレクトリはありません
 ./create_appli.sh: 行 301: 予期しないトークン `fi' 周辺に構文エラーがあります
 ./create_appli.sh: 行 301: `fi'
 Adjusting wishexecutable /home/kouzou/salome_meca/V2020.0.1_universal_universal/tools/Code_aster_frontend-202001/etc/codeaster/profile.sh
 Initialize terminal and editor for Code_aster
 Final configuration

~/salome_meca/appli_V2020.0.1_universal_universal の中に実行ファイルその他は、作られていない。

**試行錯誤のメモ [#j4b69452]
-まずpython2.7をインストールして、pythonからリンクをはる
 sudo apt install python2.7
 sudo ln -s /usr/bin/python2.7 /usr/bin/python

-この状態でsalome_meca-2020.0.1-1-universal.runを実行しても実行ファイルは作られない。


-以下を実行
 sudo apt-get install net-tools libnlopt0 libffi*
 sudo apt install libqt5-ukui-style-dev libqt5-ukui-style1 libqt53danimation5 libqt53dcore5 libqt53dextras5 libqt53dinput5 libqt53dlogic5 libqt53dquick5 libqt53dquickanimation5 libqt53dquickextras5 libqt53dquickinput5 libqt53dquickrender5 libqt53dquickscene2d5 libqt53drender5 libqt5bluetooth5-bin libqt5bluetooth5 libqt5charts5-dev libqt5charts5 libqt5concurrent5 libqt5concurrent5 libqt5core5a libqt5core5a libqt5datavisualization5-dev libqt5datavisualization5 libqt5dbus5 libqt5dbus5 libqt5designer5 libqt5designer5 libqt5designercomponents5 libqt5designercomponents5 libqt5gamepad5-dev libqt5gamepad5 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqt5gui5 libqt5gui5 libqt5help5 libqt5help5 libqt5hunspellinputmethod5 libqt5keychain1 libqt5location5-plugin-mapboxgl libqt5location5-plugin-mapboxgl libqt5location5-plugins libqt5location5-plugins libqt5location5 libqt5location5 libqt5multimedia5-plugins libqt5multimedia5-plugins libqt5multimedia5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediaquick5 libqt5multimediawidgets5 libqt5multimediawidgets5 libqt5network5 libqt5network5 libqt5networkauth5-dev libqt5networkauth5 libqt5nfc5 libqt5opengl5-dev libqt5opengl5-dev libqt5opengl5 libqt5opengl5 libqt5pas-dev libqt5pas1 libqt5positioning5-plugins libqt5positioning5-plugins libqt5positioning5 libqt5positioning5 libqt5positioningquick5 libqt5positioningquick5 libqt5printsupport5 libqt5printsupport5 libqt5qevercloud3 libqt5qml5 libqt5qml5 libqt5quick5 libqt5quick5 libqt5quickcontrols2-5 libqt5quickparticles5 libqt5quickparticles5 libqt5quickshapes5 libqt5quickshapes5 libqt5quicktemplates2-5 libqt5quicktest5 libqt5quicktest5 libqt5quickwidgets5 libqt5quickwidgets5 libqt5remoteobjects5-bin libqt5remoteobjects5-dev libqt5remoteobjects5 libqt5scintilla2-designer libqt5script5 libqt5scripttools5 libqt5scxml5-bin libqt5scxml5-dev libqt5scxml5 libqt5sensors5-dev libqt5sensors5-dev libqt5sensors5 libqt5sensors5 libqt5serialbus5-bin libqt5serialbus5-dev libqt5serialbus5-plugins libqt5serialbus5 libqt5serialport5-dev libqt5serialport5-dev libqt5serialport5 libqt5serialport5 libqt5sql5-ibase libqt5sql5-ibase libqt5sql5-mysql libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-odbc libqt5sql5-psql libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-tds libqt5sql5 libqt5sql5 libqt5svg5-dev libqt5svg5-dev libqt5svg5 libqt5svg5 libqt5test5 libqt5test5 libqt5texttospeech5-dev libqt5texttospeech5 libqt5virtualkeyboard5-dev libqt5virtualkeyboard5 libqt5waylandclient5-dev libqt5waylandclient5 libqt5waylandcompositor5-dev libqt5waylandcompositor5 libqt5webchannel5-dev libqt5webchannel5-dev libqt5webchannel5 libqt5webchannel5 libqt5webengine-data libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5 libqt5webkit5-dev libqt5webkit5-dev libqt5webkit5 libqt5webkit5 libqt5websockets5-dev libqt5websockets5-dev libqt5websockets5 libqt5websockets5 libqt5webview5-dev libqt5webview5 libqt5widgets5 libqt5widgets5 libqt5x11extras5-dev libqt5x11extras5-dev libqt5x11extras5 libqt5x11extras5 libqt5xdg-dev libqt5xdg3 libqt5xdgiconloader-dev libqt5xdgiconloader3 libqt5xml5 libqt5xml5 libqt5xmlpatterns5-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5

ここまでやってからでも実行ファイルが作られていない。iiyamaのintelのやつ。
-比較のため、この状態でsalome_meca-2019.0.3-1-universal.runを実行して(うまくインストールされる)場合のメッセージは以下

 =========================================================
 Self Extracting salome_meca V2019.0.3_universal Installer
 =========================================================

 Enter the salome_meca install directory [default=/home/kouzou/salome_meca] : salome_meca is in English, do you want to be in French ? [y/N] : n
 Installation of salome_meca V2019.0.3_universal in /home/kouzou/salome_meca/V2019.0.3_universal ...
 Verifying archive integrity...
 All good.
 Done                                                                           
 Creating salome_meca application in /home/kouzou/salome_meca/appli_V2019.0.3_universal ...
 Desktop directory not found.
 salome_meca post-installation ...
 Adjusting the file : /home/kouzou/salome_meca/appli_V2019.0.3_universal/SalomeApp.xml
 Warning: the directory /home/kouzou/salome_meca/V2019.0.3_universal/modules/EUROPLEXUS_201901/lib/salome is in a path variable but does not exist
 The salome_meca application was successfully created.
 To run the application:
 $ /home/kouzou/salome_meca/appli_V2019.0.3_universal/salome
 Adjusting wishexecutable /home/kouzou/salome_meca/V2019.0.3_universal/tools/Code_aster_frontend-20190/etc/codeaster/profile.sh
 Initialize terminal and editor for Code_aster
 Creating symlink in /home/kouzou/salome_meca/V2019.0.3_universal/tools/Code_aster_stable-v144_smeca : salome -> /home/kouzou/salome_meca/appli_V2019.0.3_universal/salome
 Final configuration


**Salome-Meca2020をインストールするときはsalome2からリンクを張る [#ze57dd4a]
Salome_Meca2020では、create_appli.sh の中で salome ではなく salome2 を使っているので、
salome2 から python2.7 にリンクを張る必要がある。
python から python3.8 にリンクを張って使いたいツールと共存できるようにということだろう。
というわけで、
 sudo ln -s /usr/bin/python2.7 /usr/bin/python2


*Ubuntu22.04にSalome-Meca2019をインストール [#n434d8cb]
-libqt5scintilla2-designerをlibqscintilla2-qt5-designerに変更
 sudo apt install libqt5-ukui-style-dev libqt5-ukui-style1 libqt53danimation5 libqt53dcore5 libqt53dextras5 libqt53dinput5 libqt53dlogic5 libqt53dquick5 libqt53dquickanimation5 libqt53dquickextras5 libqt53dquickinput5 libqt53dquickrender5 libqt53dquickscene2d5 libqt53drender5 libqt5bluetooth5-bin libqt5bluetooth5 libqt5charts5-dev libqt5charts5 libqt5concurrent5 libqt5concurrent5 libqt5core5a libqt5core5a libqt5datavisualization5-dev libqt5datavisualization5 libqt5dbus5 libqt5dbus5 libqt5designer5 libqt5designer5 libqt5designercomponents5 libqt5designercomponents5 libqt5gamepad5-dev libqt5gamepad5 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqt5gui5 libqt5gui5 libqt5help5 libqt5help5 libqt5hunspellinputmethod5 libqt5keychain1 libqt5location5-plugin-mapboxgl libqt5location5-plugin-mapboxgl libqt5location5-plugins libqt5location5-plugins libqt5location5 libqt5location5 libqt5multimedia5-plugins libqt5multimedia5-plugins libqt5multimedia5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediaquick5 libqt5multimediawidgets5 libqt5multimediawidgets5 libqt5network5 libqt5network5 libqt5networkauth5-dev libqt5networkauth5 libqt5nfc5 libqt5opengl5-dev libqt5opengl5-dev libqt5opengl5 libqt5opengl5 libqt5pas-dev libqt5pas1 libqt5positioning5-plugins libqt5positioning5-plugins libqt5positioning5 libqt5positioning5 libqt5positioningquick5 libqt5positioningquick5 libqt5printsupport5 libqt5printsupport5 libqt5qevercloud3 libqt5qml5 libqt5qml5 libqt5quick5 libqt5quick5 libqt5quickcontrols2-5 libqt5quickparticles5 libqt5quickparticles5 libqt5quickshapes5 libqt5quickshapes5 libqt5quicktemplates2-5 libqt5quicktest5 libqt5quicktest5 libqt5quickwidgets5 libqt5quickwidgets5 libqt5remoteobjects5-bin libqt5remoteobjects5-dev libqt5remoteobjects5 libqscintilla2-qt5-designer libqt5script5 libqt5scripttools5 libqt5scxml5-bin libqt5scxml5-dev libqt5scxml5 libqt5sensors5-dev libqt5sensors5-dev libqt5sensors5 libqt5sensors5 libqt5serialbus5-bin libqt5serialbus5-dev libqt5serialbus5-plugins libqt5serialbus5 libqt5serialport5-dev libqt5serialport5-dev libqt5serialport5 libqt5serialport5 libqt5sql5-ibase libqt5sql5-ibase libqt5sql5-mysql libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-odbc libqt5sql5-psql libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-tds libqt5sql5 libqt5sql5 libqt5svg5-dev libqt5svg5-dev libqt5svg5 libqt5svg5 libqt5test5 libqt5test5 libqt5texttospeech5-dev libqt5texttospeech5 libqt5virtualkeyboard5-dev libqt5virtualkeyboard5 libqt5waylandclient5-dev libqt5waylandclient5 libqt5waylandcompositor5-dev libqt5waylandcompositor5 libqt5webchannel5-dev libqt5webchannel5-dev libqt5webchannel5 libqt5webchannel5 libqt5webengine-data libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5 libqt5webkit5-dev libqt5webkit5-dev libqt5webkit5 libqt5webkit5 libqt5websockets5-dev libqt5websockets5-dev libqt5websockets5 libqt5websockets5 libqt5webview5-dev libqt5webview5 libqt5widgets5 libqt5widgets5 libqt5x11extras5-dev libqt5x11extras5-dev libqt5x11extras5 libqt5x11extras5 libqt5xdg-dev libqt5xdg3 libqt5xdgiconloader-dev libqt5xdgiconloader3 libqt5xml5 libqt5xml5 libqt5xmlpatterns5-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5


*Ubuntu20.04にSalome-Meca2019をインストール [#d41ee89f]


-まずpython2.7をインストールして、pythonからリンクをはる
 sudo apt install python2.7
 sudo ln -s /usr/bin/python2.7 /usr/bin/python

 sudo apt-get install net-tools libnlopt0 libffi*
 sudo apt-get install libQt5*

ちなみに、libffi*は、Salome-Meca2018のインストールの際には不要。
恐らく、libqt5gui5-gles libqt5quick5-gles libqt5quickparticles5-gles に競合があって駄目と言われるので、それらを除外してlibqt5*すべてを並べた以下を実行
 sudo apt install libqt5-ukui-style-dev libqt5-ukui-style1 libqt53danimation5 libqt53dcore5 libqt53dextras5 libqt53dinput5 libqt53dlogic5 libqt53dquick5 libqt53dquickanimation5 libqt53dquickextras5 libqt53dquickinput5 libqt53dquickrender5 libqt53dquickscene2d5 libqt53drender5 libqt5bluetooth5-bin libqt5bluetooth5 libqt5charts5-dev libqt5charts5 libqt5concurrent5 libqt5concurrent5 libqt5core5a libqt5core5a libqt5datavisualization5-dev libqt5datavisualization5 libqt5dbus5 libqt5dbus5 libqt5designer5 libqt5designer5 libqt5designercomponents5 libqt5designercomponents5 libqt5gamepad5-dev libqt5gamepad5 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqt5gui5 libqt5gui5 libqt5help5 libqt5help5 libqt5hunspellinputmethod5 libqt5keychain1 libqt5location5-plugin-mapboxgl libqt5location5-plugin-mapboxgl libqt5location5-plugins libqt5location5-plugins libqt5location5 libqt5location5 libqt5multimedia5-plugins libqt5multimedia5-plugins libqt5multimedia5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediaquick5 libqt5multimediawidgets5 libqt5multimediawidgets5 libqt5network5 libqt5network5 libqt5networkauth5-dev libqt5networkauth5 libqt5nfc5 libqt5opengl5-dev libqt5opengl5-dev libqt5opengl5 libqt5opengl5 libqt5pas-dev libqt5pas1 libqt5positioning5-plugins libqt5positioning5-plugins libqt5positioning5 libqt5positioning5 libqt5positioningquick5 libqt5positioningquick5 libqt5printsupport5 libqt5printsupport5 libqt5qevercloud3 libqt5qml5 libqt5qml5 libqt5quick5 libqt5quick5 libqt5quickcontrols2-5 libqt5quickparticles5 libqt5quickparticles5 libqt5quickshapes5 libqt5quickshapes5 libqt5quicktemplates2-5 libqt5quicktest5 libqt5quicktest5 libqt5quickwidgets5 libqt5quickwidgets5 libqt5remoteobjects5-bin libqt5remoteobjects5-dev libqt5remoteobjects5 libqt5scintilla2-designer libqt5script5 libqt5scripttools5 libqt5scxml5-bin libqt5scxml5-dev libqt5scxml5 libqt5sensors5-dev libqt5sensors5-dev libqt5sensors5 libqt5sensors5 libqt5serialbus5-bin libqt5serialbus5-dev libqt5serialbus5-plugins libqt5serialbus5 libqt5serialport5-dev libqt5serialport5-dev libqt5serialport5 libqt5serialport5 libqt5sql5-ibase libqt5sql5-ibase libqt5sql5-mysql libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-odbc libqt5sql5-psql libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-tds libqt5sql5 libqt5sql5 libqt5svg5-dev libqt5svg5-dev libqt5svg5 libqt5svg5 libqt5test5 libqt5test5 libqt5texttospeech5-dev libqt5texttospeech5 libqt5virtualkeyboard5-dev libqt5virtualkeyboard5 libqt5waylandclient5-dev libqt5waylandclient5 libqt5waylandcompositor5-dev libqt5waylandcompositor5 libqt5webchannel5-dev libqt5webchannel5-dev libqt5webchannel5 libqt5webchannel5 libqt5webengine-data libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5 libqt5webkit5-dev libqt5webkit5-dev libqt5webkit5 libqt5webkit5 libqt5websockets5-dev libqt5websockets5-dev libqt5websockets5 libqt5websockets5 libqt5webview5-dev libqt5webview5 libqt5widgets5 libqt5widgets5 libqt5x11extras5-dev libqt5x11extras5-dev libqt5x11extras5 libqt5x11extras5 libqt5xdg-dev libqt5xdg3 libqt5xdgiconloader-dev libqt5xdgiconloader3 libqt5xml5 libqt5xml5 libqt5xmlpatterns5-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5

-Salome-Meca2019をインストール
-ユーザーディレクトリに~/salome_mecaを作り、その中に、salome_meca-2019.0.3-1-universal.tgz をダウンロード。
-~/salome_mecaの中に入り
 tar xvzf salome_meca-2019.0.3-1-universal.tgz
 ./salome_meca-2019.0.3-1-universal.run
--"Enter the salome_meca install directory [default=/home/kouzou/salome_meca] :"は、後でディレクトリごと動かせばいい(?)ので、とりあえず"Enter".
--"salome_meca is in English, do you want to be in French ? [y/N] :"は、英語がいいので"N".


-あと、以下を実行 
 cd ~/salome_meca/V2019.0.3_universal/prerequisites/debianForSalome/lib 
 mkdir kari
 mv libstdc++* kari
 ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
 ln -s /usr/lib/x86_64-linux-gnu/libffi.so libffi.so.6
最後の2行は、Salome-Meca2018のインストールの際には不要。これをやらないと、
AsterStudyにしたとき「AsterStudyのモージュールを有効にできません。」のエラーとなる。


-上記の手順をスクリプトにしたものが、[[salomein:http://www.str.ce.akita-u.ac.jp/~gotouhan/salome/inst/salomein]]

*Ubuntu20.04にSalome-Meca2018をインストール [#vb7e7ce9]

-まずpython2.7をインストールして、pythonからリンクをはる
 sudo apt install python2.7
 sudo ln -s /usr/bin/python2.7 /usr/bin/python

 sudo apt-get install net-tools libnlopt0
 sudo apt-get install libQt5*

恐らく、libqt5gui5-gles libqt5quick5-gles libqt5quickparticles5-gles に競合があって駄目と言われるので、それらを除外してlibqt5*すべてを並べた以下を実行
 sudo apt install libqt5-ukui-style-dev libqt5-ukui-style1 libqt53danimation5 libqt53dcore5 libqt53dextras5 libqt53dinput5 libqt53dlogic5 libqt53dquick5 libqt53dquickanimation5 libqt53dquickextras5 libqt53dquickinput5 libqt53dquickrender5 libqt53dquickscene2d5 libqt53drender5 libqt5bluetooth5-bin libqt5bluetooth5 libqt5charts5-dev libqt5charts5 libqt5concurrent5 libqt5concurrent5 libqt5core5a libqt5core5a libqt5datavisualization5-dev libqt5datavisualization5 libqt5dbus5 libqt5dbus5 libqt5designer5 libqt5designer5 libqt5designercomponents5 libqt5designercomponents5 libqt5gamepad5-dev libqt5gamepad5 libqt5glib-2.0-0 libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqt5gui5 libqt5gui5 libqt5help5 libqt5help5 libqt5hunspellinputmethod5 libqt5keychain1 libqt5location5-plugin-mapboxgl libqt5location5-plugin-mapboxgl libqt5location5-plugins libqt5location5-plugins libqt5location5 libqt5location5 libqt5multimedia5-plugins libqt5multimedia5-plugins libqt5multimedia5 libqt5multimedia5 libqt5multimediagsttools5 libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediaquick5 libqt5multimediawidgets5 libqt5multimediawidgets5 libqt5network5 libqt5network5 libqt5networkauth5-dev libqt5networkauth5 libqt5nfc5 libqt5opengl5-dev libqt5opengl5-dev libqt5opengl5 libqt5opengl5 libqt5pas-dev libqt5pas1 libqt5positioning5-plugins libqt5positioning5-plugins libqt5positioning5 libqt5positioning5 libqt5positioningquick5 libqt5positioningquick5 libqt5printsupport5 libqt5printsupport5 libqt5qevercloud3 libqt5qml5 libqt5qml5 libqt5quick5 libqt5quick5 libqt5quickcontrols2-5 libqt5quickparticles5 libqt5quickparticles5 libqt5quickshapes5 libqt5quickshapes5 libqt5quicktemplates2-5 libqt5quicktest5 libqt5quicktest5 libqt5quickwidgets5 libqt5quickwidgets5 libqt5remoteobjects5-bin libqt5remoteobjects5-dev libqt5remoteobjects5 libqt5scintilla2-designer libqt5script5 libqt5scripttools5 libqt5scxml5-bin libqt5scxml5-dev libqt5scxml5 libqt5sensors5-dev libqt5sensors5-dev libqt5sensors5 libqt5sensors5 libqt5serialbus5-bin libqt5serialbus5-dev libqt5serialbus5-plugins libqt5serialbus5 libqt5serialport5-dev libqt5serialport5-dev libqt5serialport5 libqt5serialport5 libqt5sql5-ibase libqt5sql5-ibase libqt5sql5-mysql libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-odbc libqt5sql5-psql libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-tds libqt5sql5 libqt5sql5 libqt5svg5-dev libqt5svg5-dev libqt5svg5 libqt5svg5 libqt5test5 libqt5test5 libqt5texttospeech5-dev libqt5texttospeech5 libqt5virtualkeyboard5-dev libqt5virtualkeyboard5 libqt5waylandclient5-dev libqt5waylandclient5 libqt5waylandcompositor5-dev libqt5waylandcompositor5 libqt5webchannel5-dev libqt5webchannel5-dev libqt5webchannel5 libqt5webchannel5 libqt5webengine-data libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5 libqt5webkit5-dev libqt5webkit5-dev libqt5webkit5 libqt5webkit5 libqt5websockets5-dev libqt5websockets5-dev libqt5websockets5 libqt5websockets5 libqt5webview5-dev libqt5webview5 libqt5widgets5 libqt5widgets5 libqt5x11extras5-dev libqt5x11extras5-dev libqt5x11extras5 libqt5x11extras5 libqt5xdg-dev libqt5xdg3 libqt5xdgiconloader-dev libqt5xdgiconloader3 libqt5xml5 libqt5xml5 libqt5xmlpatterns5-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5


-Salome-Meca2018をインストール
-[[sitecustomize.py:http://www.str.ce.akita-u.ac.jp/~gotouhan/j2017/kondo/tyousa/salome17/sitecustomize.py]]を以下にコピー
 rsync -auv sitecustomize.py ~/salome_meca/appli_V2018.0.1_public/lib/python2.7/site-packages/salome/
-あと、以下を実行 
 cd ~/salome_meca/V2018.0.1_public/prerequisites/debianForSalome/lib
 mkdir kari
 mv libstdc++* kari


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS