I've find recently that we can use the more recent apt install, remove... over the ancestral apt-get install. I didn't know that before. Because I have some scripts that install packages accross wide range of OSes, i would like to know since when apt install is available in Debian and Ubuntu?

  • 5
    I would recommend against using apt on scripts, since the commands aren't script stable yet. If you need to use scripts use apt-get instead. BTW, the only practical difference between apt and apt-get is that the former is shorter to type and with colors (which will polute your log output).
    – Braiam
    Commented Apr 26, 2016 at 22:50
  • 1
    The principal advantage is better dependencies handling, more like aptitude.
    – Jun
    Commented Apr 27, 2016 at 8:31
  • I'd note that there also exists a lesser-known package manager, cupt with its own custom dependency solver touted by its author to be of good quality. I did not test it (apt covers 99% or my needs with aptitude coming second for advanced search queries).
    – kostix
    Commented Apr 27, 2016 at 11:40
  • 1
    What? Package dependency handling is managed by the apt library, like apt-get. There isn't any indication in the very short sources that indicates otherwise
    – Braiam
    Commented Apr 27, 2016 at 14:23

1 Answer 1


Since Jessie — the now stable release (Debian 8.0).

Note that this wrapper, while useful, does not yet cover 100% of what older apt-whatever programs do; namely there's no apt cache currently.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .