


This will also select versions from this release for dependencies of this package if needed to satisfy the request. Alternatively, the version from a specific release can be selected by following the package name with a forward slash (/) and code name (stretch, buster, sid.) or suite name (stable, testing, unstable). The requested action can be overridden for specific packages by appending a plus (+) to the package name to install this package or a minus (-) to remove it.Ī specific version of a package can be selected for installation by following the package name with an equals (=) and the version of the package to select. This command is usually issued while doing system upgrades.Īpt performs the requested action on one or more packages specified via regex, glob or exact match. It performs the function of the upgrade but will remove currently installed packages if that is essential to upgrade the system as a whole. Sometimes it is helpful to use "full-upgrade". You should upgrade you system everyday, this gives you security and bug fixes: To use apt, it is important to retrieve a fresh copy of the package lists from the configured sources: apt aims to provide a simple, efficient way of handling packages for end users. Your machine will know to look there and check for any source repositories you added.Īpt provides a high-level command line interface for debian's package management system, with all the necessary tools in one place. On a Debian system, this sources file is the " /etc/apt/sources.list" file. Debian already comes with pre-approved sources to get packages from and this is how it installs all the base packages you see on your system (if a user did a net-install).

Your machine doesn't know where to look for these repositories unless you explicitly tell it where to look. Many online repositories hold lots of packages. Repositories are just a central storage location for packages. So instead of downloading packages/software one by one from random sites (like on Windows), there is something better - called package repositories in Debian. These package maintainers review, manage, and distribute this software in the form of packages. When they are ready to release it to the world, they send their package to package maintainers who handle getting this piece of software in the hands of the users. These upstream providers work on getting new software out and update existing software.

The people (or sometimes a single person) that write this software are known as upstream providers, they compile their code and write up how to get it installed. You may know some software like Firefox, GIMP, etc, but what they really are is just lots and lots of files that have been compiled into one.
