Don't want to use system Vim, want to use my own

4 risposte [Ultimo contenuto]
trisquel_forum
Offline
Iscritto: 12/30/2015

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?

quantumgravity
Offline
Iscritto: 04/22/2013

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.

trisquel_forum
Offline
Iscritto: 12/30/2015

Thanks for your reply quantumgravity.

AFAICT uninstalling vim would uninstall the "trisquel-recommended" package.

Is uninstalling the "trisquel-recommended" package a good idea?

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

You can safely remove it for it is just a metapackage.
welcome to the trisquel_forum, trisquel_forum.
Oh wait.. You were already here.. :)

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

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).