Don't want to use system Vim, want to use my own
- Login o registrati per inviare commenti
I've compiled Vim from source.
I'd like to use the freshly-compiled Vim instead of the version of Vim that's provided by the Trisquel "vim" package...
I'm using Trisquel 7.0
How can I go about using the Vim that has been compiled?
One way:
first remove vim (sudo apt-get remove vim).
Then compile the program with "make checkinstall". Maybe you will have to install "checkinstall" first.
You will obtain a .deb file which you can install via dpkg.
Now the "vim" command should launch your compiled version.
Thanks for your reply quantumgravity.
AFAICT uninstalling vim would uninstall the "trisquel-recommended" package.
Is uninstalling the "trisquel-recommended" package a good idea?
You can safely remove it for it is just a metapackage.
welcome to the trisquel_forum, trisquel_forum.
Oh wait.. You were already here.. :)
Just move the executable binary of your vim to /usr/local/bin, which has (by default) precedence over /usr/bin (i.e., is listed before in the PATH variable).
- Login o registrati per inviare commenti