60
Vyrr
6y

PLEASE, stop using apt-get. It's depreciated. Use apt instead.

Thank you.

Comments
  • 14
    alias apt-get=apt
  • 4
    @fuck2code
    Well it is true since 4 years.
  • 16
    I'm sorry, I used it two hours ago.
    But I got an excuse! I'm pretty stupid.
  • 8
    @Jilano
    No worries m8, I bet OP still uses "ifconfig"
  • 4
    @Linux ip a for life dude
  • 3
    @Linux Haha, thank god I remember reading about this one. A friend got confused why it didn't work on a newly installed distribution :D
  • 6
    You can pry "apt-get" from my cold, dead hands, no moment earlier...

    On a serious note: What's wrong with it? I know it's 'deprecated' but it still works, so why not use it?
  • 3
    Is it *actually* deprecated though? Probably uses the same binaries.
  • 1
    NEVER
  • 4
    @gathurian It's better to get used to something when it gets released instead of when the former tool gets deleted. The sooner, the better (cf. The "IP" command that @Linux was talking about)
  • 1
    @beegC0de
    It does not actually
  • 0
    No. They are wrong, they have broken something that works, they should have the piss taken for it.
  • 5
    Am I bad for using apt-get and ifconfig 🙁
  • 5
    Juat researched, apt is for n00bs, does the most commons things most uaers do with apt-get amd apt-cache, hence made our life easie.

    apt-get still does more advanced things and it is not depreciated.
  • 1
    @Linux Oi i use ifconfig daily.
    On my BSD & Cisco devices. :)

    Also on my slackware install :p
  • 4
    @Linux wait whats wrong with ifconfig? What else should one use?
    Im a windows pleb having linux servers as a hobby xD
  • 3
    Serious question. Deprecated or depreciated?
  • 3
    I think that's completely wrong. They are made to exist side by side:

    "apt is for the terminal and gives beautiful output while apt-getand apt-cache are for scripts and give stable, parseable output."

    (https://askubuntu.com/questions/...)

    In docker or ansible scripts you still get a warning if you use apt.
  • 3
    @policyoftruth deprecated. Unless OP meant that apt-get is worth less, it's deprecated. That's the one where you are advised/requested not to use something any longer.
    In terms op apt and apt-get, apt Will break your scripts, as output format is not guaranteed and bound to change. Apt-get has standardized output and can be used in scripting
  • 2
    @cuidas "gives beautiful output"

    aka it's been taken over by buzzword-spouting hipsters.
  • 0
    @d4ng3r0u5 maybe, but i don't care if it works the way it should :P and maybe this is something good for "old school" projects like debian?
  • 2
    `apt-get`? Bah.

    I use `apt-fetch`, `apt-diff`, `apt-pull`, and occasionally `apt-sYu` 😉
  • 1
    Try redirecting "apt" output into a file. It says it is unstable and you may use apt-get. Now try the same with apt-get and it would do it fine.
    Hmm...
  • 0
    @Alice Just in case, John Cena pops up from a different terminal and asks you "Are you sure about that"...
    You better hit the additional string " -y" lol
  • 1
    apt reports it's not stable for autated scripts, how can apt-get be deprecated then?..
  • 0
    @xkill I've told everyone so many times!!!
  • 1
    @gitlog Thanks for the tag. I didn't know till now. Always used apt-get
Add Comment