Open In App

apt command in linux with examples

apt provides a high-level CLI (Command Line Interface) for the package management system and is intended as an interface for the end user which enables some options better suited for interactive usage by default compared to more specialized APT tools like apt-cache and apt-get.

Syntax:



apt [...COMMANDS] [...PACKAGES]

Most Used Commands:

Options:

  • –help : Display an overview of functionalities, and related help.

    Syntax:

    apt --help

  • –version : Display the current version number.

    Syntax:

    apt --version

    Output:

  • Article Tags :