📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)

23行目: 23行目:
# まず、Texinfoの[https://ftp.gnu.org/gnu/texinfo/ 公式Webサイト]から、Texinfoをダウンロードする。
# まず、Texinfoの[https://ftp.gnu.org/gnu/texinfo/ 公式Webサイト]から、Texinfoをダウンロードする。
# 次に、Texinfoを解凍して、Texinfoディレクトリ直下にbuildディレクトリを作成する。
# 次に、Texinfoを解凍して、Texinfoディレクトリ直下にbuildディレクトリを作成する。
#: <code>mkdir build</code>
#: <pre>mkdir build</pre>
# Texinfoをビルドおよびインストールするため、以下のコマンドを実行する。
# Texinfoをビルドおよびインストールするため、以下のコマンドを実行する。
#: <code>../configure --prefix=/<Texinfoのインストールディレクトリ></code>
#: <syntaxhighlight lang="text">
#: <code>make -j $(nproc)</code>
../configure --prefix=/<Texinfoのインストールディレクトリ>
#: <code>make TEXMF=/<Texinfoのインストールディレクトリ>/texmf install-tex</code>
#: <code>make install</code>
make -j $(nproc)
make TEXMF=/<Texinfoのインストールディレクトリ>/texmf
      install-tex
make install
</syntaxhighlight>
# .profileファイルまたは.bashrcファイル等に、以下の環境変数を追記する。
# .profileファイルまたは.bashrcファイル等に、以下の環境変数を追記する。
#: <code>export PATH="/<Texinfoのインストールディレクトリ>/bin:$PATH"</code>
#: <syntaxhighlight lang="sh">
#: <code>export LD_LIBRARY_PATH="/<Texinfoのインストールディレクトリ>/lib64:$LD_LIBRARY_PATH"</code>
export PATH="/<Texinfoのインストールディレクトリ>/bin:$PATH"
export LD_LIBRARY_PATH="/<Texinfoのインストールディレクトリ>/lib64:$LD_LIBRARY_PATH"
</syntaxhighlight>
<br><br>
<br><br>