# AN (安装)
**Unified Package Manager for Linux**
[](https://github.com/clearclown/AN/releases)
[](https://github.com/clearclown/AN/blob/main/LICENSE)
[](https://www.rust-lang.org/)
What is AN?
AN is a unified package manager for Debian/Ubuntu-based Linux distributions. It manages .deb, AppImage, and Flatpak packages through a single, intuitive interface.
Features
- Unified Interface - Install and remove any package format with
an install/an remove - Complete Removal - Purge config files, dependencies, and user data
- Transparency - Shows download URLs and requires user confirmation
- Flatpak Aliases - Run
gimpinstead offlatpak run org.gimp.GIMP
Quick Install
curl -fsSL https://raw.githubusercontent.com/clearclown/AN/main/install.sh | bash
Usage
# Install an app
an install firefox
# Remove an app completely
an remove firefox
# Create Flatpak aliases
an link
# Search available apps
an search browser
# Update AN and app database
an update
Installation Methods
| Method | Command |
|---|---|
| One-liner | curl -fsSL https://raw.githubusercontent.com/clearclown/AN/main/install.sh \| bash |
| Cargo | cargo install an-installer |
| AUR | yay -S an |
| Nix | nix run github:clearclown/AN |
Supported Package Formats
| Format | Install | Remove | Update |
|---|---|---|---|
| AppImage | ✅ | ✅ | ✅ |
| Flatpak | ✅ | ✅ | ✅ |
| Deb | ✅ | ✅ | via apt |
Commands
| Command | Alias | Description |
|---|---|---|
an install <target> |
i |
Install an app |
an remove <target> |
rm |
Remove an app completely |
an link |
l |
Create Flatpak aliases |
an update |
- | Update AN and app database |
an list |
ls |
List installed apps |
an search [query] |
s |
Search app database |
an info <name> |
- | Show app details |
an sync |
- | Sync app database from GitHub |
Links
Made with ❤️ in Rust
MIT License © 2025