Liking cljdoc? Tell your friends :D

jepsen.os.debian

Common tasks for Debian boxes.

Common tasks for Debian boxes.
raw docstring

add-key!clj

(add-key! keyserver key)

Receives an apt key from the given keyserver.

Receives an apt key from the given keyserver.
raw docstring

add-repo!clj

(add-repo! repo-name apt-line)
(add-repo! repo-name apt-line keyserver key)

Adds an apt repo (and optionally a key from the given keyserver).

Adds an apt repo (and optionally a key from the given keyserver).
raw docstring

installclj

(install pkgs)

Ensure the given packages are installed. Can take a flat collection of packages, passed as symbols, strings, or keywords, or, alternatively, a map of packages to version strings.

Ensure the given packages are installed. Can take a flat collection of
packages, passed as symbols, strings, or keywords, or, alternatively, a map
of packages to version strings.
raw docstring

install-jdk11!clj

(install-jdk11!)

Installs an openjdk jdk11 via stretch-backports.

Installs an openjdk jdk11 via stretch-backports.
raw docstring

install-jdk8!clj

(install-jdk8!)

Installs an oracle jdk8 via webupd8. Ugh, this is such a PITA.

Installs an oracle jdk8 via webupd8. Ugh, this is such a PITA.
raw docstring

installedclj

(installed pkgs)

Given a list of debian packages (strings, symbols, keywords, etc), returns the set of packages which are installed, as strings.

Given a list of debian packages (strings, symbols, keywords, etc), returns
the set of packages which are installed, as strings.
raw docstring

installed-versionclj

(installed-version pkg)

Given a package name, determines the installed version of that package, or nil if it is not installed.

Given a package name, determines the installed version of that package, or
nil if it is not installed.
raw docstring

installed?clj

(installed? pkg-or-pkgs)

Are the given debian packages, or singular package, installed on the current system?

Are the given debian packages, or singular package, installed on the current
system?
raw docstring

maybe-update!clj

(maybe-update!)

Apt-get update if we haven't done so recently.

Apt-get update if we haven't done so recently.
raw docstring

osclj

An implementation of the Debian OS.

An implementation of the Debian OS.
raw docstring

setup-hostfile!clj

(setup-hostfile!)

Makes sure the hostfile has a loopback entry for the local hostname

Makes sure the hostfile has a loopback entry for the local hostname
raw docstring

time-since-last-updateclj

(time-since-last-update)

When did we last run an apt-get update, in seconds ago

When did we last run an apt-get update, in seconds ago
raw docstring

uninstall!clj

(uninstall! pkg-or-pkgs)

Removes a package or packages.

Removes a package or packages.
raw docstring

update!clj

(update!)

Apt-get update.

Apt-get update.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close