FreeBSD java installation help!
Achilleas Mantzios
achill at matrix.gatewaynet.com
Fri Jun 21 07:18:55 UTC 2013
By all means what Rainer Duffner said. It is exactly for newbies like
Kavitha H Yogaraj that the PKGNG system was brought in to life, + it has
an excellent SQL interface which i personally love.
On 20/06/2013 21:54, Rainer Duffner wrote:
> Am 20.06.2013 um 20:28 schrieb Kavitha H Yogaraj <ykavitha at uw.edu>:
>
>> In my second step, when I run, I get couldn't find package, How to install all these packages individually ? is there a way to install all of them manually?
>>
>>
>> # pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz
>>
>> I get ----
>>
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/xextproto-7.2.0.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/renderproto-0.11.1.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/recordproto-1.14.1.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/kbproto-1.0.5.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/inputproto-2.0.2.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/javavmwrapper-2.4_2.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/java-zoneinfo-2012.h.tbz... Done.
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/pkgconf-0.8.9.tbz... Done.
>> pkg_add: package 'pkgconf-0.8.9' conflicts with pkg-config-0.25_1
>> pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation
>> pkg_add: pkg_add of dependency 'pkgconf-0.8.9' failed!
>> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//All/xproto-7.0.22.tbz... Done.
>
>
>
> That's a problem.
> You already have some packages installed, but the latest openjdk7 package (which was compiled for a newer version but should in theory run on 9.0) requires newer versions of some of the packages you have installed.
>
>
> My suggestion would be to remove all packages, update to 9.1 and use pkgng.
>
>
> Make a list of the packages that you actually want to have installed.
> Then:
>
> pkg_delete -fa
> freebsd-update -r 9.1-RELEASE upgrade
>
> (it will then most likely try to merge some configuration-files - it's usually best to just go with the suggestions)
>
> then
> freebsd-update install
> reboot
> freebsd-update install
> reboot
> pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//ports-mgmt/pkg-1.0.2.tbz
>
> run
> pkg2ng
> echo "WITH_PKGNG=yes" >> /etc/make.conf
>
> and then follow the instructions here:
> http://wiki.pcbsd.org/index.php/Convert_a_FreeBSD_System_to_PC-BSD®#Switching_to_the_PC-BSD.C2.AE_pkgng_Repository
>
> (you don't need to run pkg upgrade -fa, when you don't have any packages installed)
>
>
> Then, after you have configured the PCBSD pkgng-repository you can install stuff by
>
>
> pkg search "your stuff"
>
> pkg install "exact name as returned by search"
>
>
>
> see here:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html
>
> For further instructions.
>
> It works close enough to apt-get that most people should be able to use it...
>
>
> I admit I've never used the PCBSD repository. But as it has been suggested previously, I assume it's sufficiently useful.
> I looked and they seem to have an OpenJDK7 package….
>
>
>
>
> Regards,
> Rainer
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
--
Achilleas Mantzios
More information about the freebsd-java
mailing list