Skip to content

Can not install on Android via Termux: target 'aarch64-linux-android' not found in channel #2872

@peepo5

Description

@peepo5

Problem

When trying to install rustup using the linux command on the rustup site, when proceeding with install it gives me the following error:

Current installation options:


   default host triple: aarch64-linux-android
     default toolchain: stable (default)
               profile: default
  modify PATH variable: yes

1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>1

info: profile set to 'default'
info: default host triple is aarch64-linux-android
info: syncing channel updates for 'stable-aarch64-linux-android'
info: latest update on 2021-09-09, rust version 1.55.0 (c8dfcfe04 2021-09-06)
error: target 'aarch64-linux-android' not found in channel.  Perhaps check https://doc.rust-lang.org/nightly/rustc/platform-support.html for available targets

Steps

  1. Use termux
  2. Install rustup using site command
  3. You get this error

Extra Info
I tried to install the package rust from the termux package repositories, but it was a too old version for the application I wanted to run. After trying to install rustup using the linux command this is where the problem started.

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-rustupWhatever is described in this issue isn't Rustup's fault

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions