From bc568b98c8580e64a6538c9335a28a44d47dd36d Mon Sep 17 00:00:00 2001 From: ix Date: Wed, 6 Jan 2016 19:32:05 -0500 Subject: [PATCH 1/3] add pages for crux package management utilities --- pages/linux/pkgadd.md | 15 +++++++++++++++ pages/linux/pkginfo.md | 19 +++++++++++++++++++ pages/linux/pkgmk.md | 27 +++++++++++++++++++++++++++ pages/linux/pkgrm.md | 7 +++++++ pages/linux/ports.md | 15 +++++++++++++++ pages/linux/prt-get.md | 31 +++++++++++++++++++++++++++++++ 6 files changed, 114 insertions(+) create mode 100644 pages/linux/pkgadd.md create mode 100644 pages/linux/pkginfo.md create mode 100644 pages/linux/pkgmk.md create mode 100644 pages/linux/pkgrm.md create mode 100644 pages/linux/ports.md create mode 100644 pages/linux/prt-get.md diff --git a/pages/linux/pkgadd.md b/pages/linux/pkgadd.md new file mode 100644 index 000000000..64fd084ad --- /dev/null +++ b/pages/linux/pkgadd.md @@ -0,0 +1,15 @@ +# pkgadd + +> Add a package to a CRUX system + +- install a local software package + +`pkgadd {{package-name}}` + +- update a already installed package from a local package + +`pkgadd -u {{package-name}}` + +- force installation of a package + +`pkgadd -f {{package-name}}` diff --git a/pages/linux/pkginfo.md b/pages/linux/pkginfo.md new file mode 100644 index 000000000..5afe52819 --- /dev/null +++ b/pages/linux/pkginfo.md @@ -0,0 +1,19 @@ +# pkginfo + +> Query the package database on a CRUX system + +- list installed packages and their versions + +`pkginfo -i` + +- list files owned by a package + +`pkginfo -l {{package-name}}` + +- list the owner(s) of a file matching a pattern + +`pkginfo -o {{pattern}}` + +- print the footprint of a file + +`pkginfo -f {{file}}` diff --git a/pages/linux/pkgmk.md b/pages/linux/pkgmk.md new file mode 100644 index 000000000..6a091dfd5 --- /dev/null +++ b/pages/linux/pkgmk.md @@ -0,0 +1,27 @@ +# pkgmk + +> Make a binary package for use with pkgadd on CRUX + +- make and download a package + +`pkgmk -d` + +- install the package after making it + +`pkgmk -d -i` + +- upgrade the package after making it + +`pkgmk -d -u` + +- ignore the footprint when making a package + +`pkgmk -d -if` + +- ignore the MD5 sum when making a package + +`pkgmk -d -im` + +- update the package's footprint + +`pkgmk -uf` diff --git a/pages/linux/pkgrm.md b/pages/linux/pkgrm.md new file mode 100644 index 000000000..370c5d24c --- /dev/null +++ b/pages/linux/pkgrm.md @@ -0,0 +1,7 @@ +# pkgrm + +> Remove a package from a CRUX system + +- remove an installed package + +`pkgrm {{package-name}}` diff --git a/pages/linux/ports.md b/pages/linux/ports.md new file mode 100644 index 000000000..5966a6b7f --- /dev/null +++ b/pages/linux/ports.md @@ -0,0 +1,15 @@ +# ports + +> Update/list the ports tree on a CRUX system + +- update the ports tree + +`ports -u` + +- list the ports in the current tree + +`ports -l` + +- check the differences between installed packages and the ports tree + +`ports -d` diff --git a/pages/linux/prt-get.md b/pages/linux/prt-get.md new file mode 100644 index 000000000..f1021bc55 --- /dev/null +++ b/pages/linux/prt-get.md @@ -0,0 +1,31 @@ +# prt-get + +> The advanced CRUX package manager + +- install a package + +`prt-get install {{package-name}}` + +- install a package with dependency handling + +`prt-get depinst {{package-name}}` + +- update a package manually + +`prt-get upgrade {{package-name}}` + +- remove a package + +`prt-get remove {{package-name}}` + +- upgrade the system from the local ports tree + +`prt-get sysup` + +- search the ports tree + +`prt-get search {{package-name}}` + +- search for a file in a package + +`prt-get fsearch {{file}}` From 4dc87c83ea2dc1901ffabaabec407adcbefb99f6 Mon Sep 17 00:00:00 2001 From: ix Date: Thu, 7 Jan 2016 17:49:26 -0500 Subject: [PATCH 2/3] remove things according to tldr --- pages/linux/pkgadd.md | 6 +----- pages/linux/pkginfo.md | 2 +- pages/linux/pkgmk.md | 2 +- pages/linux/ports.md | 8 ++++---- pages/linux/prt-get.md | 6 +++--- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/pages/linux/pkgadd.md b/pages/linux/pkgadd.md index 64fd084ad..fa842e9ed 100644 --- a/pages/linux/pkgadd.md +++ b/pages/linux/pkgadd.md @@ -6,10 +6,6 @@ `pkgadd {{package-name}}` -- update a already installed package from a local package +- update an already installed package from a local package `pkgadd -u {{package-name}}` - -- force installation of a package - -`pkgadd -f {{package-name}}` diff --git a/pages/linux/pkginfo.md b/pages/linux/pkginfo.md index 5afe52819..182010912 100644 --- a/pages/linux/pkginfo.md +++ b/pages/linux/pkginfo.md @@ -10,7 +10,7 @@ `pkginfo -l {{package-name}}` -- list the owner(s) of a file matching a pattern +- list the owner(s) of files matching a pattern `pkginfo -o {{pattern}}` diff --git a/pages/linux/pkgmk.md b/pages/linux/pkgmk.md index 6a091dfd5..58bb08514 100644 --- a/pages/linux/pkgmk.md +++ b/pages/linux/pkgmk.md @@ -10,7 +10,7 @@ `pkgmk -d -i` -- upgrade the package after making it +- upgrade the package after making it `pkgmk -d -u` diff --git a/pages/linux/ports.md b/pages/linux/ports.md index 5966a6b7f..1ee291434 100644 --- a/pages/linux/ports.md +++ b/pages/linux/ports.md @@ -1,15 +1,15 @@ # ports -> Update/list the ports tree on a CRUX system +> Update/list the ports tree on a CRUX system -- update the ports tree +- update the ports tree `ports -u` -- list the ports in the current tree +- list the ports in the current tree `ports -l` -- check the differences between installed packages and the ports tree +- check the differences between installed packages and the ports tree `ports -d` diff --git a/pages/linux/prt-get.md b/pages/linux/prt-get.md index f1021bc55..f6c16b145 100644 --- a/pages/linux/prt-get.md +++ b/pages/linux/prt-get.md @@ -1,6 +1,6 @@ # prt-get -> The advanced CRUX package manager +> The advanced CRUX package manager - install a package @@ -14,11 +14,11 @@ `prt-get upgrade {{package-name}}` -- remove a package +- remove a package `prt-get remove {{package-name}}` -- upgrade the system from the local ports tree +- upgrade the system from the local ports tree `prt-get sysup` From cc4a1447e3e4da262b82684a2102956db9ae549c Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Thu, 21 Jan 2016 13:44:43 +0100 Subject: [PATCH 3/3] Formatted pkg-related pages. --- pages/linux/pkgadd.md | 6 +++--- pages/linux/pkginfo.md | 10 +++++----- pages/linux/pkgmk.md | 14 +++++++------- pages/linux/pkgrm.md | 4 ++-- pages/linux/ports.md | 8 ++++---- pages/linux/prt-get.md | 16 ++++++++-------- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/pages/linux/pkgadd.md b/pages/linux/pkgadd.md index fa842e9ed..f34201b9a 100644 --- a/pages/linux/pkgadd.md +++ b/pages/linux/pkgadd.md @@ -1,11 +1,11 @@ # pkgadd -> Add a package to a CRUX system +> Add a package to a CRUX system. -- install a local software package +- Install a local software package: `pkgadd {{package-name}}` -- update an already installed package from a local package +- Update an already installed package from a local package: `pkgadd -u {{package-name}}` diff --git a/pages/linux/pkginfo.md b/pages/linux/pkginfo.md index 182010912..e8260cfce 100644 --- a/pages/linux/pkginfo.md +++ b/pages/linux/pkginfo.md @@ -1,19 +1,19 @@ # pkginfo -> Query the package database on a CRUX system +> Query the package database on a CRUX system. -- list installed packages and their versions +- List installed packages and their versions: `pkginfo -i` -- list files owned by a package +- List files owned by a package: `pkginfo -l {{package-name}}` -- list the owner(s) of files matching a pattern +- List the owner(s) of files matching a pattern: `pkginfo -o {{pattern}}` -- print the footprint of a file +- Print the footprint of a file: `pkginfo -f {{file}}` diff --git a/pages/linux/pkgmk.md b/pages/linux/pkgmk.md index 58bb08514..3f9ea5f58 100644 --- a/pages/linux/pkgmk.md +++ b/pages/linux/pkgmk.md @@ -1,27 +1,27 @@ # pkgmk -> Make a binary package for use with pkgadd on CRUX +> Make a binary package for use with pkgadd on CRUX. -- make and download a package +- Make and download a package: `pkgmk -d` -- install the package after making it +- Install the package after making it: `pkgmk -d -i` -- upgrade the package after making it +- Upgrade the package after making it: `pkgmk -d -u` -- ignore the footprint when making a package +- Ignore the footprint when making a package: `pkgmk -d -if` -- ignore the MD5 sum when making a package +- Ignore the MD5 sum when making a package: `pkgmk -d -im` -- update the package's footprint +- Update the package's footprint: `pkgmk -uf` diff --git a/pages/linux/pkgrm.md b/pages/linux/pkgrm.md index 370c5d24c..b48b6667b 100644 --- a/pages/linux/pkgrm.md +++ b/pages/linux/pkgrm.md @@ -1,7 +1,7 @@ # pkgrm -> Remove a package from a CRUX system +> Remove a package from a CRUX system. -- remove an installed package +- Remove an installed package: `pkgrm {{package-name}}` diff --git a/pages/linux/ports.md b/pages/linux/ports.md index 1ee291434..97372e95f 100644 --- a/pages/linux/ports.md +++ b/pages/linux/ports.md @@ -1,15 +1,15 @@ # ports -> Update/list the ports tree on a CRUX system +> Update/list the ports tree on a CRUX system. -- update the ports tree +- Update the ports tree: `ports -u` -- list the ports in the current tree +- List the ports in the current tree: `ports -l` -- check the differences between installed packages and the ports tree +- Check the differences between installed packages and the ports tree: `ports -d` diff --git a/pages/linux/prt-get.md b/pages/linux/prt-get.md index f6c16b145..751fd386d 100644 --- a/pages/linux/prt-get.md +++ b/pages/linux/prt-get.md @@ -1,31 +1,31 @@ # prt-get -> The advanced CRUX package manager +> The advanced CRUX package manager. -- install a package +- Install a package: `prt-get install {{package-name}}` -- install a package with dependency handling +- Install a package with dependency handling: `prt-get depinst {{package-name}}` -- update a package manually +- Update a package manually: `prt-get upgrade {{package-name}}` -- remove a package +- Remove a package: `prt-get remove {{package-name}}` -- upgrade the system from the local ports tree +- Upgrade the system from the local ports tree: `prt-get sysup` -- search the ports tree +- Search the ports tree: `prt-get search {{package-name}}` -- search for a file in a package +- Search for a file in a package: `prt-get fsearch {{file}}`