Difference between pages "Package:Java SE Development Kit (JDK)" and "Package:Perl"

(Difference between pages)
m (insert media)
 
m (insert media)
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=Oracle's Java SE Development Kit -- Java runtime, compiler, etc.
+
|Summary=Larry Wall's Practical Extraction and Report Language.
|CatPkg=dev-java/oracle-jdk-bin
+
|CatPkg=dev-lang/perl
 
|Maintainer=
 
|Maintainer=
|Homepage=http://www.oracle.com/technetwork/java/javase/overview/index.html
+
|Homepage=http://www.perl.org
 
}}
 
}}
You can install the free icedtea jdk or Oracle's version.
 
Therefore we have a virtual package called ''virtual/jdk''. By default it will install the Oracle version.
 
  
== Installation ==
+
== media ==
<console>
+
{{#widget:YouTube|playlist=PLE7511681ABEA8635}}
###i## emerge -a virtual/jdk
+
</console>
+
  
If you receive a message similar to the following, you will have to accept the Oracle java license to emerge the <code>oracle-jdk-bin</code>:
 
<console>
 
###i## emerge virtual/jdk
 
Calculating dependencies... done!
 
[##g##ebuild  N    ##!g##] ##g##dev-java/java-config-wrapper-0.16 ##!g##
 
[##g##ebuild  N    ##!g##] ##g##sys-apps/baselayout-java-0.1.0 ##!g##
 
[##g##ebuild  N    ##!g##] ##g##app-admin/eselect-java-0.1.0 ##!g##
 
[##g##ebuild  N    ##!g##] ##g##dev-java/java-config-2.2.0-r1000  ##!g## PYTHON_ABIS="##r##2.7 3.3##!r## ##bl##-2.6 -3.1 -3.2 -3.4 (-3.5)##!bl##"
 
[##g##ebuild  N    ##!g##] ##g##dev-java/oracle-jdk-bin-1.8.0.11 ##!g## USE="##r##X alsa fontconfig nsplugin##!r## ##bl##(-aqua) -derby -doc -examples -jce -pax_kernel (-selinux) -source##!bl##"
 
 
The following ##r##license changes##!r## are necessary to proceed:
 
(see "package.license" in the portage(5) man page for more details)
 
# required by oracle-jdk-bin (argument)
 
##g##>=dev-java/oracle-jdk-bin-1.8.0.11 Oracle-BCLA-JavaS##!g##
 
</console>
 
 
To accept the required license, create the directory <code>/etc/portage/package.license</code> if it does not already exist.
 
<console>
 
###i## mkdir /etc/portage/package.license
 
</console>
 
 
After we create this directory, portage will read files that we create inside of it to see that we have accepted licenses required to install certain packages. To accept the license for <code>oracle-jdk-bin</code>, create a file called something like <code>/etc/portage/package.license/oracle-jdk-bin</code> and add the line <code>dev-java/oracle-jdk-bin Oracle-BCLA-JavaS</code> to it:
 
<console>
 
###i## tee /etc/portage/package.license/oracle-jdk-bin <<< "dev-java/oracle-jdk-bin Oracle-BCLA-JavaS"
 
</console>
 
 
Now you can emerge <code>oracle-jdk-bin</code>
 
<console>
 
###i## emerge virtual/jdk
 
</console>
 
 
After the installation finishes, you may want to check and see if you can use the jdk. You can do so by issuing the following command:
 
<console>
 
$##i## java
 
</console>
 
 
== media ==
 
{{#widget:YouTube|playlist=PLD22A26A9CD8A1A51}}
 
 
{{PageNeedsUpdates}}
 
{{PageNeedsUpdates}}
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Latest revision as of 02:43, November 4, 2014

dev-lang/perl


Source Repository:Gentoo Portage Tree
Homepage

Summary: Larry Wall's Practical Extraction and Report Language.

Use Flags

ithreads
Enable Perl threads, has some compatibility problems

Perl


media