![]() ![]() The ‘ install‘ sub command is tracked by one or more packages wishing for installation or upgrading from the repositories. Under any circumstances currently installed packages are not removed or packages that are not already installed neither retrieved nor installed to satisfy upgrade dependencies. The ‘ upgrade‘ command is used to upgrade all the currently installed software packages on the system. The update command fetched the packages from their locations and update the packages to newer versions. The ‘ update‘ command is used to resynchronize the package index files from the sources specified in /etc/apt/sources.list file. Here, represent any additional flags or modifiers you can use with the command, and specifies the action you want to perform, such as installing, upgrading, removing, or searching for packages. The syntax for the apt-get command is as follows: $ sudo apt-get The apt-get command is a powerful and free package management command line program, that is used to work with Ubuntu’s APT ( Advanced Packaging Tool) library to perform the installation of new software packages, removing existing software packages, upgrading of existing software packages, and even used to upgrading the entire operating system. However, starting from Ubuntu 16.04 and Debian 9, the apt command became the recommended command-line tool for package management, although apt-get is still available and functional. With the apt-get command, you could install, remove, upgrade, search, and manage packages on your system. The apt-get command was the primary package management command used in Debian-based Linux distributions prior to the introduction of the apt command. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |