About 50 results
Open links in new tab
  1. What is the difference between apt and apt-get? - Ask Ubuntu

    The apt commands have been introduced to solve this problem. apt consists some of the most widely used features from apt-get, apt-cache and apt-config leaving aside obscure and seldom …

  2. apt - How do I search for available packages from the command …

    I have successfully installed some packages using the command: sudo apt-get install packagename when I have known in advance that those packages are available. But how can …

  3. apt - What is difference between the options "autoclean", …

    Aug 27, 2010 · apt-get has a few options which looks the same to me: autoclean, autoremove and clean. What do each of them do?

  4. apt - How to install updates via command line? - Ask Ubuntu

    Use this: sudo apt update # Fetches the list of available updates sudo apt upgrade # Installs some updates; does not remove packages sudo apt full-upgrade # Installs updates; may also …

  5. apt - How to list all installed packages - Ask Ubuntu

    I'd like to output a list of all installed packages into a text file so that I can review it and bulk-install on another system. How would I do this?

  6. How to fix apt-get update because the public key is not available:

    May 16, 2025 · I run the Ubuntu 24.04 (pull from docker hub) and try to install some packages. When I run sudo apt update, it shows the following errors: The following signatures couldn't be …

  7. What commands (exactly) should replace the deprecated apt-key?

    Oct 24, 2020 · You need to know why apt-key add is deprecated All of the answers so far work around the symptom ("Don't use apt-key add ") but fail to address the actual problem that led …

  8. What are phased updates, and why does Ubuntu use them?

    Updating via apt would ignore update phasing. However, starting with Ubuntu 21.04, apt also uses phased updates, allowing phased updates to apply to all versions of Ubuntu, including Ubuntu …

  9. apt - How can I see all versions of a package that are available in …

    apt-cache's madison command attempts to mimic the output format and a subset of the functionality of the Debian archive management tool, madison. It displays available versions of …

  10. apt - How do I fix the GPG error "NO_PUBKEY"? - Ask Ubuntu

    sudo gpg -a --export <PUBKEY> | sudo apt-key add - sudo apt-get update Note that when you import a key like this using apt-key you are telling the system that you trust the key you're …