「インストール - Python」の版間の差分

ナビゲーションに移動 検索に移動
23行目: 23行目:
# Pythonのソースコードのコンパイルを行う。(-j5はジョブ数を増加させて高速処理を行っている)<br><code>make -j 8</code>
# Pythonのソースコードのコンパイルを行う。(-j5はジョブ数を増加させて高速処理を行っている)<br><code>make -j 8</code>
# コンパイル完了後、インストールを行う。<br><code>make altinstall</code>
# コンパイル完了後、インストールを行う。<br><code>make altinstall</code>
# 以下のディレクトリにシンボリックリンクを作成する。<br><code>ln -s ~/InstallSoftware/Python/Python-3_8_4/lib64/python3.8/lib-dynload/ ~/InstallSoftware/Python/Python-3.8.4/lib/python3.8/</code>
# 以下のディレクトリにシンボリックリンクを作成する。<br><code>ln -s ~/InstallSoftware/Python/Python-3_8_4/lib64/python3.8/lib-dynload/ ~/InstallSoftware/Python/Python-3_8_4/lib/python3.8/</code>
# .profileファイルまたは.bashrcファイルに、以下のように環境パスを追記する。<br><code>export PATH="$HOME/InstallSoftware/Python/Python-3.8.4/bin:$PATH"</code>
# .profileファイルまたは.bashrcファイルに、以下のように環境パスを追記する。<br><code>export PATH="$HOME/InstallSoftware/Python/Python-3.8.4/bin:$PATH"</code>
<br><br>
<br><br>

案内メニュー