cornercorner
FeaturesPluginsDocs & SupportCommunityPartners

NativeLinuxPackages

Contents


Intro

If you find any bugs or have comments, please report them to linux-packaging@installer.netbeans.org mailing list.

Ubuntu and Fedora Linux Distributions

Packages Structure

In the table below <v> means cluster version, e.g 10 for platform10 or 2 for java2.

Distro Source Packages Binary Packages
Ubuntu netbeans netbeans
libnb-ide<v>-java
libnb-apisupport<v>-java
libnb-java<v>-java
libnb-platform-java libnb-platform<v>-java
libnb-platform<v>-java-doc
libnb-platform-devel-java
Fedora netbeans netbeans
netbeans-ide<v>
netbeans-apisupoort<v>
netbeans-java<v>
netbeans-platform netbeans-platform
netbeans-platform<v> ;:Will try to introduce netbeans-platform<v> with 6.8 packages
netbeans-platform-harness
netbeans-platform-javadoc


Installation layout

As you may see below installation layout is designed to potentially allow installation of several versions of the same cluster(e.g platform) into one system. This allows other applications dependent on older cluster version (e.g. platform8 cluster) to still use this cluster even NetBeans IDE with cluster platform10 is installed.

/usr/share/netbeans/
|
|-- <nb version>
|   |-- platform<v>   -> ../platform<v>
|   |-- apisupport<v> -> ../apisupport<v>
|   |-- ide<v> -> ../ide<v>
|   |-- java<v> -> ../java<v>
|   |-- harness -> ../harness
|   |-- bin
|   |-- etc
|   |-- nb<nb version>
|       |-- config
|       |-- core
|       |-- docs
|       |-- modules
|       |-- update_tracking
|       `-- var
|
|-- apisupport<v>
|-- harness
|-- ide<v>
|-- java<v>
`-- platform<v>

Parallel installation

As was said above several versions of the same cluster could be installed in parallel. Of course, all the 3rd party dependencies should be manually resolved in this case. The process:

  • Fedora
rpm -i netbeans-platform-6.7.1-2.fc12.noarch.rpm  #Installs platform from NetBeans 6.7.1
rpm -i --oldpackage netbeans-platform-6.5-7.fc12.noarch.rpm #Installs older platform in parallel 
  • Ubuntu

Add a repository containing platform version you need. See Adding Repositories in Ubuntu for more details.

After updating, use:

sudo apt-get install libnb-platform9-java

In case if you downloaded libnb-platform<v>-java package via wget, use:

sudo dpkg --install libnb-platform9-java_6.5-0ubuntu2_all.deb

Stripped IDE configuration

Due to lack of 3rd party libraries we are packaging subset of basic cluster. The removal is done by patch.

_TO BE UPDATED FOR NetBeans IDE 6.8_

Cluster nb.cluster.websvccommon is removed from clusters.config.basic.list. So all webcvs.* modules are removed

Modules removed from basic cluster by patch

Module's name Cluster name List of broken dependencies List of missing binaries
db ide10 derby-10.2.2.0.jar
db.core ide10 db
db.dataview ide10 db
db.drivers ide10 mysql-connector-java-5.1.6-bin.jar, postgresql-8.3-603.jdbc3.jar
db.kit ide10 all db*
db.metadata.model ide10 db
db.mysql ide10 db
db.sql.editor ide10 db
db.sql.visualeditor ide10 javacc-3.2.jar
dbapi ide10 db
httpserver ide10 tomcat-webserver-3.2.jar
libs.jaxb ide10 activation.jar, jaxb-api.jar, jaxb-impl.jar, jaxb-xjc.jar
servletapi ide10 servlet-2.2.jar
web.flyingsaucer ide10 core-renderer-R7final.jar
xsl ide10 servletapi
dbschema java2 db
derby java2 db
form.j2ee java2 db, j2ee.persistence
hibernate java2 db, dbschema, hibernatelib
hibernatelib java2 hibernate-3.2.5-lib.zip
j2ee.jpa.refactoring java2 j2ee.persistence
j2ee.jpa.verification java2 dbapi, j2ee.persistence
j2ee.persistence java2 db, dbapi, dbschema
j2ee.persistence.kit java2 db, dbapi, dbschema, derby
j2ee.toplinklib java2 glassfish-persistence-v2-build-58g.jar, glassfish-persistence-v2ur1-build-09d.jar
libs.cglib java2 cglib-2.2.jar
libs.springframework java2 spring-2.5.jar
spring.beans java2 libs.springframework
websvc.jaxws21 java2 jaxws-2.1.zip, jaxws-2_1-api-doc.zip
websvc.jaxws21api java2 jaxws-2.1.zip
websvc.saas.codegen.java java2 libs.jaxb, websvc.jaxws21api dep. (also depends on websvccommon cluster)
xml.jaxb java2 websvc.jaxws21


==

  • TODO/NB 6.8/: Use ML sources

References

Mandriva Linux distribution

Press Release April 17, 2008

NetBeans team and Mandriva, the publisher of Mandriva Linux are proud to announce the immediate availability of award winning NetBeans IDE as part of the Mandriva 2008.1 Linux distribution.

Based on the open source NetBeans IDE 6.0 release, and the open source version of Java, as developed by Sun Microsystems, the Mandriva's contrib repository now contains a full Open Source stack to write, run, debug and test Swing based Java applications. Just open your favorite package management tool and install "netbeans-ide" package:

urpmi netbeans

Enjoy! If you find any bugs, please report them to linux-packaging@installer.netbeans.org mailing list.


Technical info about Packaging

These days the Mandriva's RPMs are backports of the packages for Fedora.

Gentoo Linux distribution

  • Netbeans 6.5 package on Gentoo contains every standard module/cluster except support for ruby (will be added later). Here are the modules/clusters: NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
  • We also have localization support in the package: LINGUAS="de es fr it ja pl pt_BR ru sq tr zh_CN zh_TW"
  • Users can choose which modules they want to have built in, the same for locales
  • We support x86 and amd64 archs
  • Info about native linux packages of Netbeans 6.5 can be found in the ebuild (DEPEND is for compilation time dependencies, RDEPEND for runtime dependencies), more info about the packages can be found at Gentoo Online Package Database (please note that Gentoo is from-source distribution so we have to solve also compilation time JARs)

References