How to reinstall vim? [closed] - vim

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have problems with my vim in Ubuntu 11.10, when I press 'i' or 'v' vim doesn't show anything like 'INSERT MODE' or 'VISUAL MODE', when I try to delete with backspace, vim only move the cursor to the left. I tried reinstalling with this Reinstalling Vim but got the same result, also I don't have ~/.vim directory.
It works fine whith :set nocp, why ?

apt-get update
apt-get install vim
that will give you the version 7.2.330 or so
You can add :set nocp in your ~/.vimrc

By default, the vim installed on ubuntu system(1 CD ubuntu setup) is minimal vim .... try to upgrade it to the full version.
apt-get update
apt-get install vim

Check /etc/vim/ and see what's there.
apt-get purge vim before re-installing it might help too.

Since you've already tried reinstalling, try the following: remove /etc/vimrc and $HOME/.vimrc and see if the problem persists. It might be that something changed in your configuration that's giving you troubles

Related

Installing plugins in vim [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Am running the command below:-
sudo apt install curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
I get this error:-
E: Command line option 'L' [from -fLo] is not understood in combination with the other options.
apt install and curl are entirely different commands. sudo apt install curl would install the curl program itself, and then you can do curl -fLo .... You should look into what these commands mean before copy pasting them into your terminal and hitting enter.

What is the best way to install nodejs on OSX? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I see you can download nodejs via homepage or install via homebrew or via macports.
which is the best method?
Is there a reason for choosing one over the other?
Some things I consider:
1. Ease of upgrading to latest version
2. Ability to (fully) remove and uninstall
3. 1 and 2 should leave no trace of old version (including any temp files), or in case of uninstalling, should fully remove everything.
I prefer to use brew.
once installed its as easy as:
brew install node
Done and done.
Don't want it anymore?
brew uninstall node
Need to upgrade?
brew upgrade node
Plus, its based on git and the community is very active.
Furthermore, the packages that are installed are always in one place, then symlinked to your /usr/local/bin, so no messy sudo or multiple install locations.
Checkout the site here
Use the Mac OS X Installer as upgrading is easier in the future.
I personally like to compile from source.
https://github.com/joyent/node/wiki/Installation
You can use NVM for upgrades and downgrades and even switching between different versions at any moment!
https://github.com/creationix/nvm

linux ubuntu server, can't complete "sudo apt-get install ubuntu-desktop" [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'va installed ubuntu server 10.41 in Vm ware, and I would like to install the desktop
but each time i try to do the command sudo apt-get install ubuntu-desktop
this error shows up:
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libp/libproxy/
libproxy0-o.3.1-ubuntu1-amd64.deb 403 Forbidden [Ip:91.189.92.179 80]
E:ubable to fetch some archives,maybe run apt-get update or try with fix --missing?
I tried fix missing command but didn't work for the same reason.
I tried to cahnge the proxy like this:
changed the proxy in my host computer. (ultra serf)
changed the proxy settings in my VM to Bridged And Riplicate physical network Connection state.
run the command:
export http-proxy
http-proxy=http://127.0.0.1:80
same problem, so mybe i should change the proxy settings in ubuntu but I don't know how By the way the missing file that is refusing to be downlaoded is 38.1KB and all other files are perfectly downloaded
so maybe i can just download it in the host(windows xp) and move to ubuntu but i don't know where is the directory for the downloaded package OR where can i add this file, can any one help me?
Edit your /etc/apt/sources.list.
Find lines containing us.archive.ubuntu.com. Replace that with another mirror from the Ubuntu mirror list, say ubuntu.secs.oakland.edu.
Good luck!
Edit: And don't forget to run apt-get update!

Reinstalling Vim [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm trying to reinstall vim in ubuntu 11.10, but am having trouble. From the software center I click on install, and I get the error message: "Failed to download package files. Check your internet connection". My internet connection is fine.
Then, I click on OK, and this message comes up: "Requires Installation of untrusted packages." I click on OK (the only option), and the installation ceases. Anyone know how I resolve this problem?
Try from command line:
sudo apt-get update
sudo apt-get install vim gvim
Before running the commands from #DiogoDoreto 's post, run
sudo apt-get purge vim gvim
Then run update and install.
Purge will clear out all of the old configuration files and will usually fix the problem.

How to install packages from command line on Suse [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
What is the Suse version of apt-get or yum?
How do I install software packages from the command line?
A fairly intense session of googling suggests that it may be yast or yast2, but no sensible HOWTO of listing and installing packages from the command line seems to exist. (maybe I am looking in the wrong place)
If I am an administrator for a remote Suse server, how do I install packages from the command line? (Not using a GUI and preferably installing from a central repo)
zypper
Found a tutorial for you
And official documentation

Resources