Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

50,702

Downloads of v 2.1.0:

7,368

Last Update:

08 May 2016

Package Maintainer(s):

Software Author(s):

  • Haxe Foundation

Tags:

neko haxe vm admin

Neko

This is not the latest version of Neko available.

  • 1
  • 2
  • 3

2.1.0 | Updated: 08 May 2016

Downloads:

50,702

Downloads of v 2.1.0:

7,368

Maintainer(s):

Software Author(s):

  • Haxe Foundation

Tags:

neko haxe vm admin

Neko 2.1.0

This is not the latest version of Neko available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Neko, run the following command from the command line or from PowerShell:

>

To upgrade Neko, run the following command from the command line or from PowerShell:

>

To uninstall Neko, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade neko -y --source="'INTERNAL REPO URL'" --version="'2.1.0'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade neko -y --source="'INTERNAL REPO URL'" --version="'2.1.0'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install neko
  win_chocolatey:
    name: neko
    version: '2.1.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'neko' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.1.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller neko
{
    Name     = "neko"
    Version  = "2.1.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'neko':
  ensure   => '2.1.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved by moderator dtgm on 13 May 2016.

Description

Neko is a lightweight and yet well optimized virtual machine. The VM can be easily embedded into any application and your libraries can be accessed using the C foreign function interface.


CHANGES
 
chocolateyInstall.ps1
$scriptPath = (Split-Path -parent $MyInvocation.MyCommand.Definition)

# Install the dll files to C:\ProgramData\chocolatey\bin
# It is because they are loaded by other neko binaries, e.g. haxelib.exe
$chocoBin = Join-Path $env:ChocolateyInstall 'bin'
$dllFiles = @('gcmt-dll.dll', 'neko.dll')
foreach ($file in $dllFiles) {
    $dllFile = Join-Path $scriptPath $file
    copy "$dllFile" "$chocoBin"
}

# Set NEKOPATH such that the ndll files can be loaded.
Install-ChocolateyEnvironmentVariable NEKOPATH $scriptPath
chocolateyUninstall.ps1
$scriptPath = (Split-Path -parent $MyInvocation.MyCommand.Definition)

# Remove the dll files from C:\ProgramData\chocolatey\bin
$chocoBin = Join-Path $env:ChocolateyInstall 'bin'
$dllFiles = @('gcmt-dll.dll', 'neko.dll')
foreach ($file in $dllFiles) {
    $dllFile = Join-Path $chocoBin $file
    del "$dllFile"
}
gcmt-dll.dll
md5: 6D0D2D390BFA0D6DF70A76CE8DE891A7 | sha1: 234FDEBCCB88098C5219FC905920FAD9945F3BD4 | sha256: 938CB5C8D1DAF7C9598A2BFEFADD28723C7F46D5C6607CC1D9554DE23F6EF9E1 | sha512: 9CD5466D9AA2C2D50586B923D591F22E954A13F55B115E70476DA41B69205FB7F8C4785916F6D274399D0E9E3AF2062CE8A0C6D55E226FC7BEA9374D579482D9
include\neko.h
 
include\neko_elf.h
 
include\neko_mod.h
 
include\neko_vm.h
 
LICENSE
 
mod_neko2.ndll
 
mod_tora2.ndll
 
mysql.ndll
 
mysql5.ndll
 
neko.dll
md5: E3A8473463272ACA48B7FD182EAA5A24 | sha1: 6AAFD456B4946621E701AB8BCF54ECDEADB26C8C | sha256: 0EF87D06612B3D3F80BBC40EC858F3160FA33E39294D92CB3BA33F4B43D1694E | sha512: F5AFD71E9BB464835C3D7F262B6B59688C3B08E1A162599112DC246140E29CDEDB7C30A292A5871E1A12DF9E07416B875FBA1A528332E0DC19AED1D0C80AF146
neko.exe
md5: 560D281A69A521FC9500C163DA49D139 | sha1: AE3F3589CD36E26890F4306FDBCA96AB0F76D6B4 | sha256: 0F1D5006509DCA2B385ECBA4769D9BFB92F60E9097247752A1D8AC27D7D7BCBA | sha512: 3913210D8DBD19290E2927A2040567DF1FFC24F9B360555067CFE3A93161C5DE386FF1FC780B793C666A0B348C9DF9DB6AFFF039788B8A1725D1E82776DADE67
neko.lib
 
nekoc.exe
md5: 8BA57134FCF8767555F7DF75E8575637 | sha1: B5C3B331C95CEA0800EAE76EE99BF8B30DF80344 | sha256: 08AFC73A42DB909C5464E8006978290E2EAD44FEDF5DF37BAEBBB1F46916DE4E | sha512: 7EAEB8E48477566C2B6EB5D334CC539D5FDC35B60B767F83633C8C8552D36838BF687958BDD05F52E82CDC90B6DA9835AFB1DF8A1B19E8BEB8478A1567CCD992
nekoml.exe
md5: 15CD330D620DBBB4D5B798AC7CE715FA | sha1: 7ECFA4B3E995813AC666C08B5D9E9AB90A4FB123 | sha256: 89F2D40D7E2B60ED5C43719438E733D0C59B38D69C8A86D9D5FA567ABB30B973 | sha512: 6B6F9C7C58F83D258C1245B36838401BEED52490F4E8E80FEEF1D7C699BC746BFD64AF1CF09FE9373178B767F656491197930B099029737578C9DE72FA84568A
nekoml.std
 
nekotools.exe
md5: 7E64C7F8A703138DB6798D2DDD472EEA | sha1: 894003CFCDBC7CF98F315404E4AF28CD33DB918D | sha256: F9A4C9DDF432867FFCEC27F60AA17B07F7E1F291E39FEC338961C11D8B0458AB | sha512: 10FDB918578DF4756EDD202B51D588E682CEB512EEE0441D3FA859B2D0F9ADE18BE0A7ED009FF72FC423CCC124628FDE1A01772C5F63528E00EA9BDAA2910F79
README.md
![NekoVM](https://cloud.githubusercontent.com/assets/576184/14234981/10528a0e-f9f1-11e5-8922-894569b2feea.png)

[![TravisCI Build Status](https://travis-ci.org/HaxeFoundation/neko.svg?branch=master)](https://travis-ci.org/HaxeFoundation/neko)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/HaxeFoundation/neko?branch=master&svg=true)](https://ci.appveyor.com/project/HaxeFoundation/neko)

# Neko Virtual Machine

See http://nekovm.org/

## Snapshot Builds

### Windows

Compiled binaries can be found in the "artifacts" tab of each [AppVeyor build](https://ci.appveyor.com/project/HaxeFoundation/neko/history).

### Mac

Neko snapshot of the latest master branch can be built using [homebrew](http://brew.sh/) in a single command: `brew install neko --HEAD`. It will install required dependencies, build, and install Neko to the system. The binaries can be found at `brew --prefix neko`.

Use `brew reinstall neko --HEAD` to upgrade in the future.

### Linux

Ubuntu users can use the [Haxe Foundation snapshots PPA](https://launchpad.net/~haxe/+archive/ubuntu/snapshots) to install a Neko package built from the latest master branch. To do so, run the commands as follows:
```
sudo add-apt-repository ppa:haxe/snapshots -y
sudo apt-get update
sudo apt-get install neko -y
```

Users of other Linux/FreeBSD distributions should build Neko from source. See below for additional instructions.

## Build instruction

Neko can be built using CMake (version 3.x is recommended) and one of the C compilers listed as follows:

 * Windows: Visual Studio 2010 / 2013 (Visual Studio 2015 is not yet supported)
 * Mac: XCode (with its "Command line tools")
 * Linux: gcc (can be obtained by installing the "build-essential" Debian/Ubuntu package)

Neko needs to link with various third-party libraries, which are summerized as follows:

| library / tool                          | OS          | Debian/Ubuntu package                                     |
|-----------------------------------------|-------------|-----------------------------------------------------------|
| Boehm GC                                | all         | libgc-dev                                                 |
| OpenSSL                                 | all         | libssl-dev                                                |
| PCRE                                    | all         | libpcre3-dev                                              |
| zlib                                    | all         | zlib1g-dev                                                |
| Apache 2.2 / 2.4, with apr and apr-util | all         | apache2-dev                                               |
| MariaDB / MySQL (Connector/C)           | all         | libmariadb-client-lgpl-dev-compat (or libmysqlclient-dev) |
| SQLite                                  | all         | libsqlite3-dev                                            |
| mbed TLS                                | all         | libmbedtls-dev                                            |
| GTK+2                                   | Linux       | libgtk2.0-dev                                             |

On Windows, CMake will automatically download and build the libraries in the build folder during the build process. However, you need to install [Perl](http://www.activestate.com/activeperl) manually because OpenSSL needs it for configuration. On Mac/Linux, you should install the libraries manaully to your system before building Neko, or use the `STATIC_DEPS` CMake option, which will be explained in [CMake options](#cmake-options).

### Building on Mac/Linux

```shell
# make a build directory, and change to it
mkdir build
cd build

# run cmake
cmake ..

# let's build, the outputs can be located in the "bin" directory
make

# install it if you want
# default installation prefix is /usr/local
make install
```

### Building on Windows

Below is the instructions of building Neko in a Visual Studio command prompt.
You may use the CMake GUI and Visual Studio to build it instead.

```shell
# make a build directory, and change to it
mkdir build
cd build

# run cmake
cmake -G "Visual Studio 12 2013" ..

# let's build, the outputs can be located in the "bin" directory
msbuild ALL_BUILD.vcxproj /p:Configuration=Release

# install it if you want
# default installation location is C:\HaxeToolkit\neko
msbuild INSTALL.vcxproj /p:Configuration=Release
```

### CMake options

A number of options can be used to customize the build. They can be specified in the CMake GUI, or passed to `cmake` in command line as follows:

```shell
cmake "-Doption=value" ..
```

#### `WITH_NDLLS`

Available on all platforms. Default value: `std.ndll;zlib.ndll;mysql.ndll;mysql5.ndll;regexp.ndll;sqlite.ndll;ui.ndll;mod_neko2.ndll;mod_tora2.ndll;ssl.ndll`

It defines the ndll files to be built. You may remove ndlls from this list, such that you can avoid installing/building some dependencies.

#### `STATIC_DEPS`

Available on Mac/Linux. Default value: `none`

It defines the dependencies that should be linked statically. Can be `all`, `none`, or a list of library names (e.g. `BoehmGC;Zlib;OpenSSL;MariaDBConnector;PCRE;Sqlite3;APR;APRutil;Apache;MbedTLS`).

CMake will automatically download and build the specified dependencies into the build folder. If a library is not present in this list, it should be installed manually, and it will be linked dynamically.

All third-party libraries, except GTK+2 (Linux), can be linked statically. We do not support statically linking GTK+2 due to the diffculty of building it and its own dependencies.

#### `RELOCATABLE`

Available on Mac/Linux. Default value: `ON`

Set RPATH to `$ORIGIN` (Linux) / `@executable_path` (Mac). It allows the resulting Neko VM executable to locate libraries (e.g. "libneko" and ndll files) in its local directory, such that the libraries need not be installed to "/usr/lib" or "/usr/local/lib".

#### `RUN_LDCONFIG`

Available on Linux. Default value: `ON`

Whether to run `ldconfig` automatically after `make install`. It is for refreshing the shared library cache such that "libneko" can be located correctly by the Neko VM.
regexp.ndll
 
sqlite.ndll
 
ssl.ndll
 
std.ndll
 
ui.ndll
 
zlib.ndll
 

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Neko 2.2.0 8354 Thursday, December 28, 2017 Approved
Neko 2.1.0 7368 Sunday, May 8, 2016 Approved
Neko 2.0.0 3093 Monday, March 16, 2015 Approved

Discussion for the Neko Package

Ground Rules:

  • This discussion is only about Neko and the Neko package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Neko, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus