Linux command
pacstall 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search
pacstall -S [query]
Install
pacstall -I [package]
Remove
pacstall -R [package]
Add
pacstall -A [repository_url]
Update
pacstall -U
Upgrade
pacstall -Up
Example
pacstall -Ci [package]
List
pacstall -L
Example
pacstall -P -K -I [package]
说明
pacstall is a package manager for Ubuntu and Debian-based distributions that brings AUR-like functionality by allowing users to install packages from community-maintained build scripts called pacscripts (similar to Arch's PKGBUILDs). The tool maintains its own repositories of build scripts, separate from the system's apt repositories. Users can add custom repositories hosted on GitHub or GitLab, enabling community-driven package distribution outside official channels.
参数
- -I, --install _package_
- Install a package from a repository or a pacscript.
- -R, --remove _package_
- Remove a package from the system.
- -S, --search _query_
- Search for packages from all available repositories.
- -Sd, --search-description _query_
- Search package names and descriptions.
- -Si, --search-info _package_
- Display metadata (SRCINFO) of a remote package.
- -Ci, --cache-info _package_
- Display metadata of an installed package.
- -A, --add-repo _url_
- Add a repository to pacstall.
- -Rr, --remove-repo _repo_
- Remove a repository from pacstall.
- -U, --update
- Update pacstall and needed scripts.
- -Up, --upgrade
- Upgrade packages that have a newer version.
- -L, --list
- List installed packages.
- -T, --tree _package_
- Display a tree graph of a package's dependencies.
- -D, --download _package_
- Download pacscript to the current directory.
- -Qa, --quality-assurance _package#number_
- Test a package from a pull request prior to merging.
- -V, --version
- Display version information.
- -P, --disable-prompts
- Disable prompts and accept all defaults.
- -K, --keep
- Keep the build files after installation.
- -B, --build-only
- Build the deb but do not install it.
- -Q, --quiet
- Download package entries quietly.
- -Nc, --nocheck
- Skip the check() function if present in the pacscript.
- -Ns, --nosandbox
- Build the package without bwrap sandboxing.
FAQ
What is the pacstall command used for?
pacstall is a package manager for Ubuntu and Debian-based distributions that brings AUR-like functionality by allowing users to install packages from community-maintained build scripts called pacscripts (similar to Arch's PKGBUILDs). The tool maintains its own repositories of build scripts, separate from the system's apt repositories. Users can add custom repositories hosted on GitHub or GitLab, enabling community-driven package distribution outside official channels.
How do I run a basic pacstall example?
Run `pacstall -S [query]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -I, --install _package_ do in pacstall?
Install a package from a repository or a pacscript.