-2
我正在嘗試爲Raspberry Pi獲取nmap,並且遇到錯誤。我遵循這裏的說明: http://nmap.org/book/inst-linux.html#inst-debianRaspberry Pi無法安裝Nmap,失敗的依賴關係
我已經安裝了外星人。下一個命令是
rpm -vhU https://nmap.org/dist/nmap-6.49BETA2-1.i386.rpm
但我得到這個錯誤:
[email protected] ~ $ rpm -vhU https://nmap.org/dist/nmap-6.49BETA2-1.i386.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
Retrieving https://nmap.org/dist/nmap-6.49BETA2-1.i386.rpm
error: Failed dependencies:
python >= 2.4 is needed by nmap-2:6.49BETA2-1.i386
但我的Python的版本是:
[email protected] ~ $ python --version
Python 2.7.3
這是怎麼回事?
試試'apt-get install nmap'。 – duskwuff
謝謝,這工作! – Nick