[Duke Thinking]
« April 2007 »
SunMonTueWedThuFriSat
1
2
4
5
6
7
8
9
10
11
12
14
15
16
17
18
20
21
22
24
25
26
27
28
29
30
     
       
Today

XML



LINKS





CONTACT
Tom Marble's Weblog

template by
Helquin



20070423 Monday April 23, 2007

NetBeans in Ubuntu

Last week we announced the availability of the Java Stack on Ubuntu and one of the coolest parts of this announcement is including NetBeans in Debian native packaging. NetBeans has been available in a standalone Linux installer for many years. What's new now is the integration with the Debian packaging system which can, among other things, automatically pull in dependent packages such as the the NetBeans Platform and the Sun JDK.

During our development of this packaging we discovered some legacy license terms that complicated redistribution. That caused us to create a temporary "installer" workaround that requires users to download the NetBeans IDE tarball prior to installing the Ubuntu packages. The NetBeans legal team went to work and updated the terms and we updated the packaging... but our fixes didn't make the feisty code freeze :-( . You will be glad to know that we do have the fixes in hand and are proceeding to follow the Ubuntu update process that will, in a couple weeks, get the revised packaging into the feisty-updates repository (which is on by default).

The real NetBeans package

If you would to take advantage of this fix right away (so you don't have to download the tarball separately) here's how:
  1. Start Synaptic by going to: System | Administration | Synaptic Package Manager
  2. Select the menu: Settings | Repositories
  3. Click the Ubuntu Software tab and enable multiverse (screenshot below)
  4. Click the Third Party Software tab and click Add... (screenshot below)
  5. enter the following APT Line: deb http://download.java.net/ubuntu/ feisty/
  6. Click Add Source (and Close)
  7. Click Reload (to update the Synaptic with the latest repository information)
  8. Add NetBeans as one would add any other package: Search for "NetBeans"
  9. Select "netbeans5.5"
  10. Click Apply

The Details

Here's some additional documentation about adding software to Ubuntu:
  1. What is Synaptic and how can I add software to Ubuntu?
    See Synaptic and the Synaptic HOWTO
  2. Where can I learn more about Ubuntu Repositories?
    Ubuntu Repositories (see Managing Repositories in Ubuntu)
  3. Hey, Synaptic doesn't know about this Tom Marble fellow, can I trust him?
    Only you can determine if you trust me :-)
    You can see other's that have signed my GPG key here.
    If you decide you want to trust me then you can add my GPG key to APT so you don't get the warning in the future.
    Add the package gui-apt-key then run it:
    • Applications | System Tools | APT Key Manager
    • enter Key ID: 0x1EABA9CB
    • click Add
  4. Where can I find out more about APT and security?
    See SecureApt
  5. Hey, how can I make sure that the Java™ Plug-In works with Firefox?
    Simply add the package sun-java6-plugin
  6. This is nice, but I found some other problem... what should I do?
    File a bug! That's how the team will know what works (specifically what doesn't) and we'll fix it. You can file netbeans5.5 packaging bugs on this page.

Thank you for your patience on our trajectory towards Free Software. We have even more ideas in store for packaging cool Java applications for Ubuntu! If you are interested in helping and/or getting involved please let me know... it takes a community!

Screenshot of adding the multiverse component to Ubuntu:
Add more Ubuntu Components


Screenshot of adding a new Ubuntu repository:
Add an Ubuntu Repository


NOTE on submitting comments: The Roller software we use here at Sun is quite aggressive about which comments it likes. Please be patient if your comment which includes HTML is not displayed immediately. I will ensure it gets published the next time I check e-mail.

Posted by tmarble ( Apr 23 2007, 09:34:51 PM CDT ) Permalink Comments [8]