LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-19-2002, 04:08 PM   #1
breadbin
Member
 
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 158

Rep: Reputation: 26
how to delete old vim after new installation


I recently successfully installed vim 6.x and I still have vim 5.x, the 6.x version is in /usr/local/bin and if i just type vim, the older one pops up, can i just delete the old one and what do i need to delete exactly?
 
Old 09-19-2002, 07:58 PM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
echo $PATH
which vim

Modify your .profile so that /usr/local/bin comes before /usr/bin (or wherever your 'which' command found your old vim) in your path.

The easiest thing to do would be to remove the current vim ( from 'which output'). Soft link your /usr/local/bin/vim in the same directory.
 
Old 09-20-2002, 05:12 PM   #3
breadbin
Member
 
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 158

Original Poster
Rep: Reputation: 26
Talking voila - the long way around

thanks nxny
i solved it already the hard way, i deleted /usr/bin/vim and so when i type vim it only finds vim in /usr/local/bin. i hope it's ok to delete this file from /usr/bin.
 
Old 09-20-2002, 05:14 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how did you install it?if it was by rpm you should have upgraded it, and it would have been dealt with automatically.
 
Old 09-20-2002, 05:58 PM   #5
breadbin
Member
 
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 158

Original Poster
Rep: Reputation: 26
i used a tar file and compiled the source. you'd expect an rpm to be much easier but they're not really.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
encryption with Vim (vim -x) mikshaw Linux - Software 2 03-07-2007 09:00 AM
How to delete files that won't delete? di11rod Linux - Security 7 10-19-2005 09:14 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 02:46 AM
Vim wildcat22 Programming 3 03-02-2004 05:43 PM
Better looking VIM? the_styler Linux - Newbie 5 04-04-2003 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration