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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-19-2002, 04:08 PM
|
#1
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 169
Rep:
|
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? 
|
|
|
09-19-2002, 07:58 PM
|
#2
|
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:
|
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.
|
|
|
09-20-2002, 05:12 PM
|
#3
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 169
Original Poster
Rep:
|
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.
|
|
|
09-20-2002, 05:14 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
how did you install it?if it was by rpm you should have upgraded it, and it would have been dealt with automatically.
|
|
|
09-20-2002, 05:58 PM
|
#5
|
Member
Registered: Sep 2002
Location: Dublin, Ireland
Distribution: Linux Mint 17
Posts: 169
Original Poster
Rep:
|
i used a tar file and compiled the source. you'd expect an rpm to be much easier but they're not really.
|
|
|
All times are GMT -5. The time now is 08:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|