[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tips/advice for installing latest version of fzf?




Their build tooling seems very sparse.  In particular, it does not
support DESTDIR or PREFIX variables.  However, that might be OK in this
case, as it appears to only produce and install a single artifact: a
binary called fzf.

If I were in your position, I would run 'make' and then manually place
the fzf program in a location where the shell's PATH variable setting
will allow the fzf program to be found.  Likely either /usr/local/bin
(if you want it to be available to everyone on the system) or ~/bin (if
you only want to make it available to your own login without affecting
others who might be using the system-provided binary).

Either way, the simplicity of the tool (in terms of it being a single
binary artifact that is deployed) makes it unlikely that you would
encounter any issues in doing this.

Regards,

-Roberto

OK, thank you, Roberto.

fzf comes with some shell integration tools like key bindings that can be installed according to the DEBIAN readme at /usr/share/doc/fzf/README.Debian. I'd prefer to keep those if at all possible. Based on what you are telling me, maybe I could try replacing the current binary with the newer one and keep the supporting debian package files in place.

I can't think of what harm could come from trying it to see if it works but I'm not very knowledgeable. So if this sounds like a really dumb idea, just let me know.


Reply to: