|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
I think it's a question for how to do it, not "why did it happen."
But I'm afraid I'm too rusty on ports to give a decent answer... I'm positive it can be done though. Just requires some black magic. |
|
||||
they would conflict so you can't have them both installed int he usual manor. I think it's possible to use the ports system to build things with different targets w/o much trouble but have never had to do it, check the manual pages.
PS: I don't believe in multiple versions installed of the same thing unless having to test a development release along side a stable install (which I do not like doing on an otherwise stable machine!). And things like combing PHP4 and PHP5 for a 'grace period' for people to change their scripts before dropping the old version.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
The best, most complete method for installing multiple versions of the same application involves the use of jails. Keeps things perfectly separated. But it can be overkill for most desktop situations.
You can play around with the "PREFIX" setting to install ports into alternate locations (not /usr/local). Depending on the dependencies, and how many libs the two ports need, this may not always work. Another alternative is to install one version via the ports tree, and the other version manually, setting the --prefix to someplace totally separate from /usr/local. |
|
||||
As phoenix and carpetsmoker said, it can be managed. I just would like to add that there few more environment variables regarding the use of packages\ports - like place to install.
You can use the advice of carpetsmoker to define the book-keeping information about package to be stored correctly (i.e. /var/db/pkg) and define one place for your "double software" (like /usr/local/mybin and .../mylib etc). |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
kernel version 0?? | Stellar | OpenBSD General | 5 | 30th August 2009 11:07 PM |
My version of pkg_add :) | DNAeon | FreeBSD Ports and Packages | 26 | 15th October 2008 06:58 AM |
version of OpenBSD | milo974 | OpenBSD General | 1 | 6th August 2008 08:24 AM |
[FreeBSD] which version of PostgreSQL? | MacApp | FreeBSD Ports and Packages | 8 | 12th July 2008 09:25 AM |
What version of FreeBSD should i choose | latorion | FreeBSD Installation and Upgrading | 4 | 19th May 2008 10:16 PM |