mirror of https://github.com/CrimsonTome/tldr.git
Formatted pkg-related pages.
parent
74476c3800
commit
cc4a1447e3
|
@ -1,11 +1,11 @@
|
||||||
# pkgadd
|
# 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}}`
|
`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}}`
|
`pkgadd -u {{package-name}}`
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
# pkginfo
|
# 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`
|
`pkginfo -i`
|
||||||
|
|
||||||
- list files owned by a package
|
- List files owned by a package:
|
||||||
|
|
||||||
`pkginfo -l {{package-name}}`
|
`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}}`
|
`pkginfo -o {{pattern}}`
|
||||||
|
|
||||||
- print the footprint of a file
|
- Print the footprint of a file:
|
||||||
|
|
||||||
`pkginfo -f {{file}}`
|
`pkginfo -f {{file}}`
|
||||||
|
|
|
@ -1,27 +1,27 @@
|
||||||
# pkgmk
|
# 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`
|
`pkgmk -d`
|
||||||
|
|
||||||
- install the package after making it
|
- Install the package after making it:
|
||||||
|
|
||||||
`pkgmk -d -i`
|
`pkgmk -d -i`
|
||||||
|
|
||||||
- upgrade the package after making it
|
- Upgrade the package after making it:
|
||||||
|
|
||||||
`pkgmk -d -u`
|
`pkgmk -d -u`
|
||||||
|
|
||||||
- ignore the footprint when making a package
|
- Ignore the footprint when making a package:
|
||||||
|
|
||||||
`pkgmk -d -if`
|
`pkgmk -d -if`
|
||||||
|
|
||||||
- ignore the MD5 sum when making a package
|
- Ignore the MD5 sum when making a package:
|
||||||
|
|
||||||
`pkgmk -d -im`
|
`pkgmk -d -im`
|
||||||
|
|
||||||
- update the package's footprint
|
- Update the package's footprint:
|
||||||
|
|
||||||
`pkgmk -uf`
|
`pkgmk -uf`
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# pkgrm
|
# 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}}`
|
`pkgrm {{package-name}}`
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
# ports
|
# 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`
|
`ports -u`
|
||||||
|
|
||||||
- list the ports in the current tree
|
- List the ports in the current tree:
|
||||||
|
|
||||||
`ports -l`
|
`ports -l`
|
||||||
|
|
||||||
- check the differences between installed packages and the ports tree
|
- Check the differences between installed packages and the ports tree:
|
||||||
|
|
||||||
`ports -d`
|
`ports -d`
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
# prt-get
|
# prt-get
|
||||||
|
|
||||||
> The advanced CRUX package manager
|
> The advanced CRUX package manager.
|
||||||
|
|
||||||
- install a package
|
- Install a package:
|
||||||
|
|
||||||
`prt-get install {{package-name}}`
|
`prt-get install {{package-name}}`
|
||||||
|
|
||||||
- install a package with dependency handling
|
- Install a package with dependency handling:
|
||||||
|
|
||||||
`prt-get depinst {{package-name}}`
|
`prt-get depinst {{package-name}}`
|
||||||
|
|
||||||
- update a package manually
|
- Update a package manually:
|
||||||
|
|
||||||
`prt-get upgrade {{package-name}}`
|
`prt-get upgrade {{package-name}}`
|
||||||
|
|
||||||
- remove a package
|
- Remove a package:
|
||||||
|
|
||||||
`prt-get remove {{package-name}}`
|
`prt-get remove {{package-name}}`
|
||||||
|
|
||||||
- upgrade the system from the local ports tree
|
- Upgrade the system from the local ports tree:
|
||||||
|
|
||||||
`prt-get sysup`
|
`prt-get sysup`
|
||||||
|
|
||||||
- search the ports tree
|
- Search the ports tree:
|
||||||
|
|
||||||
`prt-get search {{package-name}}`
|
`prt-get search {{package-name}}`
|
||||||
|
|
||||||
- search for a file in a package
|
- Search for a file in a package:
|
||||||
|
|
||||||
`prt-get fsearch {{file}}`
|
`prt-get fsearch {{file}}`
|
||||||
|
|
Loading…
Reference in New Issue