Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

up vote 8 down vote accepted

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/maverick/vim if you can't log into a debian/ubuntu box to run apt-get.

share|improve this answer
    
Thankfully I can read that, so that's great thanks. –  StephenPaulger Feb 10 '11 at 17:53
add comment

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

share|improve this answer
    
That's very neat. Thanks. –  StephenPaulger Mar 14 '11 at 16:35
    
It would be very nice if that was consistent across every application. –  James Mar 17 '11 at 15:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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