Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
44
rated 0 times [  44] [ 0]  / answers: 1 / hits: 62195  / 2 Years ago, sun, january 2, 2022, 1:38:31

What is difference of apt-get and aptitude? Does both of them use same repositories?



Which one is better?


More From » apt

 Answers
7

aptitude is supposed to be a user level program whereas apt-get is supposed to be used by higher level programs. It just turns out apt-get is easy to use so people just use it instead of the higher level managers like aptitude and synaptic.



aptitude is more user-friendly because it adds a layer of abstraction away from apt-get, apt-cache etc..; apt-get is more user-friendly than dpkg for the same reason. It's really down to the user's knowledge and what works best for them. aptitude and apt-get use the same repositories. Let it be clear that aptitude does not itself run apt-get apt-cache etc.. I merely mean to point out that aptitude is a higher level package manager.



The levels of abstraction:




  • aptitude - High level of abstraction

  • apt-get, apt-cache, etc.

  • dpkg - Low level of abstraction


[#29353] Sunday, January 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
onomicsiberated

Total Points: 217
Total Questions: 98
Total Answers: 107

Location: Luxembourg
Member since Sun, May 28, 2023
1 Year ago
;