0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Raspbianにfzfをインストールする

0
Last updated at Posted at 2020-10-03

tr;dr

Raspbian向けにはaptで 提供されていないので、インストールスクリプトを使うか、手動でbinaryを配置する。
インストールスクリプトに任せてしまったほうがkey bindingや.bashrcの設定なども行ってくれてすぐに使える状態になるので楽。

インストールスクリプトを使う場合

公式にインストール スクリプトが用意されているので、これを使う。

手動でbinaryを配置する場合

CPU アーキテクチャを確認する。

$ uname -m
armv7l # (Raspberry Pi 3 Model B+ の場合)

junegunn/fzf-binのリリースページから、CPUアーキテクチャに対応したtgzをダウンロードして展開して、/usr/local/bin に配置する。

# 以下は最新リリースが0.22.0、CPUアーキテクチャが`armv7l`だった場合の例
$ curl -OL https://github.com/junegunn/fzf-bin/releases/download/0.22.0/fzf-0.22.0-linux_arm7.tgz
$ tar xvfz ./fzf-0.22.0-linux_arm7.tgz
$ cp -p ./fzf /usr/local/bin/.
$ which fzf
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?