Install Apt-mark On A Debian, Ubuntu, Kali, Fedora And Raspbian

Install Apt-mark On A Debian, Ubuntu, Kali, Fedora And Raspbian

apt-mark

Utility to change the status of installed packages.

Maintainer: APT Development Team


Section: admin

Install apt-mark

  • Debian apt-get install apt Click to copy
  • Ubuntu apt-get install apt Click to copy
  • Kali Linux apt-get install apt Click to copy
  • Fedora dnf install apt Click to copy
  • Raspbian apt-get install apt Click to copy

Utility to change the status of installed packages.

How to use apt-mark?

Below are few example commands for apt-mark that you can use in the terminal.

Mark a package as automatically installed:
sudo apt-mark auto package_nameClick to copy
Hold a package at its current version and prevent updates to it:
sudo apt-mark hold package_nameClick to copy
Allow a package to be updated again:
sudo apt-mark unhold package_nameClick to copy
Show manually installed packages:
apt-mark showmanualClick to copy
Show held packages that aren't being updated:
apt-mark showholdClick to copy
To install the latest version of apt-mark in your favorite operating system just copy the apt-mark installation command from above and paste it into terminal. It will download and install the latest version of apt-mark 2026 package in your OS.