Skip to content
@loong64

LoongArch

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


Quick Start

OS/Arch Arch Architecture
linux/loong64 loong64 loongarch64

You can use Docker to quickly deploy.

# Set up QEMU
docker run --privileged --rm tonistiigi/binfmt --install all

# Alpine
docker run --rm --platform linux/loong64 -it ghcr.io/loong64/alpine:3.22 sh

# Debian
docker run --rm --platform linux/loong64 -it ghcr.io/loong64/debian:trixie-slim bash

Or use Linux OS to boot.

Name Description
alpine-standard-3.22.0-loongarch64.iso Alpine as it was intended. Just enough to get you started.
debian-12.0.0-loong64-NETINST-1.iso contains installer images for the non-release "ports" architectures.

Applications

Binary applications.

Name Release Description
uv uv An extremely fast Python package and project manager, written in Rust.
xx xx Dockerfile cross-compilation helpers.
gosu gosu Simple Go-based setuid+setgid+setgroups+exec.
ninja ninja a small build system with a focus on speed.
binfmt binfmt Cross-platform emulator collection distributed with Docker images.
buildx buildx Docker CLI plugin for extended build capabilities with BuildKit.
compose compose Define and run multi-container applications with Docker.
ossutil ossutil A user friendly command line tool to access AliCloud OSS.
plugins plugins Some reference and example networking plugins, maintained by the CNI team.
cloudreve cloudreve 🌩 Self-hosted file management and sharing system, supports multiple storage providers.
llama.cpp llama.cpp LLM inference in C/C++.
cross-tools cross-tools LoongArch64 cross-compile toolchain, supports both x86_64(amd64) and aarch64(arm64) architectures.
cibuildwheel cibuildwheel 🎡 Build Python wheels for all the platforms with minimal configuration.
node-sqlite3 node-sqlite3 SQLite3 bindings for Node.js.
Box64 Box64 Linux Userspace x86_64 Emulator with a twist.
Cosign Cosign Code signing and transparency for containers and binaries.
Docker Docker Packaging scripts for Docker CE
Ollama Ollama Get up and running with large language models.
Maturin Maturin Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages.
PyTorch PyTorch Tensors and Dynamic neural networks in Python with strong GPU acceleration.
Node.js Node.js Node.js JavaScript runtime ✨🐢🚀✨
OpenList OpenList A new AList Fork to Anti Trust Crisis
Cloudreve Cloudreve 🌩 Self-hosted file management and sharing system, supports multiple storage providers
GitHub CLI CLI GitHub’s official command line tool
Containerd Containerd Linux distro packaging for containerd
Python Standalone Builds Python Produce redistributable builds of Python

Docker Images

GitHub Container Registry. Images are built on docker-library

docker run --rm -it ghcr.io/loong64/golang:1.24-trixie go version
docker run --rm -it ghcr.io/loong64/node:23-trixie-slim node --version
docker run --rm -it ghcr.io/loong64/python:3.13-slim-trixie python --version

More Docker images will be added ...

Debian Packages

Install Debian Packages repo

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

sudo curl -fsSL "https://mirrors.loong64.com/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 to Apt sources:
echo \
  "deb [arch=loong64 signed-by=/usr/share/keyrings/debian-loong64-archive-keyring.gpg] https://mirrors.loong64.com/debian trixie main" | \
  sudo tee /etc/apt/sources.list.d/debian-loong64-repo.list > /dev/null

# Install the Docker packages.
sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Details ...

Package List

Package Name Install Command Description
gh sudo apt install gh GitHub's official command line tool
latx sudo apt install latx-i386 latx-amd64 latx-common Loongson Architecture Translator for x86
box64 sudo apt install box64 Linux Userspace x86_64 Emulator with a twist.
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 ...

PyPI Repository

Python Package Index. pypi

# pip install "SomeProject" --extra-index-url https://mirrors.loong64.com/pypi/simple
pip install poetry --extra-index-url https://mirrors.loong64.com/pypi/simple

More packages will be added ...

Links

LoongArch64 开源交流群

Popular repositories Loading

  1. ollama ollama Public

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

    Dockerfile 8 1

  2. docker-library docker-library Public

    Docker Images

    Shell 6 3

  3. docker-ce-packaging docker-ce-packaging Public

    Packaging scripts for Docker CE

    Dockerfile 3 2

  4. llama.cpp llama.cpp Public

    LLM inference in C/C++

    2

  5. daily-builds daily-builds Public archive

    debian testing loong64 iso daily build

    1

  6. repo repo Public

    Debian Repository for LoongArch64

    1

Repositories

Showing 10 of 63 repositories

Most used topics

Loading…