Installing ICE 3.5 or 3.6 on Ubuntu 18.04.2 LTS

rodgercarodgerca ClareOrganization: PersonalProject: CRM systemMember
edited February 22 in Help Center

Hi All

I've started working for a company that uses ICE extensively but I'm falling at the first hurdle by trying to install 3.5, or even version 3.6 on the above version of Ubuntu. We can't go to 3.7 at the moment because of the java changes, and I'm not able to download 3.5 correctly when I follow the instructions here:

https://zeroc.com/downloads/ice/3.5/#ubuntu

I've had a look at 3.6 and I think it might be ok to upgrade and still be compatible with the 3.5 version, but I'm still having problems when trying to install from here:

https://zeroc.com/downloads/ice/3.6/#ubuntu

Firstly, the signature doesn't work, so i have to apt-get update using -allow-insecure-repositories, which does successfully get all the 3.6 packages for Ubuntu 16.04. However when I run:

sudo apt-get install zeroc-ice-all-runtime zeroc-ice-all-dev

It tries to install the 3.7 version of ICE

I am sure this is because I'm trying to install on Ubuntu 18 using your 16.04 packages, but I do have to do this because we can't upgrade to 3.7 right now.

Can you help please?

Tagged:

Best Answer

  • xdmxdm La Coruña, SpainJose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    Hi Clare,

    You should not use Stretch (Debian 9) or Xenial (Ubuntu 16.04) with Bionic (Ubuntu 18.04) the distribution packages are not compatible.

    If you want to use Ice 3.6 on Bionic you can build it from source, it shouldn't be too difficult see https://github.com/zeroc-ice/ice/blob/3.6/cpp/BuildInstructionsLinux.md

Answers

  • rodgercarodgerca ClareOrganization: PersonalProject: CRM systemMember

    OK just realised zeroc-ice-all-runtime zeroc-ice-all-dev are meta files which explains why 3.7 downloading. Going to now try downloading direct from here:

    https://packages.debian.org/stretch/all/zeroc-ice-all-dev/download

  • xdmxdm La Coruña, SpainJose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice DeveloperAdministrators, ZeroC Staff ZeroC Staff
    Accepted Answer

    Hi Clare,

    You should not use Stretch (Debian 9) or Xenial (Ubuntu 16.04) with Bionic (Ubuntu 18.04) the distribution packages are not compatible.

    If you want to use Ice 3.6 on Bionic you can build it from source, it shouldn't be too difficult see https://github.com/zeroc-ice/ice/blob/3.6/cpp/BuildInstructionsLinux.md

  • rodgercarodgerca ClareOrganization: PersonalProject: CRM systemMember
    edited February 22

    OK it took a bit of faffing around with dependencies but I now have it installed, thank you.

Sign In or Register to comment.