← 返回命令列表

Linux command

apturl 命令

文本

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

常用示例

Install

apturl apt:firefox

Example

apturl "apt:vim,git,curl"

Example

apturl "apt:[package]?section=universe"

说明

apturl is a simple graphical application that takes an apt-protocol URL as a command line option and handles package installation. When a user clicks an apt: link in a web browser, apturl launches and prompts for confirmation before installing the specified packages. It has been pre-installed on Ubuntu since version 7.10, providing a user-friendly way to install software without using the command line.

参数

-p, --http-proxy
Specify an HTTP proxy for package downloads
apt:_package_
Package to install
apt:_package1_,_package2_
Multiple packages to install
?channel=
Repository or PPA source (e.g., ?channel=lucid-partner)
?section=
Repository section to enable (e.g., ?section=universe)
?refresh=yes
Force a repository refresh before looking for the package

FAQ

What is the apturl command used for?

apturl is a simple graphical application that takes an apt-protocol URL as a command line option and handles package installation. When a user clicks an apt: link in a web browser, apturl launches and prompts for confirmation before installing the specified packages. It has been pre-installed on Ubuntu since version 7.10, providing a user-friendly way to install software without using the command line.

How do I run a basic apturl example?

Run `apturl apt:firefox` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p, --http-proxy do in apturl?

Specify an HTTP proxy for package downloads