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.

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.

| improve this answer | |
  • Mention that debian/rules is in strongswan_{version}-ubuntu.debian.tar.xz. – Terry Wang Sep 20 '16 at 4:18
9

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

| improve this answer | |
  • It would be very nice if that was consistent across every application. – James Mar 17 '11 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.