📢 Webサイト閉鎖と移転のお知らせ
このWebサイトは2026年9月に閉鎖いたします。
新しい記事は移転先で追加しております。(旧サイトでは記事を追加しておりません)
| 65行目: | 65行目: | ||
== インストール == | == インストール == | ||
==== Linux ==== | ==== Linux ==== | ||
===== 依存関係のインストール ===== | |||
まず、必要な環境をインストールする。<br> | まず、必要な環境をインストールする。<br> | ||
# RHEL | # RHEL | ||
sudo dnf install curl wget git gcc-c++ make python3 python3-pip nodejs npm | sudo dnf install curl wget git gcc-c++ make python3 python3-pip nodejs npm unzip | ||
# SUSE | # SUSE | ||
sudo zypper install curl wget git gcc-c++ make python3 python3-pip nodejs npm | sudo zypper install curl wget git gcc-c++ make python3 python3-pip nodejs npm unzip | ||
# Debian | # Debian | ||
sudo apt install curl wget git build-essential python3 python3-pip nodejs npm | sudo apt install curl wget git build-essential python3 python3-pip nodejs npm unzip | ||
<br> | <br> | ||
===== Node.jsのインストール ===== | |||
Node.jsの最新版をインストールする場合は、NodeSourceリポジトリを使用する。<br> | Node.jsの最新版をインストールする場合は、NodeSourceリポジトリを使用する。<br> | ||
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - | curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - | ||
| 87行目: | 89行目: | ||
sudo apt install nodejs | sudo apt install nodejs | ||
<br> | <br> | ||
===== Bunのインストール ===== | |||
Bunをインストールする。<br> | |||
curl -fsSL https://bun.com/install | bash | |||
<br> | |||
~/.profileファイル等に、環境変数 <code>PATH</code> を設定する。<br> | |||
<syntaxhighlight lang="sh"> | |||
export PATH="$BUN_INSTALL/bin:$PATH" | |||
</syntaxhighlight> | |||
<br> | |||
または、下記のURLからバンドル版をダウンロードする。<br> | |||
* https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64.zip | |||
<br> | |||
ダウンロードしたファイルを解凍する。<br> | |||
必要ならば、解凍したファイルを任意のディレクトリに配置する。<br> | |||
unzip bun-linux-x64.zip | |||
mv bun-linux-x64 <任意のディレクトリ> | |||
<br> | |||
~/.profileファイル等に、環境変数 <code>PATH</code> を設定する。<br> | |||
<syntaxhighlight lang="sh"> | |||
export PATH="/<Bunのインストールディレクトリ>/bin:$PATH" | |||
</syntaxhighlight> | |||
<br> | |||
===== PDF Reader MCPのインストール ===== | |||
PDF Reader MCPをダウンロードする。<br> | PDF Reader MCPをダウンロードする。<br> | ||
git clone https://github.com/SylphxAI/pdf-reader-mcp.git | git clone https://github.com/SylphxAI/pdf-reader-mcp.git | ||
| 106行目: | 131行目: | ||
pip install -r requirements.txt | pip install -r requirements.txt | ||
<br> | <br> | ||
==== Windows ==== | ==== Windows ==== | ||
[https://nodejs.org/ Node.jsの公式Webサイト]からNode.jsをダウンロードしてインストールする。<br> | [https://nodejs.org/ Node.jsの公式Webサイト]からNode.jsをダウンロードしてインストールする。<br> | ||