You are not logged in.

#1 2011-03-07 18:59:40

Pratgeek
Member
Registered: 2011-01-25
Posts: 13

Trouble installing vim[SOLVED]

i already have vi installed by default but i want to switch to vim.
so for that i did:
pacman -S vim ( which installed the required dependencies gpm,perl and vim-runtime)
but vim on terminal say "no such command"

could anyone please tell me what i am missing


thanks

Last edited by Pratgeek (2011-03-07 22:50:07)

Offline

#2 2011-03-07 19:12:15

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Trouble installing vim[SOLVED]

Make sure /usr/bin is in your "PATH" by doing 'echo $PATH'. But I guess it already is. Also make sure you have /usr/bin/vim. smile

Offline

#3 2011-03-07 19:24:24

Pratgeek
Member
Registered: 2011-01-25
Posts: 13

Re: Trouble installing vim[SOLVED]

/usr/bin is already there in the "PATH".
i don't have vim in /usr/bin instead i have vi. sad   that is /usr/bin/vi

Offline

#4 2011-03-07 20:31:52

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Trouble installing vim[SOLVED]

If for any reason vim didn't make it to your /usr/bin, than try installing it again, maybe this time with -f option, and watch for any error during installation.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2011-03-07 20:34:19

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: Trouble installing vim[SOLVED]

Are you sure pacman successfully installed vim? Maybe it exited with error. For me, every time I want to install vim, I have to remove /usr/bin/rview manually because it fails complaining about that file

Offline

#6 2011-03-07 20:35:27

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: Trouble installing vim[SOLVED]

If there'll be any problems with vim from official repos, I can recommend you cvim from AUR, which is also built with X clipboard support.

Offline

#7 2011-03-07 21:57:16

helloworld1
Member
Registered: 2010-12-26
Posts: 72

Re: Trouble installing vim[SOLVED]

You can try gvim in the official repo. It is not just gvim, it contains console vim too.

Offline

#8 2011-03-07 22:48:54

Pratgeek
Member
Registered: 2011-01-25
Posts: 13

Re: Trouble installing vim[SOLVED]

YES!! it worked.
the -f option did it's trick.
thanks guys.
smile

Offline

Board footer

Powered by FluxBB