junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
64.63k stars 2.38k forks source link

sudo apt install fzf does not work in linux mint #2072

Open baditaflorin opened 4 years ago

baditaflorin commented 4 years ago

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

averaart commented 4 years ago

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

ghost commented 4 years ago

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

PatrickF1 commented 3 years ago

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

sudo apt-get install fzf
caquillo07 commented 3 years ago

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

dreamalligator commented 3 years ago

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

m-nathani commented 1 year ago

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?