Rabu, 14 Maret 2012

Install JRE ( java ) di linux

1. Tambahkan repositori
sudo add-apt-repository ppa:ferramroberto/java
zee@eichel{~}:sudo add-apt-repository ppa:ferramroberto/java
 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 3E756CF119B127D4DA40A186B725097B3ACC3965
 gpg: requesting key 3ACC3965 from hkp server keyserver.ubuntu.com
 gpg: key 3ACC3965: public key "Launchpad lffl" imported
 gpg: no ultimately trusted keys found
 gpg: Total number processed: 1
 gpg: imported: 1 (RSA: 1)

2. Update source repositori
 sudo apt-get update
3. Install paket yang di butuhkan
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
zee@eichel{~}:sudo apt-get install sun-java6-jre sun-java6-plugin sun-jaava6-fonts
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following extra packages will be installed:
 sun-java6-bin unixodbc
 Suggested packages:
 ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho
 ttf-arphic-uming libmyodbc odbc-postgresql tdsodbc unixodbc-bin
 The following NEW packages will be installed:
 sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin unixodbc
 0 upgraded, 5 newly installed, 0 to remove and 35 not upgraded.
 Need to get 36.7MB of archives.
 After this operation, 105MB of additional disk space will be used.
 Do you want to continue [Y/n]? y
 Get:1 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main sun-java6-jre 6.26-1~lffl~lucid~ppa [6,380kB]
 Get:2 http://32.repository.backtrack-linux.org/ revolution/main unixodbc 2.2.11-21 [201kB]
 Get:3 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main sun-java6-bin 6.26-1~lffl~lucid~ppa [30.2MB]
 Get:4 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main sun-java6-fonts 6.26-1~lffl~lucid~ppa [1,892B]
 Get:5 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ lucid/main sun-java6-plugin 6.26-1~lffl~lucid~ppa [1,854B]
 Fetched 36.7MB in 40min 11s (15.2kB/s)
 Preconfiguring packages ...
 Selecting previously deselected package sun-java6-jre.
 (Reading database ... 313690 files and directories currently installed.)
 Unpacking sun-java6-jre (from .../sun-java6-jre_6.26-1~lffl~lucid~ppa_all.deb) ...
 Selecting previously deselected package unixodbc.
 Unpacking unixodbc (from .../unixodbc_2.2.11-21_i386.deb) ...
 Selecting previously deselected package sun-java6-bin.
 Unpacking sun-java6-bin (from .../sun-java6-bin_6.26-1~lffl~lucid~ppa_i386.deb) ...
 sun-dlj-v1-1 license has already been accepted
 Selecting previously deselected package sun-java6-fonts.
 Unpacking sun-java6-fonts (from .../sun-java6-fonts_6.26-1~lffl~lucid~ppa_all.deb) ...
 Selecting previously deselected package sun-java6-plugin.
 Unpacking sun-java6-plugin (from .../sun-java6-plugin_6.26-1~lffl~lucid~ppa_i386.deb) ...
 Processing triggers for shared-mime-info ...
 Processing triggers for man-db ...
 Processing triggers for desktop-file-utils ...
 Processing triggers for python-gmenu ...
 Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
 Processing triggers for menu ...
 Processing triggers for fontconfig ...
 Processing triggers for python-support ...
 Setting up unixodbc (2.2.11-21) ...
 Setting up sun-java6-bin (6.26-1~lffl~lucid~ppa) ...
 update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode.
 update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java_vm to provide /usr/bin/java_vm (java_vm) in auto mode.
 update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode.
 Setting up sun-java6-jre (6.26-1~lffl~lucid~ppa) ...
 Setting up sun-java6-fonts (6.26-1~lffl~lucid~ppa) ...
 Updating fontconfig cache for /usr/share/fonts/truetype/ttf-lucida
 No CIDSupplement specified for Batang-Bold, defaulting to 0.
 No CIDSupplement specified for DroidSansJapanese, defaulting to 0.
 No CIDSupplement specified for DroidSansJapanese-JaH, defaulting to 0.
 No CIDSupplement specified for Dotum-Regular, defaulting to 0.
 No CIDSupplement specified for Dotum-Bold, defaulting to 0.
 No CIDSupplement specified for Batang-Regular, defaulting to 0.
 Setting up sun-java6-plugin (6.26-1~lffl~lucid~ppa) ...
 Processing triggers for libc-bin ...
 ldconfig deferred processing now taking place
 Processing triggers for menu ...
4. Selesai
Java telah terinstall dengan baik di backtrack anda

Tidak ada komentar:

Posting Komentar