← 返回命令列表

Linux command

lure 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Install

lure install [package]

Upgrade

lure upgrade

Show information

lure info [package]

List

lure list

List only installed

lure list --installed

Add

lure addrepo -n [name] -u [https://github.com/user/repo]

Remove

lure removerepo -n [name]

Refresh

lure refresh

说明

LURE (Linux User REpository) is a distro-agnostic package manager that brings AUR-like functionality to all Linux distributions. It reads lure.sh build scripts from git repositories, builds native packages (.deb, .rpm, .pkg.tar.zst, .apk), and installs them using the system's native package manager. LURE supports apt, pacman, apk, dnf, yum, and zypper. Packages are built from lure.sh scripts similar to Arch's PKGBUILD format. Repositories are standard git repos containing directories with lure.sh files that describe how to build each package.

参数

install, in
Install a package from LURE repos. Packages not found in LURE are forwarded to the system package manager.
remove, rm
Remove a package via the system package manager.
upgrade, up
Upgrade installed LURE packages using rpmvercmp version comparison.
info
Display package information from LURE repos. Supports wildcards (%).
list, ls
List all packages in LURE repos. Accepts an optional pattern for filtering.
build
Build a package from a lure.sh script in the current directory.
addrepo, ar
Add a new repository. Requires -n (name) and -u (URL).
removerepo, rr
Remove a repository and delete its contents. Requires -n (name).
refresh, ref
Pull latest changes from all LURE repositories.
fix
Delete and rebuild LURE's cache to resolve issues.
version
Print the current LURE version.
-c, --clean
Force a rebuild when installing or upgrading.
-I, --installed
Show only installed packages when listing.
-s _path_
Specify a custom lure.sh script path when building.

FAQ

What is the lure command used for?

LURE (Linux User REpository) is a distro-agnostic package manager that brings AUR-like functionality to all Linux distributions. It reads lure.sh build scripts from git repositories, builds native packages (.deb, .rpm, .pkg.tar.zst, .apk), and installs them using the system's native package manager. LURE supports apt, pacman, apk, dnf, yum, and zypper. Packages are built from lure.sh scripts similar to Arch's PKGBUILD format. Repositories are standard git repos containing directories with lure.sh files that describe how to build each package.

How do I run a basic lure example?

Run `lure install [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does install, in do in lure?

Install a package from LURE repos. Packages not found in LURE are forwarded to the system package manager.