Fzf: Ubuntu installation through apt-get install

Created on 25 Oct 2016  路  6Comments  路  Source: junegunn/fzf

  • Category

    • [ ] fzf binary

    • [ ] fzf-tmux script

    • [ ] Key bindings

    • [ ] Completion

    • [ ] Vim

    • [ ] Neovim

    • [ ] Etc.

  • OS

    • [x] Linux

    • [ ] Mac OS X

    • [ ] Windows

    • [ ] Etc.

  • Shell

    • [ ] bash

    • [ ] zsh

    • [ ] fish

@junegunn: Would you be open to my adding fzf to the PPA so that I can use apt-get install from Ubuntu?

no-response

Most helpful comment

It would be nice to have this indeed: using git doesn't work well for updating, you have to remember to update it manually, while apt is the usual stuff. Same goes for Linuxbew: it's a very nice tool but not so common (yet?) and you have to remember to update it separately from the usual stuff...

All 6 comments

I have no good understanding of PPA, but it sounds like it's "personal" and thus non-official. Does making one require my permission or intervention?

It would be nice to have this indeed: using git doesn't work well for updating, you have to remember to update it manually, while apt is the usual stuff. Same goes for Linuxbew: it's a very nice tool but not so common (yet?) and you have to remember to update it separately from the usual stuff...

Has there been an update to this? Will FZF be made available in the Ubuntu / apt-get repositories?

It is in the repos:

https://packages.ubuntu.com/search?keywords=fzf&searchon=names&suite=eoan&section=all

As of right now the package listed there is a bit out of date (0.18.0), although I'm not sure how big of an issue that is.

Also, if anyone uses this package and wants key bindings: after installing the repo navigate to /usr/share/doc/fzf/README.Debian. There are instructions in there for how to set them up for your respective shell.

For convenience, here are the (current) contents of that file:


/usr/share/doc/fzf/README.Debian

====

Append this line to ~/.bashrc to enable fzf keybindings for Bash:

   source /usr/share/doc/fzf/examples/key-bindings.bash

Zsh
===

Append this line to ~/.zshrc to enable fzf keybindings for Zsh:

   source /usr/share/doc/fzf/examples/key-bindings.zsh

Fish
====

Issue the following commands to enable fzf keybindings for Fish:

   mkdir -p ~/.config/fish/functions/
   ln -s /usr/share/doc/fzf/examples/fish_user_key_bindings.fish ~/.config/fish/functions/

Vim
===

The most straightforward way is to append the following line to your vimrc:

   source /usr/share/doc/fzf/examples/fzf.vim

@joegreene There is apparently a bug in this doc which does not include auto-completion instructions, and the official doc here should be used instead

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nordlow picture nordlow  路  3Comments

aleclarson picture aleclarson  路  3Comments

ghost picture ghost  路  3Comments

erusev picture erusev  路  3Comments

fenuks picture fenuks  路  3Comments