Announcement

Collapse
No announcement yet.

Does "apt" now alias to "apt-get"?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Does "apt" now alias to "apt-get"?

    I was following the instructions on installing Plasma 5 and noticed something that was new and different (to me).

    Instead of "apt-get update", the directions say to use "apt update". Likewise, instead of "apt-get install <package>", the instructions say to use "apt install <package>". And instead of "apt-get dist-upgrade", the instructions say to use "apt full-upgrade".

    As a former Debian user, I found this to be curious. Does Ubuntu now have aliases for apt-get commands?

    #2
    Not aliases.

    Snippet from the man page:

    Code:
    $ man apt
    
    . . . 
    
    DIFFERENCES TO APT-GET(8)
           The apt command is meant to be pleasant for end users and does not need to be backward compatible like apt-
           get(8). Therefore some options are different:
    
           ·   The option DPkg::Progress-Fancy is enabled.
    
           ·   The option APT::Color is enabled.
    
           ·   A new list command is available similar to dpkg --list.
    
           ·   The option upgrade has --with-new-pkgs enabled by default.
    Last edited by ronw; Dec 14, 2014, 07:45 PM. Reason: Reasons

    Comment


      #3
      A ha, I see. It's a different command. :-) Thanks.

      Comment


        #4
        And you can make apt-get look like apt! Create and save the following as /etc/apt/apt.conf.d/99pretty (need to be root to save the file):
        Code:
        Dpkg::Progress-Fancy "1";
        APT::Color "1";

        Comment

        Working...
        X