Installing NetBeans on OpenSolaris

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 :(

Comments:

how do you handle plugins ? Via netbeans or via pkg ?

Posted by Michal Bielicki on duben 25, 2008 at 05:35 dop. CEST #

Via NetBeans.

Posted by Roman on duben 25, 2008 at 05:41 dop. 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 03: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 04: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 02:29 odp. CEST #

Post a Comment:
Comments are closed for this entry.
About

Roman Strobl

Search

Archives
« duben 2014
PoÚtStČtSoNe
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today