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

4 replies [Last post]
trisquel_forum
Offline
Joined: 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
Joined: 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
Joined: 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
Joined: 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
Joined: 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).