下载 Nuitka

通用

感谢您下载 Nuitka。请考虑成为 Nuitka 商业用户”

您也可以了解更多关于 Nuitka Commercial 的信息。

The current release is Nuitka 2.0.5. Stable releases are supported with hot fixes, indicated by the last of the 4 digits.

注解

稳定的版本应该是为你工作的。开发版是 git 中当前 develop 分支的快照,通常也是相对稳定的,但也很少出现故障。

注解

在发布期间,软件包的构建可能会滞后几天。

PyPI

PyPI 上也有 Nuitka’。 所以你可以用 pip 来安装,如下所示。

注解

来自 PyPI 的稳定版可以通过 pip 安装,没有任何软件包的依赖性,而且是一个源码包,所以你会很容易,甚至在例如 Windows 上使用它。

# Stable version
python -m pip install -U nuitka

# Develop version
python -m pip install -U "https://github.com/Nuitka/Nuitka/archive/develop.zip"

注解

做到这一点,你想要编译的 python 二进制文件。

源码

分支

zip

tar.gz

tar.bz2

稳定版

Nuitka 2.0.5.zip

Nuitka 2.0.5.tar.gz

Nuitka 2.0.5.tar.bz2

开发版

Nuitka 2.1rc6.zip

Nuitka 2.1rc6.tar.gz

Nuitka 2.1rc6.tar.bz2

注解

The source archives can be used directly after unpacking, simply start with python bin/nuitka --help and read README.pdf or README.rst to get started. Take especially care to read the User Manual, such that you don’t go on a wrong track.

Packages

Windows

The MSI installers are discontinued as Python has deprecated their support for them, as well as Windows 10 making it harder to users to install them. Using the PyPI installation is recommended on Windows.

Debian/Ubuntu/Mint

  • |DEBIAN_LOGO| |UBUNTU_LOGO| |MINT_LOGO| Stable: Debian/Ubuntu/Mint repositories

    CODENAME=`egrep 'UBUNTU_CODENAME|VERSION_CODENAME' /etc/os-release | sort | head -1 | cut -d= -f2`
    if [ -z "$CODENAME" ]
    then
       CODENAME=`lsb_release -c -s`
    fi
    wget -O - https://nuitka.net/deb/archive.key.gpg | sudo apt-key add -
    sudo apt-get install ca-certificates
    sudo echo >/etc/apt/sources.list.d/nuitka.list "deb https://nuitka.net/deb/stable/$CODENAME $CODENAME main"
    sudo apt-get update
    sudo apt-get install nuitka
    
  • |DEBIAN_LOGO| |UBUNTU_LOGO| |MINT_LOGO| Develop: Debian/Ubuntu/Mint repositories

    CODENAME=`egrep 'UBUNTU_CODENAME|VERSION_CODENAME' /etc/os-release | cut -d= -f2`
    if [ -z "$CODENAME" ]
    then
       CODENAME=`lsb_release -c -s`
    fi
    wget -O - https://nuitka.net/deb/archive.key.gpg | sudo apt-key add -
    sudo apt-get install ca-certificates
    sudo echo >/etc/apt/sources.list.d/nuitka.list "deb https://nuitka.net/deb/develop/$CODENAME $CODENAME main"
    sudo apt-get update
    sudo apt-get install nuitka
    

    注解

    Because Nuitka is part of Debian Stable/Testing/Unstable, a stable version is already in the standard repository. This is the only way to access the develop version of Nuitka though.

RHEL

|RHEL_LOGO| repositories

# Detect the RHEL version
eval `grep VERSION_ID= /etc/os-release`

yum-config-manager --add-repo http://download.opensuse.org/repositories/home:/kayhayen/RedHat_RHEL-${VERSION_ID}/home:kayhayen.repo

# Install either the these, but not both
yum install nuitka
yum install nuitka-unstable

RHEL Version

RPM Repository

稳定版

开发版

RHEL 8

repository file

Nuitka 2.0.4

Nuitka 2.1rc6

RHEL 7

repository file

Nuitka 1.8.6

Nuitka 1.9rc5

CentOS

|CENTOS_LOGO| repositories

# CentOS 6:
yum-config-manager --add-repo http://download.opensuse.org/repositories/home:/kayhayen/CentOS_CentOS-6/home:kayhayen.repo
# CentOS 7
yum-config-manager --add-repo http://download.opensuse.org/repositories/home:/kayhayen/CentOS_7/home:kayhayen.repo
# CentOS 8
yum-config-manager --add-repo http://download.opensuse.org/repositories/home:/kayhayen/CentOS_8/home:kayhayen.repo

# Install either the these, but not both
yum install nuitka
yum install nuitka-unstable

CentOS Version

RPM Repository

稳定版

开发版

CentOS 8

repository file

Nuitka 1.8.6

Nuitka 1.9rc5

CentOS 7

repository file

Nuitka 1.8.6

Nuitka 1.9rc5

CentOS 6

repository file

Nuitka 1.8.6

Nuitka 1.9rc5

Fedora

|FEDORA_LOGO| repositories

# Detect the Fedora version
eval `grep VERSION_ID= /etc/os-release`

# Use yum on older versions
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/kayhayen/Fedora_${VERSION_ID}/home:kayhayen.repo

# Install either the these, but not both
dnf install nuitka
dnf install nuitka-unstable

Fedora Version

RPM Repository

稳定版

开发版

Fedora 36

repository file

Nuitka 1.7.10

Nuitka 1.8rc7

Suse

|SUSE_LOGO| repositories

# Detect the OpenSUSE leap version
eval `grep VERSION_ID= /etc/os-release`

# Add Nuitka repo
zypper ar -f https://download.opensuse.org/repositories/home:/kayhayen/Open_${VERSION_ID}/home:kayhayen.repo

# Install either the these, but not both
zypper install nuitka
zypper install nuitka-unstable

SUSE Version

RPM Repository

稳定版

开发版

SLE 15

repository file

Nuitka 1.8.6

Nuitka 2.0rc7

openSUSE Leap 15.4

repository file

Nuitka 1.8.6

Nuitka 2.0rc7

Arch

Gentoo

  • |GENTOO_LOGO| Gentoo Linux, execute emerge -a dev-python/nuitka

macOS

No installer is available for macOS. Use the source packages, clone from git, or use PyPI.

Github

  • |GIT_LOGO| Stable: git clone –branch main https://github.com/Nuitka/Nuitka

  • |GIT_LOGO| Develop: git clone –branch develop https://github.com/Nuitka/Nuitka

Visit https://github.com/Nuitka/Nuitka for the Nuitka repository on Github.