解決沒法定位軟件包 或 install net-tools

解決沒法定位軟件包    install net-tools spa

 

當咱們安裝好Linux後,由於裏面有不少功能服務沒有安裝(如ifconfig、vsftpd)3d

因此出現一些command  '***** ' not found,but can be installed with錯誤blog

咱們就會須要安裝來使用,系統須要更新或者升級資源

~$ ifconfigget

Linux系統須要更新,用如下命令: sudo apt-get updateit

或者Linux系統軟件須要升級,用如下命令:sudo apt-get upgradeio

~$  sudo apt install net-toolsftp

緣由:本地沒有該功能的資源軟件

解決方法:使用sudo apt-get update命令進行更新資源date

~$ sudo apt-get update

Linux系統軟件須要升級,用如下命令:sudo apt-get upgrade

 ~$ sudo apt-get upgrade

以後進行安裝net-tools

~$  sudo apt install net-tools

以後命令正常使用

~$ ifconfig

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

相關文章
相關標籤/搜索