From 73d32bb5d62ed4f8dcfec73256e2a34e8a93e3d4 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 21 Aug 2018 10:33:37 +0100 Subject: [PATCH] add-apt-repository: add page (#2244) --- pages/linux/add-apt-repository.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/linux/add-apt-repository.md diff --git a/pages/linux/add-apt-repository.md b/pages/linux/add-apt-repository.md new file mode 100644 index 0000000000..154a62ebd4 --- /dev/null +++ b/pages/linux/add-apt-repository.md @@ -0,0 +1,19 @@ +# add-apt-repository + +> Manages apt repository definitions. + +- Add a new apt repository: + +`add-apt-repository {{repository_spec}}` + +- Remove an apt repository: + +`add-apt-repository --remove {{repository_spec}}` + +- Update the package cache after adding a repository: + +`add-apt-repository --update {{repository_spec}}` + +- Enable source packages: + +`add-apt-repository --enable-source {{repository_spec}}`