2
我習慣apt-get,但是今天我被一些非常簡單的東西卡住了。我使用的是Debian 8虛擬機,需要使用gethostip
。由於它是syslinux一部分這裏是我做了什麼:當使用與apt-get一起安裝的軟件包時找不到命令
$ sudo apt-get install syslinux
$ gethostip -d localhost
但是它返回我bash: gethostip: command not found
。我也嘗試which gethostip
找到包,它什麼都沒有返回。
我應該怎麼做才能使它工作?
哦,是的,我也試過,但沒有告訴在表揚,沒有出現。 –
也看看'dpkg -S gethostip'(並嘗試運行'/ usr/bin/gethostip')。 – martin
它返回'dpkg-query:找不到匹配模式的路徑* gethostip *' –