Skip to content

Allow installing older Bazel versions from the custom Bazel APT repository #3813

Closed

Description

@mishas

When using the Bazel custom APT repository (recommended) method for installing Bazel on Debian/Ubuntu, it's only possible to install the latest version:

> apt-get install bazel=0.5.3
[...]
E: Version '0.5.3' for 'bazel' was not found
> apt-get install bazel=0.5.4
[...]
The following additional packages will be installed:
[...]

Looking at the Packages file (http://storage.googleapis.com/bazel-apt/dists/stable/jdk1.8/binary-amd64/Packages), it indeed only contains one package with Version 0.5.4.

Since there're many breaking changes (most of them are welcome :) ) in every new version, we must have a way to install a specific, older, version.

Activity

  1. katre commented on Sep 26, 2017

    @katre
    Collaborator

    It is actually our CI system that handles the APT repository, could you please re-open this issue there? https://github.com/bazelbuild/continuous-integration/issues

  2. rickwierenga commented on Sep 25, 2019

    @rickwierenga

    Any news on this issue? I'm looking to install version 0.25.2 to build Swift.

  3. rickwierenga commented on Sep 26, 2019

    @rickwierenga

    I was able to download the installer script using wget:

    wget bazel-0.25.2-installer-linux-x86_64.sh

    Then installing:

    chmod +x bazel-0.25.2-installer-linux-x86_64.sh
    sudo ./bazel-0.25.2-installer-linux-x86_64.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions