Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the failure of ubuntu to install vim?

Shulou Source: shulou.com Published: 2022-06-03 06:14:28 10月03日 Update

1. Check whether the network is connected, you can ping the network in the terminal (ctrl+alt+t open) to see if the network is unblocked!

two。 Check virtual machine network configuration, edit-> virtual machine network editing-> check whether DHCP and NAT are linked

3. Check whether the host service is enabled, mainly about the virtual machines (which should start with vmware)

4. Check whether the ISC (sharing) of the virtual machine is turned on. When connecting with NAT, there will be problems when ISC is turned on at the same time (although I don't know why), so the shared folder must be disabled! (the file is shared in the virtual machine configuration-> option)

5. (1) after all checks, you can execute # apt-get install vim in the terminal (it can be successful); (2) if it is not successful, you can remove the original lower version of vi. After executing this command, vi has been deleted, so it is not known whether the existence of vi will affect the installation of vim)

These are the details of what to do if ubuntu failed to install vim. Please pay more attention to other related articles!

Tags: Network check success file terminal configuration unblocked host host service content original at the same time command that is beginning how to do folder article is in more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Tech Info Xiaomi OPPO Reno Linux