在ubuntu中查找命令的归属包 jellyspot 收录于 技术学习 2020-10-14 约 85 字 预计阅读 1 分钟 次阅读 目录 在 ubuntu 中安装 apt-file 程序可以反向查找命令属于哪个包 1 2 $ sudo apt-get install apt-file $ apt-file update 首先安装 apt-file工具,然后更新对应的 cache 1 2 3 4 $ which ls /bin/ls $ apt-file search -F bin/ls coreutils: /bin/ls 使用 apt-file search -F bin/ls 来查找 ls 命令的归属包 Please enable JavaScript to view the comments powered by Valine.