Virtual Machine Network Edit" and check whether DHCP and NAT are connected; then check whether the host service is turned on; finally disable the shared folder. And execute "#apt-get install" in the terminal."/> Virtual Machine Network Edit" and check whether DHCP and NAT are connected; then check whether the host service is turned on; finally disable the shared folder. And execute "#apt-get install" in the terminal.">

Home >Operation and Maintenance >Linux Operation and Maintenance >What to do if installation of vim on ubuntu fails

What to do if installation of vim on ubuntu fails

藏色散人
藏色散人Original
2020-04-25 11:15:507348browse

What to do if installation of vim on ubuntu fails

What should I do if the installation of vim on ubuntu fails?

1. Check whether the network is connected. You can ping the network in the terminal (ctrl alt t to open) to see if the network is smooth!

2. Check the virtual machine network configuration, Edit->Virtual Machine Network Edit-> Check whether DHCP and NAT are in link status;

3. Check whether the host service is turned on, mainly About the virtual machine (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 if ISC is turned on at the same time (although I don’t know why), so shared folders must be disabled! ! ! ! (Shared files are in the virtual machine configuration-> option)

5. (1) After everything has been checked, you can execute #apt-get install vim in the terminal (it can be successful); ( 2) If unsuccessful, you can remove the original lower version of vi and execute this command (since I have deleted vi when I was searching for solutions online, I don’t know whether the existence of vi will affect vim installation)

Recommended: "linux tutorial"

The above is the detailed content of What to do if installation of vim on ubuntu fails. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn