9

I am interested in knowing which options are used to compile vim in the package "vim" as I am trying to compile vim from source on another system, not running Debian/Ubuntu, and would like it to work in a similar way.

3 Answers 3

11

Grab the source package

apt-get source vim

That'll download the source for the package in your current dir. Look at debian/rules, which is a makefile used when creating all the different vim packages. It may be hard to read, but the information you seek should be in there somewhere.

You can also download the source package from http://packages.ubuntu.com/source/trusty/vim (scroll down) if you can't log into a debian/ubuntu box to run apt-get.

1
  • Mention that debian/rules is in strongswan_{version}-ubuntu.debian.tar.xz.
    – Terry Wang
    Sep 20, 2016 at 4:18
10

vim --version will list all the options in ubuntu.

1
  • It would be very nice if that was consistent across every application.
    – James
    Mar 17, 2011 at 15:51
1

Version command in vim reports compile options.:version

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .