Updating a software - compile from source
Hi
I have recently installed fedora 13 which comes with vim 7.2.14. It does not have gui enabled (i.e. gvim is not present and gvimdiff is absent). I downloaded vim 7.3 source files from vim.org and compiled it using 'make'. Now can I simply do 'make install' or do I need to first remove the older version? Will 'make install' overwrite the existing installation? Alteast the binaries in /usr/bin should be overwritten... Also package manager will think it has vim 7.2 but actually vim 7.3 is installed. I am asking this here because this is my general problem not particularly related to one software. (Note: my pc is not connected to internet so I cannot do 'yum install gvim') Thanks, |
Unless you changed it, the compiled version will install to /usr/local and the two will not interact.
|
Thanks Alucardzero for reply
i think 'make install' will put some link to the vim 7.3 of /usr/local in probably /usr/bin or /usr/local/bin. But in /usr/bin there is a 'vim' already present. How is the conflict resolved? Regards |
Maybe Fedora has a "gvim" package?
|
In my install of Fedora13, the gvim did not get installed, only vim got installed. Probably I did not chose it explicitly during the install...
Anyway as I said earlier my question is more general not just about vim. What happens to any software if I install another copy after compiling from source? |
Unless you changed it, the compiled version will install to /usr/local and the two will not interact.
|
Quote:
Quote:
One way to ensure this is to make /usr/local writable by your user normal and then run "make install" as your normal user instead of as root. In this situation both versions of vim will happily coexist on your machine. Which version you get when you run "vim" will depend on the order of /usr/bin relative to /usr/local/bin in your $PATH. In general /usr/local/bin should be before /usr/bin Cheers, Evo2. |
All times are GMT -5. The time now is 08:28 PM. |