Fedora/How To/Parallel Installation of the NetBeans IDE versions

This article is incomplete. Please help to improve the article, or discuss the issue on the discussion page.

Contents

How to install two (or more) versions of the NetBeans IDE on Fedora?

Prerequisites

Limitations and Warnings

Actions

1. Install primary IDE

How to install...

dicussion

For NetBeans 6.7.1 on Fedora 12 you will have the following layout:

Main top-most directories:
/usr/share/netbeans/
|-- 6.7.1
|-- apisupport1
|-- harness
|-- ide11
|-- java2
`-- platform10

/usr/share/applications/netbeans.org/
Documentation:
/usr/share/doc/netbeans-6.7.1/
/usr/share/doc/netbeans-apisupport1-6.7.1/
/usr/share/doc/netbeans-ide11-6.7.1/
/usr/share/doc/netbeans-java2-6.7.1/
/usr/share/doc/netbeans-platform-6.7.1/
Files located outside of the main directory tree: TODO
/usr/bin/netbeans

2. Install secondary NetBeans Platform

# rpm -i netbeans-platform-6.8-2.fc13.noarch.rpm
/usr/share/netbeans/
|-- 6.7.1
|-- apisupport1
|-- harness
|-- ide11
|-- java2
|-- platform10
`-- platform11   <== added

4. Install secondary NetBeans IDE cluster

rpm -ivh netbeans-ide-6.8-5.fc13.noarch.rpm
/usr/share/netbeans/
|-- 6.7.1
|-- 6.8
|-- apisupport1
|-- harness
|-- ide11
|-- ide12
|-- java2
|-- platform10
`-- platform11

5. Install secondary NetBeans Java cluster

# rpm -ivh netbeans-java-6.8-5.fc13.noarch.rpm
/usr/share/netbeans/
|-- 6.7.1
|-- 6.8
|-- apisupport1
|-- harness
|-- ide11
|-- ide12
|-- java2
|-- java3
|-- platform10
`-- platform11

5. Install secondary NetBeans Platform Harness

Issue 1: There is a conflict between files installed by netbeans-platform-harness-6.7.1-2.fc12.noarch and netbeans-platform-harness-6.8-2.fc13.noarch.rpm. Hence, we need update installed package, but: Questions

  • Do we have guaranties that the harness-6.8 will properly work with the NetBeans 6.7.1 IDE?
  • Does the harness-6.7.1 work properly with the NetBeans 6.8 IDE?

Issue 2: Update can't be completed due to a conflict of requirements:

# rpm -Uvh netbeans-platform-harness-6.8-2.fc13.noarch.rpm
error: Failed dependencies:
	netbeans-platform-harness = 6.7.1 is needed by (installed) netbeans-apisupport1-6.7.1-1.fc12.noarch

Proposal We should provide versioning for the NetBeans harness too, i.e:

/usr/share/netbeans/
|-- harness%{nb_platform_ver}
`-- platform%{nb_platform_ver}

So, we'll have the following after parallel installation:

/usr/share/netbeans/
|-- harness10
|-- harness11
|-- platform10
`-- platform11

Solved in the netbeans-platform-6.8-3.fc13.src.rpm

6. Install secondary NetBeans apisupport cluster

Issue 1:

# rpm -e netbeans-6.7.1-1.fc12.noarch
# rpm -e netbeans-apisupport1-6.7.1-1.fc12.noarch
# rpm -ivh netbeans-apisupport-6.8-6.fc13.noarch.rpm
# yum install netbeans
# rpm -ivh netbeans-6.8-6.fc13.noarch.rpm

Bold text

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo