Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Check out fpm if you're concerned about packaging issues - https://github.com/jordansissel/fpm

It makes it incredibly easy to create an rpm/deb/etc. from a directory, rpm, npm, gem, python module, etc.

Here's a BayLISA video about it: http://vimeo.com/23940598



I'm sure fpm works in a lot of cases but something tells me that it's not straightforward to package a JVM..


Agreed. I spent some time updating the jpackage project's nosrc RPMs to work with newer versions of the JRE. There is a lot of complexity involved in making what Oracle's JRE installer delivers integrate nicely with the rest of the system.


You can download an rpm, so it should just be a matter of conversion. At least the last time I did this, you downloaded a shell script that when you agreed to the license extracted an rpm from itself.

So it should be a little more straightforward. Of course, when yoiu roll your own package, you don't get automatic security updates, so that's still a pain.


http://packages.debian.org/lenny/java-package

dosen't seem to be available in debian stable, but i see it in my ubuntu 10.04.

last time i used it i needed to modify (couple of lines) to accommodate file name used by modern java versions. it works well as far as i can tell.

openjdk is a far more sustainable solution but we needed sun java for some proprietary crap that refused to run on java or tomcat from the repos.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: