Q: 我的debian没有mcopy这个命令。怎么办?
方法1:
如果你的朋友的机器上有 mcopy 这个命令, 让他安装 dlocate, 然后运行如下的命令就知道 mcopy 所在的包了
$ dlocate bin/mcopy
mtools: /usr/bin/mcopy
方法2:
在自己的机器上安装 command-not-found, 然后运行 mcopy 时他会打印所需的包, 如下所示
$ mtools
The program 'mtools' is currently not installed. You can install it by typing:
sudo apt-get install mtools
-bash: mtools: command not found
方法3:
先安装 apt-file, 然后用 apt-file 搜索即可
$ sudo apt-get install apt-file
$ sudo apt-file update
$ apt-file search bin/mcopy
mtools: /usr/bin/mcopy
good luck.