← 返回命令列表

Linux command

nala 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Install

sudo nala install [package]

Remove

sudo nala remove [package]

Purge

sudo nala purge [package]

Search

nala search "[pattern]"

Update and upgrade

sudo nala upgrade

Remove unused packages

sudo nala autoremove

Fetch fast mirrors

sudo nala fetch

Example

nala history

说明

nala is a modern package management utility for Debian-based systems, serving as a front-end for apt and the python-apt API. It provides improved formatting, parallel downloads, and a cleaner interface compared to traditional apt. Features include transaction history for reviewing and undoing changes, parallel downloads for faster operations, and the fetch command for automatically selecting fast mirrors based on latency and throughput testing.

参数

--assume-yes, -y
Assume yes to all prompts
--download-only, -d
Download packages without installing
--no-install-recommends
Do not install recommended packages
--install-suggests
Also install suggested packages
--verbose, -v
Enable verbose output
--debug
Enable debug output

FAQ

What is the nala command used for?

nala is a modern package management utility for Debian-based systems, serving as a front-end for apt and the python-apt API. It provides improved formatting, parallel downloads, and a cleaner interface compared to traditional apt. Features include transaction history for reviewing and undoing changes, parallel downloads for faster operations, and the fetch command for automatically selecting fast mirrors based on latency and throughput testing.

How do I run a basic nala example?

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

What does --assume-yes, -y do in nala?

Assume yes to all prompts