Skip to content
@loong64

LoongArch

The LoongArch architecture is a RISC-style ISA developed by Loongson
LoongArch64 is the 64-bit version of LoongArch


Operating Systems

OS/Arch Arch Architecture
linux/loong64 loong64 loongarch64
Name Description
alpine-standard-3.24.1-loongarch64.iso Alpine as it was intended. Just enough to get you started.
debian-testing-loong64-netinst.iso Contains installer images for the non-release "ports" architectures.

You can use Docker for quick deployment.

# Set up QEMU
docker run --privileged --rm tonistiigi/binfmt --install all
# Alpine
docker run --rm --platform linux/loong64 -it ghcr.io/loong64/alpine:3.24 sh
# Debian
docker run --rm --platform linux/loong64 -it ghcr.io/loong64/debian:trixie-slim bash

Debian Packages

Install Debian packages from the repository.

# Add the GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl

# sudo curl -fsSL "https://mirrors.loong64.com/debian-loong64-archive-keyring.gpg" -o /usr/share/keyrings/debian-loong64-archive-keyring.gpg
sudo curl -fsSL "https://loong64.github.io/repo/debian/debian-loong64-archive-keyring.gpg" -o /usr/share/keyrings/debian-loong64-archive-keyring.gpg
sudo chmod a+r /usr/share/keyrings/debian-loong64-archive-keyring.gpg

# Add the repository:
echo \
  "deb [arch=loong64 signed-by=/usr/share/keyrings/debian-loong64-archive-keyring.gpg] https://loong64.github.io/repo/debian trixie main" | \
  sudo tee /etc/apt/sources.list.d/debian-loong64-repo.list > /dev/null

# Install packages:
sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Package list ...
Package Name Install Command Description
gh sudo apt install gh GitHub's official command line tool
containerd.io sudo apt install containerd.io An open and reliable container runtime
docker-buildx-plugin sudo apt install docker-buildx-plugin Docker Buildx CLI plugin
docker-ce sudo apt install docker-ce Docker Engine
docker-ce-cli sudo apt install docker-ce-cli Docker CLI
docker-ce-rootless-extras sudo apt install docker-ce-rootless-extras Rootless support for Docker
docker-compose-plugin sudo apt install docker-compose-plugin Docker Compose (V2) plugin for the Docker CLI

More packages will be added ...

Docker

Name Release Description
Docker Docker Packaging scripts for Docker CE.
Containerd Containerd Linux distribution packaging for containerd.
Buildx Buildx Docker CLI plugin for extended build capabilities with BuildKit.
Compose Compose Define and run multi-container applications with Docker.
Plugins plugins Reference and example networking plugins maintained by the CNI team.
Binfmt binfmt Cross-platform emulator collection distributed with Docker images.
xx xx Dockerfile cross-compilation helpers.

Docker Images

GitHub Container Registry. Images are built on docker-library.

docker run --rm -it ghcr.io/loong64/golang:1.26-trixie go version
docker run --rm -it ghcr.io/loong64/node:24-trixie-slim node --version
docker run --rm -it ghcr.io/loong64/python:3.14-slim-trixie python --version

"Distroless" Container Images. Images are built on distroless.

Image Tags Architecture Suffixes
ghcr.io/loong64/distroless/static-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, arm, s390x, ppc64le, riscv64, loong64
ghcr.io/loong64/distroless/base-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, arm, s390x, ppc64le, riscv64, loong64
ghcr.io/loong64/distroless/base-nossl-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, arm, s390x, ppc64le, riscv64, loong64
ghcr.io/loong64/distroless/cc-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, arm, s390x, ppc64le, riscv64, loong64
ghcr.io/loong64/distroless/nodejs22-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, arm, s390x, ppc64le, loong64
ghcr.io/loong64/distroless/nodejs24-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, s390x, ppc64le, loong64
ghcr.io/loong64/distroless/nodejs26-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, s390x, ppc64le, loong64
ghcr.io/loong64/distroless/python3-debian13 latest, nonroot, debug, debug-nonroot amd64, arm64, riscv64, loong64, loong64

