Forrest logo
tool overview
On this page you find all important commands for the CLI tool apt-get. If the command you are looking for is missing please ask our AI.

apt-get

apt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using the APT library. Several "front-end" interfaces exist, such as aptitude, synaptic and wajig",

List of commands for apt-get:

  • apache2:install Install an Apache2 webserver.
    $ apt-get install apache
    try on your machine
    explain this command
  • apt-get:package:changelog Download and display the changelog for the given package
    $ apt-get changelog ${package_name}
    try on your machine
    explain this command
  • apt-get:package:install Download and install the given package
    $ apt-get install ${package_name}
    try on your machine
    explain this command
  • apt-get:tldr:01ee6 apt-get: Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies.
    $ apt-get dist-upgrade
    try on your machine
    explain this command
  • apt-get:tldr:0e2d9 apt-get: removing package files (`.deb`) from interrupted downloads that can no longer be downloaded.
    $ apt-get autoclean
    try on your machine
    explain this command
  • apt-get:tldr:905ca apt-get: Remove a package.
    $ apt-get remove ${package}
    try on your machine
    explain this command
  • apt-get:tldr:d72e1 apt-get: Remove all packages that are no longer needed.
    $ apt-get autoremove
    try on your machine
    explain this command
  • apt-get:tldr:e608d apt-get: Remove a package and its configuration files.
    $ apt-get purge ${package}
    try on your machine
    explain this command
  • apt-get:update Update the list of packages registered in your system.
    $ apt-get update
    try on your machine
    explain this command
  • apt-get:upgrade Upgrade all installed tools that where installed via apt-get.
    $ apt-get upgrade
    try on your machine
    explain this command
  • certbot:install Install certbot to handle tls/https certificates.
    $ apt-get install snapd
    $ snap install certbot --classic
    try on your machine
    explain this command
  • chrome:install:stable Installs Google Chrome stable version.
    $ apt-get install google-chrome-stable
    try on your machine
    explain this command
  • mysql:install Install a MySQL database server.
    $ apt-get install mysql-server
    try on your machine
    explain this command
  • node:install Installs Node.js using the package manager (apt-get) in Linux
    $ apt-get install nodejs
    try on your machine
    explain this command
  • php:install Install PHP.
    $ apt-get install php
    try on your machine
    explain this command
  • php:module:install:mysql Installs the PHP MySQL module on Linux
    $ apt-get install php-mysql
    try on your machine
    explain this command
  • php:module:install:xml Installs the PHP XML extension.
    $ apt-get install php-xml
    try on your machine
    explain this command
  • php:modules:install:curl How to install php8.1 curl?
    $ apt-get install php8.1-curl
    try on your machine
    explain this command
  • php:modules:install:xml Installs the PHP 8.1 XML extension
    $ apt-get install php-xml
    try on your machine
    explain this command
tool overview