Today's Page Hits: 5138
Installation experience of NetBeans on OpenSolaris over network is similar to the experience on Ubuntu. The nice thing is that OpenSolaris repository contains the full version of the IDE, not just the stripped-down Java version. I tried installing NetBeans:
roman@opensolaris:~# pkg install netbeans
pkg: no package matching 'netbeans' could be found in current catalog
suggest relaxing pattern, refreshing and/or examining catalogs
pkg: install failed: Unable to assemble image plan
The problem is that the repository has just been updated (NetBeans has been added very recently) so I need to refresh the repository first:
roman@opensolaris:~# pkg refresh
Then I could run:
pkgroman@opensolaris:~# pkg install netbeans
DOWNLOAD PKGS FILES XFER (MB)
Completed 17/17 5420/5420 339.92/339.92
PHASE ACTIONS
Install Phase 6393/6393
To verify the installation you can run:
roman@opensolaris:~# pkg list netbeans
NAME (AUTHORITY) VERSION STATE UFIX
netbeans 6.0.1-0.86 installed ----
To find out where NetBeans got installed I ran:
roman@opensolaris:~# pkg search netbeans
INDEX ACTION VALUE PACKAGE
basename dir usr/netbeans/ide8/docs/org/netbeans pkg:/SUNWlibnb-ide8@6.0.1-0.86
basename dir usr/netbeans/enterprise4/ant/sources/org/netbeans pkg:/SUNWlibnb-enterprise4@6.0.1-0.86
basename file usr/netbeans/bin/netbeans pkg:/SUNWnetbeans-ide@6.0.1-0.86
basename dir usr/netbeans/java1/sources/org/netbeans pkg:/SUNWlibnb-java1@6.0.1-0.86
So now I could run NetBeans by calling:
roman@opensolaris:~# /usr/netbeans/bin/netbeans
My next wish is that we would fix the UI of NetBeans on Solaris. The toolbars look really broken and default editor font should really be monospace :(
how do you handle plugins ? Via netbeans or via pkg ?
Posted by Michal Bielicki on duben 25, 2008 at 12:35 odp. CEST #
Via NetBeans.
Posted by Roman on duben 25, 2008 at 12:41 odp. CEST #
Roman, it appears that you've su'd as root to install NetBeans. Is sudo available for OpenSolaris?
Posted by Brian Leonard on duben 25, 2008 at 10:57 odp. CEST #
In OpenSolaris root is a role - which is why you see my username "roman". There's pfexec if you are looking for something like sudo. See:
http://blogs.sun.com/albertw/entry/replacing_sudo
Posted by Roman Strobl on duben 25, 2008 at 11:02 odp. CEST #
For what it's worth, we're hoping to eliminate the need for "pkg refresh" in a future version. I'm glad it's working well for you!
Posted by Daniel Price on květen 01, 2008 at 09:29 odp. CEST #