More Docker images will be added ...

Compiler Tools

Name Release Description
gcc-cross-tools cross-tools LoongArch64 cross-compile toolchain, supports both x86_64(amd64) and aarch64(arm64) architectures.
gcc-cross-tools-musl musl-cross-make Simple makefile-based build for musl cross compiler.
clang-toolchain-tools toolchain-tools Projects related to packaging and language toolchain support.
Ccache Ccache A compiler cache.
CMake CMake A cross-platform, open-source build-system generator.
GN gn A standalone version of Chromium's GN.
Ninja Ninja A small build system focused on speed.

Dart

Name Release Description
dart Vite+ The Dart SDK.
dart-musl Vite+ The Dart SDK (musl).
dart-sass dart-sass The reference implementation of Sass, written in Dart.

Python

Name Release Description
uv uv An extremely fast Python package and project manager written in Rust.
python-build-standalone Python Produce redistributable Python builds.
wget -O - https://github.com/loong64/uv/releases/latest/download/uv-loongarch64-unknown-linux-gnu.tar.gz | tar xz --strip-components=1 -C /usr/local/bin
uv --version

cd ~/project

export UV_EXTRA_INDEX_URL=https://mirrors.loong64.com/pypi/simple
# uv venv --python <version> <path>
uv venv --python 3.11 .venv
uv run python --version

# uv pip install "SomePackage"
uv pip install django

PyPI Repository

Name Release Description
PyTorch PyTorch Tensors and Dynamic neural networks in Python with strong GPU acceleration.
TensorFlow TensorFlow An Open Source Machine Learning Framework for Everyone.
ONNX Runtime ONNX Runtime ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator.

Python Package Index. PyPI

export PIP_EXTRA_INDEX_URL=https://mirrors.loong64.com/pypi/simple
pip install -U pip

# pip install "SomePackage"
pip install uv

More packages will be added ...

Node.js

Name Release Description
Node.js Node.js Node.js JavaScript runtime.
isolated-vm isolated-vm Secure & isolated JS environments for nodejs.
node-sqlite3 node-sqlite3 SQLite3 bindings for Node.js.
Tailwind CSS Tailwind CSS A utility-first CSS framework for rapid UI development..
Lightning CSS Lightning CSS An extremely fast CSS parser, transformer, bundler, and minifier written in Rust..
Tauri Tauri Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
Next.js Next.js The React Framework.
Vite+ Vite+ Vite+ is the unified toolchain and entry point for web development.

Applications

Name Release Description
gosu gosu Simple Go-based setuid, setgid, setgroups, and exec tool.
ossutil ossutil A user-friendly command-line tool for accessing Alibaba Cloud OSS.
llama.cpp llama.cpp LLM inference in C/C++.
Ollama Ollama Get up and running with large language models.
Godot Godot A multi-platform 2D and 3D game engine.
Box64 Box64 A Linux userspace x86_64 emulator.
Cosign Cosign Code signing and transparency for containers and binaries.
GitHub CLI CLI GitHub's official command-line tool.
GitHub Actions Runner CLI The runner for GitHub Actions.
AppImageTool appimagetool A low-level tool for generating an AppImage from an existing AppDir.
Nydus Nydus Dragonfly image service.
DuckDB DuckDB DuckDB is an analytical in-process SQL database management system.

Links

LoongArch64 开源交流群

Pinned Loading

  1. docker-library docker-library Public

    Docker Images

    Shell 18 5

  2. ollama ollama Public

    Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 2, and other large language models.

    Dockerfile 11 2

  3. cross-tools cross-tools Public

    LoongArch64 cross-compile toolchain, supports both x86_64(amd64) and aarch64(arm64) architectures.

    Shell 9 4

  4. lat lat Public

    LATX (Loongson Architecture Translator for x86)

    Dockerfile 6 2

  5. n8n n8n Public

    Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

    6 1

  6. docker-ce-packaging docker-ce-packaging Public

    Packaging scripts for Docker CE

    Dockerfile 5 3

Repositories

Showing 10 of 189 repositories

Top languages

Loading…

Most used topics

Loading…