المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How To Install NetBeans 6.7.1 and NetBeans 6.8 on Fedora 12 - تنصيب netbeans على فيدورا



A7med Baraka
03-09-2010, 05:56 PM
Prerequisites



Fedora 12
You should have the superuser privileges on your Fedora 12 system.
Please, make sure that access to the yum repositories Fedora 12 - <arch> and Fedora 12 - <arch> - Updates is enabled. You can use the following command to check this:
$ yum repolist
Your Fedora 12 system is connected to the Internet, and the koji build system is accessible via the URL http://kojipkgs.fedoraproject.org (http://kojipkgs.fedoraproject.org/)

Actions



Install the NetBeans 6.7.1 (any way can be used) How to... (http://wiki.netbeans.org/Fedora/How_To/Install_NetBeans_IDE)
Change the effective user id and group id to root (super user). Run all the following commands in the terminal:
$ su -
Define URL of the koji build system:
# KOJI_PKGS=http://kojipkgs.fedoraproject.org/packages
Check and install/update versions of packages that are required for the NetBeans 6.8 packages.

Install packages from the Fedora 12 yum repositories
# yum install swingx jzlib
Install packages from the koji build system:




# rpm -ivh \
$KOJI_PKGS/jcodings/1.0.2/2.fc13/noarch/jcodings-1.0.2-2.fc13.noarch.rpm \
$KOJI_PKGS/bytelist/1.0.3/2.fc13/noarch/bytelist-1.0.3-2.fc13.noarch.rpm \
$KOJI_PKGS/jvyamlb/0.2.5/4.fc13/noarch/jvyamlb-0.2.5-4.fc13.noarch.rpm




Install the NetBeans 6.8 software via the following commands:
# rpm -ivh $KOJI_PKGS/netbeans-javaparser/6.8/1.fc13/noarch/netbeans-javaparser-6.8-1.fc13.noarch.rpm
# rpm -ivh $KOJI_PKGS/netbeans-platform/6.8/2.fc13/noarch/netbeans-platform-6.8-2.fc13.noarch.rpm
# rpm -Uvh --nodeps $KOJI_PKGS/netbeans-platform/6.8/2.fc13/noarch/netbeans-platform-harness-6.8-2.fc13.noarch.rpm
# rpm -ivh $KOJI_PKGS/netbeans/6.8/6.fc13/noarch/netbeans-ide-6.8-6.fc13.noarch.rpm
# rpm -ivh $KOJI_PKGS/netbeans/6.8/6.fc13/noarch/netbeans-java-6.8-6.fc13.noarch.rpm
# rpm -Uvh --force $KOJI_PKGS/netbeans/6.8/6.fc13/noarch/netbeans-apisupport-6.8-6.fc13.noarch.rpm
# rpm -ivh $KOJI_PKGS/netbeans/6.8/6.fc13/noarch/netbeans-6.8-6.fc13.noarch.rpm


Result


In result, you'll see something like this:
http://wiki.netbeans.org/wiki/images/2/2e/Fedora-12_both_NB_IDE_6.7.1_and_6.8.png