You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

查询vi命令对应的软件包

查询vi命令对应的软件包

Hey there! Let me walk you through figuring out which package provides the /bin/vi command.

In Debian, Ubuntu, and their derivative distros, /bin/vi is almost always supplied by the vim-tiny package. If your earlier dpkg -S check didn't turn up results, there's a good chance /bin/vi is a symbolic link to another executable. Let's verify that first:

ls -l /bin/vi

You'll probably see something like /bin/vi -> /usr/bin/vim.tiny. Then run this to confirm the package:

dpkg -S /usr/bin/vim.tiny

That should point you straight to vim-tiny.

On minimal systems that use BusyBox (like some lightweight server setups), /bin/vi might be part of the BusyBox suite. In that case, the package you're looking for is busybox. You can check with:

dpkg -S /bin/busybox

If vi is linked to BusyBox, this command will confirm it's part of that package.

备注:内容来源于stack exchange,提问作者afsrgdtfhygjhjgfdse

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.15 14:47:58