What to do if installation of vim on ubuntu fails

藏色散人
Release: 2020-05-10 14:29:09
Original
7339 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template