I've never understood why debian insists on having these be different commands. It would make sense if install, search, upgrade and uninstall were all discrete, but the way it is today feels half implemented.
The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
11–20 of 77 posts
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#12Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#13Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#14Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#15I've never understood why debian insists on having these be different commands. It would make sense if install, search, upgrade and uninstall were all discrete, but the way it is today feels half implemented.
Same. Having to search for what you wanted to install via apt-cache, but then actually install it via apt-get, was a triumph of some unexplainable factor over usability.
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#16Is this installed by default on Debian? If not, then this is a deal-breaker for me. I might as well install aptitude which also provides a similar command line interface.
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#17Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#18I've never understood why debian insists on having these be different commands. It would make sense if install, search, upgrade and uninstall were all discrete, but the way it is today feels half implemented.
Only one of them requires readwrite system administrator privileges (eg sudo). apt-cache can be run by any user as it doesn't expose any secret data and can't be used to make changes. apt-get can install and uninstall software as well as download packages and thus needs root privileges in the classic UNIX model.
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#19Earlier quoted context omitted.
apt has colors, aptitude doesn't… ?
aptitude has a nice curses interface, though, which is great for resolving conflicts or other changes that require planning
Re: The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
#20I've never understood why debian insists on having these be different commands. It would make sense if install, search, upgrade and uninstall were all discrete, but the way it is today feels half implemented.
Only one of them requires readwrite system administrator privileges (eg sudo). apt-cache can be run by any user as it doesn't expose any secret data and can't be used to make changes. apt-get can install and uninstall software as well as download packages and thus needs root privileges in the classic UNIX model.