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

ナビゲーションに移動 検索に移動
44行目: 44行目:
<br>
<br>
[https://github.com/fish-shell/fish-shell/releases FishのGithub]からソースコードをダウンロードする。<br>
[https://github.com/fish-shell/fish-shell/releases FishのGithub]からソースコードをダウンロードする。<br>
または、<code>git</code>コマンドを使用してソースコードをダウンロードする。<br>
ダウンロードしたファイルを解凍する。<br>
  wget https://github.com/fish-shell/fish-shell/releases/download/x.x.x/fish-x.x.x.tar.xz
  tar xf fish-<バージョン>.tar.gz
  tar xf fish-*.tar.gz
  cd fish-<バージョン>
# または
<br>
または、<code>git clone</code>コマンドを使用してソースコードをダウンロードする。<br>
  git clone https://github.com/fish-shell/fish-shell.git
  git clone https://github.com/fish-shell/fish-shell.git
cd fish-shell
<br>
<br>
Fishをビルドおよびインストールする。<br>
Fishをビルドおよびインストールする。<br>
cd fish-*
  mkdir build && cd build
  mkdir build && cd build
   
   
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=<Fishのインストールディレクトリ> -DBUILD_DOCS=ON -DINSTALL_DOCS=ON -DWITH_GETTEXT=ON ..
  cmake -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_INSTALL_PREFIX=<Fishのインストールディレクトリ> \
      -DBUILD_DOCS=ON   \
      -DINSTALL_DOCS=ON \
      -DWITH_GETTEXT=ON \
      ..
  make -j $(nproc)
  make -j $(nproc)
  make install
  make install

案内メニュー