Download Ice 3.7 for Python

PIP

The PIP Python package includes the Python extension, Ice Slice files, and the Slice to Python compiler.

$ pip install zeroc-ice

On Linux this command will build and install the source package. On macOS and Windows it installs a pre-built wheel for the following configurations:

  • Python 2.7 on macOS (64 bit) and Windows (32 bit and 64 bit)
  • Python 3.7 on macOS (64 bit) and Windows (32 bit and 64 bit)

Detailed instructions for installing Ice for Python are available here

Linux Repositories

Amazon Linux 2 (LTS)

Configure Yum repository

x86_64 | aarch64
$ sudo yum install https://download.zeroc.com/ice/3.7/amzn2/ice-repo-3.7.amzn2.noarch.rpm

Install Ice for Python 3

$ sudo dnf install python3-ice

Install Ice for Python 2

$ sudo dnf install python-ice

Install Slice compilers

$ sudo dnf install ice-compilers

Debian 10 "Buster"

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian10 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for Python 3

$ sudo apt-get install python3-zeroc-ice

Install Ice for Python 2

$ sudo apt-get install python-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Debian 9 "Stretch"

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian9 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for Python 3

$ sudo apt-get install python3-zeroc-ice

Install Ice for Python 2

$ sudo apt-get install python-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Red Hat Enterprise Linux 9

Configure Yum repository

x86_64
$ sudo yum install https://download.zeroc.com/ice/3.7/el9/ice-repo-3.7.el9.noarch.rpm

Install Ice for Python 2

$ sudo dnf install python-ice

Install Slice compilers

$ sudo dnf install ice-compilers

Red Hat Enterprise Linux 8

Configure Yum repository

x86_64 | aarch64
$ sudo dnf install https://download.zeroc.com/ice/3.7/el8/ice-repo-3.7.el8.noarch.rpm

Install Ice for Python 2

$ sudo dnf install python-ice

Install Slice compilers

$ sudo dnf install ice-compilers

Red Hat Enterprise Linux 7

Configure Yum repository

x86_64 | aarch64
$ sudo yum install https://download.zeroc.com/ice/3.7/el7/ice-repo-3.7.el7.noarch.rpm

Install Ice for Python 2

$ sudo yum install python-ice

Install Slice compilers

$ sudo yum install ice-compilers

SUSE Linux Enterprise Server 12

Configure Zypper repository

x86_64
$ wget https://download.zeroc.com/ice/3.7/sles12/zeroc-ice3.7.repo
$ sudo zypper addrepo zeroc-ice3.7.repo
$ sudo rpm --import https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D

Install Ice for Python 2

$ sudo zypper install python-ice

Install Slice compilers

$ sudo zypper install ice-compilers

Ubuntu 22.04 (Jammy Jellyfish)

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu22.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for Python 3

$ sudo apt-get install python3-zeroc-ice

Install Ice for Python 2

$ sudo apt-get install python-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Ubuntu 20.04 (Focal Fossa)

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu20.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for Python 3

$ sudo apt-get install python3-zeroc-ice

Install Ice for Python 2

$ sudo apt-get install python-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Ubuntu 18.04 (Bionic Beaver)

Configure APT repository

amd64 | arm64 | armhf
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu18.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for Python 3

$ sudo apt-get install python3-zeroc-ice

Install Ice for Python 2

$ sudo apt-get install python-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Ubuntu 16.04 (Xenial Xerus)

Configure APT repository

amd64
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
  "deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu16.04 stable main" \
  | sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update

Install Ice for Python 3

$ sudo apt-get install python3-zeroc-ice

Install Ice for Python 2

$ sudo apt-get install python-zeroc-ice

Install Slice compilers

$ sudo apt-get install zeroc-ice-compilers

Yocto Meta Layer

Meta layer includes BitBake recipe for C++ and Python, IceBox, IceGrid, IcePatch2, IceStorm and Glacier2 services

$ git clone -b rocko git://github.com/zeroc-ice/meta-zeroc.git

Add meta layer to bblayers.conf

$ BBLAYERS ?= " \
  ...
  /path/to/meta-zeroc \
  "

Detailed instructions for installing Ice for Yocto are available here

Detailed instructions for installing Ice on Linux are available here

GPG Key

The Linux binary packages are signed with the following key:

Key: rsa4096/B6391CB2CFBA643D (2017-04-03) ZeroC, Inc. (release key 2) <support@zeroc.com>
Fingerprint: 4F9430C5FD102B029E8184CBB6391CB2CFBA643D

Next Steps

Once you've successfully installed Ice for Python, head over to our ice-demos repository on GitHub:

$ git clone -b 3.7 https://github.com/zeroc-ice/ice-demos