解決無法定位軟件包 或 install net-tools
當我們安裝好Linux后,因為里面有很多功能服務沒有安裝(如ifconfig、vsftpd)
所以出現一些command '***** ' not found,but can be installed with錯誤
我們就會需要安裝來使用,系統需要更新或者升級。
~$ ifconfig

Linux系統需要更新,用以下命令: sudo apt-get update
或者Linux系統軟件需要升級,用以下命令:sudo apt-get upgrade
~$ sudo apt install net-tools

原因:本地沒有該功能的資源
解決方法:使用sudo apt-get update命令進行更新資源
~$ sudo apt-get update

Linux系統軟件需要升級,用以下命令:sudo apt-get upgrade
~$ sudo apt-get upgrade

之后進行安裝net-tools
~$ sudo apt install net-tools

之后命令正常使用。
~$ ifconfig
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
