This is the trivial-package-manager Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:57:56 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
trivial-package-manager
Functions for installing packages from distro-specific package manager.
Masataro Asai
LLGPL
0.1
alexandria
(system).
trivial-features
(system).
trivial-open-browser
(system).
package.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
trivial-package-manager/trivial-package-manager.asd
trivial-package-manager
(system).
trivial-package-manager/package.lisp
trivial-package-manager
(system).
*search-engines*
(special variable).
browse-package
(function).
do-install
(function).
ensure-library
(function).
ensure-program
(function).
pkg-config
(function).
which
(function).
%run
(function).
%run-p
(function).
call-with-env
(function).
sudo
(function).
Packages are listed by definition order.
trivial-package-manager
tpm
alexandria
.
common-lisp
.
*search-engines*
(special variable).
browse-package
(function).
do-install
(function).
ensure-library
(function).
ensure-program
(function).
pkg-config
(function).
which
(function).
%run
(function).
%run-p
(function).
call-with-env
(function).
sudo
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Query-String is a string designator.
Open several package search engines on a browser
Install the specified packages when the corresponding package manager is present in the system. Managers are detected simply by ‘which‘ command.
Library is a shared library name to be checked by PKG-CONFIG command.
Each keyword argument specifies the package names to be passed on to the corresponding package manager.
The value of each argument can be a string or a list of strings.
If none of the package managers are available / when the package is missing (e.g. older distro),
FROM-SOURCE argument can specify the shell command for fetching/building/installing the program from
the source code. The command is executed in the *default-pathname-defaults*,
so care must be taken to bind the appropriate value to the variable.
Example:
(ensure-library "libcurl" :apt "libcurl4-openssl-dev")
(ensure-library "libcurl" :apt ’("libcurl4-openssl-dev")) ; both are ok
PROGRAM is a program name to be checked by WHICH command.
Each keyword argument specifies the package names to be passed on to the corresponding package manager.
The value of each argument can be a string or a list of strings.
If none of the package managers are available / when the package is missing (e.g. older distro),
FROM-SOURCE argument can specify the shell command for fetching/building/installing the program from
the source code. The command is executed in the *default-pathname-defaults*,
so care must be taken to bind the appropriate value to the variable.
Example:
(ensure-program "gnome-mines" :apt "gnome-mines")
(ensure-program "gnome-mines" :apt ’("gnome-mines")) ; both are ok
Jump to: | %
B C D E F P S W |
---|
Jump to: | %
B C D E F P S W |
---|
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*search-engines* : | Public special variables | ||
| |||
S | |||
Special Variable, *search-engines* : | Public special variables | ||
|
Jump to: | *
S |
---|
Jump to: | F P S T |
---|
Jump to: | F P S T |
---|