Giter Site home page Giter Site logo

graalvm-ce's Introduction

graalvm-ce

This repository provides the contents of the online packages for Oracle's GraalVM Community Edition, which is serviced via Launchpad PPA repository and accesable with apt package tool.

As of present, the latest version is 22.2.0 and java11, java17 based packages are provided.

These packages download appropriate GraalVM distribution on each installation from github; For the offline packages which contains the whole contents in the package, please refer here.

How to use

# Add a PPA Repository
sudo add-apt-repository ppa:dongjinleekr/graalvm-ce

# Install Java 11 based distribution
sudo apt -y install graalvm-ce-java11

Contents description

This package provides all graalvm ce binaries along with the additional ones.

The binaries provided in this repo are categorized into the following groups:

Standard Java binaries

All standard java binaries in the JDK distributions are also provided by graalvm-ce and, in turn, by these packages.

Since the package additionally provides an appropriate jinfo file in /usr/lib/jvm/, you can switch the HOME directory of the default java distribution:, like:

# List all installed java distributions
sudo update-java-alternatives --list

# Switch the standard java binaries like java, javac, ... to the ones under `{java_home}/bin` at once
sudo update-java-alternatives --set {java_home}

Standard GraalVM tools

These binaries are built-in to the GraalVM CE distribution, but not part of standard java

  • gu: installs and updates the graalvm submodules.
  • js
  • lli: executes plain bitcode files in GraalVM.
  • polyglot

Truffle Language Implementations

These language implementations are written with the Truffle framework and run in GraamVM. They can be accessed with a graal- prefixed launcher and registered as alternatives to the original implementation.

  • R: graal-R
  • python: graal-python
  • nodejs: graal-node, graal-npm, graal-npx

For example, you can run graal-R directly or set /usr/bin/R to point graal-R with:

# show all available installation of R
sudo update-alternatives --list R

# Make graal-R in graalvm-ce-java11 to default R
sudo update-alternatives --set R /usr/lib/jvm/graalvm-ce-java11/bin/graal-R

Before you use the Truffle Language Implementations, you should install the required packages with gu; for detailed descriptions, just run the graal- version binary:

graal-python
ERROR: python runtime is not installed yet: run 'gu install python'

GraalVM tools

graal-native-image is provided but to use it properly, it also requires manual installation, like:

gu install native-image

LLVM tools

These tools are also accessible with a graal- prefixed launcher and registered as alternatives to the original implementation.

  • clang: graal-clang
  • clang++: graal-clang++

To use it properly, it also requires manual installation, like:

gu install llvm-toolchain

graalvm-ce's People

Contributors

dongjinleekr avatar

Stargazers

Christian Tramnitz avatar Sean Gilligan avatar Eugen Stan avatar Yeongpil Y. avatar  avatar

Watchers

James Cloos avatar  avatar

graalvm-ce's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.