mirror of https://github.com/CrimsonTome/tldr.git
Merge branch 'ix-master'
commit
2512e05ad9
|
@ -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}}`
|
|
@ -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}}`
|
|
@ -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`
|
|
@ -0,0 +1,7 @@
|
||||||
|
# pkgrm
|
||||||
|
|
||||||
|
> Remove a package from a CRUX system.
|
||||||
|
|
||||||
|
- Remove an installed package:
|
||||||
|
|
||||||
|
`pkgrm {{package-name}}`
|
|
@ -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`
|
|
@ -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…
Reference in New Issue