← 返回命令列表

Linux command

slapt-get 命令

文本

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

常用示例

Update

slapt-get --update

Install

slapt-get --install [package]

Remove

slapt-get --remove [package]

Upgrade

slapt-get --upgrade

Search

slapt-get --search [query]

Show

slapt-get --show [package]

说明

slapt-get is an APT-like package management system for Slackware Linux. It provides dependency resolution and mirrors the familiar apt-get workflow for managing packages. Package sources are configured in the slapt-getrc configuration file.

参数

--update
Update package list from sources
--install _package_
Install or upgrade a package
--remove _package_
Remove an installed package
--upgrade
Upgrade all installed packages
--search _query_
Search for packages by name, disk set, or version
--show _package_
Display package information
--clean
Clean package cache
--autoclean
Remove only obsolete packages from cache
--dist-upgrade
Upgrade to a newer Slackware release
--available
List available packages from configured sources
--list
List all packages, both installed and available
--installed
List all currently installed packages
--filelist _package_
Show files installed by a package
--remove-obsolete
Remove packages no longer available from configured sources (used with --remove or --dist-upgrade)
--reinstall
Install a package even if it is already installed
--download-only, -d
Download packages without installing them
--simulate, -s
Simulate the operation without installing or downloading anything
--no-dep
Skip dependency resolution
--ignore-dep
Ignore dependency failures during install or upgrade
--no-prompt, -y
Do not prompt for confirmation
--print-uris
Print URIs of packages to stdout without downloading
--add-keys
Download and import GPG keys from package sources
--retry _N_
Number of retries if a download fails
--config, -c _file_
Use an alternate configuration file

FAQ

What is the slapt-get command used for?

slapt-get is an APT-like package management system for Slackware Linux. It provides dependency resolution and mirrors the familiar apt-get workflow for managing packages. Package sources are configured in the slapt-getrc configuration file.

How do I run a basic slapt-get example?

Run `slapt-get --update` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --update do in slapt-get?

Update package list from sources