1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 17:15:23 +02:00

apt-mark: add page (#2520)

This commit is contained in:
Starbeamrainbowlabs 2018-10-30 08:34:48 +00:00 committed by Owen Voke
parent 840d3f2dd9
commit 0bf0e88e0a

23
pages/linux/apt-mark.md Normal file
View file

@ -0,0 +1,23 @@
# apt-mark
> Utility to change the status of installed packages.
- Mark a package as automatically installed:
`sudo apt-mark auto {{package_name}}`
- Hold a package at its current version and prevent updates to it:
`sudo apt-mark hold {{package_name}}`
- Allow a package to be updated again:
`sudo apt-mark unhold {{package_name}}`
- Show manually installed packages:
`apt-mark showmanual`
- Show held packages that aren't being updated:
`apt-mark showhold`