fzf icon indicating copy to clipboard operation
fzf copied to clipboard

sudo apt install fzf does not work in linux mint

Open baditaflorin opened this issue 5 years ago • 6 comments

sudo apt-get install fzf

[sudo] password for florin:
Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package fzf

baditaflorin avatar Jun 07 '20 02:06 baditaflorin

Same goes for Ubuntu. Version info: #53~18.04.1-Ubuntu SMP Thu Jun 4 14:58:26 UTC 2020

averaart avatar Jun 18 '20 08:06 averaart

It's not in apt packages please use this method for easy install

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

Also if you face any problem let me know.

sudo apt-get install fzf

[sudo] password for florin: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package fzf

ghost avatar Jun 18 '20 08:06 ghost

Wait, if it's not in apt packages, why does the readme suggest you can install with this command?

sudo apt-get install fzf

PatrickF1 avatar Jan 25 '21 17:01 PatrickF1

Installing with apt does work, but its a very old version 0.20 in this case

caquillo07 avatar Feb 14 '21 08:02 caquillo07

Installing with apt does work, but its a very old version 0.20 in this case

Thanks @caquillo07! I made a small PR to warn others when installing. https://github.com/junegunn/fzf/pull/2538

tom-spalding avatar Jun 23 '21 23:06 tom-spalding

I am also trying to install using apt on ubuntu

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy

and getting error on these mirrors

murtaza@murtaza-desktop:~/my-projects/fzf$ sudo apt install fzf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gcc-10-base gcc-10-base:i386 libllvm13 libllvm13:i386 libvulkan1:i386 libwayland-client0:i386
  libxcb-randr0:i386 mesa-vulkan-drivers:i386
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  fzf
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 926 kB of archives.
After this operation, 2,486 kB of additional disk space will be used.
Err:1 http://mirror.0x.sg/ubuntu jammy/universe amd64 fzf amd64 0.29.0-1
  404  Not Found [IP: 118.189.187.101 80]
E: Failed to fetch http://mirror.0x.sg/ubuntu/pool/universe/f/fzf/fzf_0.29.0-1_amd64.deb  404  Not Found [IP: 118.189.187.101 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

m-nathani avatar Jun 08 '23 06:06 m-nathani