[Tutorials] fd 在 deepin 的安装
Tofloor
poster avatar
对方正在输入中
deepin
2023-12-10 04:36
Author

今天在deepin 上安装了 fd-find 工具 ,结果发现不能用 研究了半天 发现人家软件已经告诉你 原因了

Because /usr/bin/fd is already used by fdclone, we are install fd into
/usr/lib/cargo/bin/fd and creating a symlink from this file to /usr/bin/fdfind.

export PATH=/usr/lib/cargo/bin/:$PATH
will pick fd instead of fdclone.

-- Sylvestre Ledru , Mon, 15 Oct 2018 08:22:13 +0200

所以 找到文件 后 在终端执行命令 sudo ln -s /usr/lib/cargo/bin/fd /usr/bin 就不会提示 bash 未找到相关命令了

ps :这个fd 命令 可比 find 快多了

下载地址:http://mirrors.ustc.edu.cn/debian/pool/main/r/rust-fd-find/fd-find_8.6.0-3_amd64.deb

Reply Favorite View the author
All Replies
对方正在输入中
deepin
2023-12-10 04:41
#1
sudo ln -s /usr/lib/cargo/bin/fd /usr/bin
Reply View the author