Thursday, July 25, 2019

what difference between apt and apt-get commands of Linux

  1. apt simply a package manager to merge multiple commands into one single command
  2. apt commands that replace the older apt-get commands.
  3. apt = advanced packaging tool
apt & apt-get  command with details

apt remove => apt-get remove => Removes a package
apt purge => apt-get purge => Removes package with configuration
apt update => apt-get update => Refreshes repository index
apt upgrade => apt-get upgrade => Upgrades all up-gradable packages
apt autoremove => apt-get autoremove => Removes unwanted packages
apt full-upgrade => apt-get dist-upgrade => Upgrades packages with auto handling of dependencies
apt search => apt-cache search => Searches for the program
apt show => apt-cache show => Shows package details

No comments:

Post a Comment

All Post Title

Core utilities on a GNU/Linux system

Basic commands