mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 23:26:00 +02:00
Merge branch 'master' of git://github.com/ix/tldr into ix-master
This commit is contained in:
commit
74476c3800
6 changed files with 110 additions and 0 deletions
11
pages/linux/pkgadd.md
Normal file
11
pages/linux/pkgadd.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# pkgadd
|
||||||
|
|
||||||
|
> Add a package to a CRUX system
|
||||||
|
|
||||||
|
- install a local software package
|
||||||
|
|
||||||
|
`pkgadd {{package-name}}`
|
||||||
|
|
||||||
|
- update an already installed package from a local package
|
||||||
|
|
||||||
|
`pkgadd -u {{package-name}}`
|
19
pages/linux/pkginfo.md
Normal file
19
pages/linux/pkginfo.md
Normal file
|
@ -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 files matching a pattern
|
||||||
|
|
||||||
|
`pkginfo -o {{pattern}}`
|
||||||
|
|
||||||
|
- print the footprint of a file
|
||||||
|
|
||||||
|
`pkginfo -f {{file}}`
|
27
pages/linux/pkgmk.md
Normal file
27
pages/linux/pkgmk.md
Normal file
|
@ -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`
|
7
pages/linux/pkgrm.md
Normal file
7
pages/linux/pkgrm.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# pkgrm
|
||||||
|
|
||||||
|
> Remove a package from a CRUX system
|
||||||
|
|
||||||
|
- remove an installed package
|
||||||
|
|
||||||
|
`pkgrm {{package-name}}`
|
15
pages/linux/ports.md
Normal file
15
pages/linux/ports.md
Normal file
|
@ -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`
|
31
pages/linux/prt-get.md
Normal file
31
pages/linux/prt-get.md
Normal file
|
@ -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}}`
|
Loading…
Add table
Reference in a new issue