Choose style:

Author Topic: apt vs. apt-get (SOLVED)  (Read 1149 times)

0 Members and 1 Guest are viewing this topic.

Offline Svante

  • nOOb
  • *
  • Posts: 2
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
apt vs. apt-get (SOLVED)
« on: July 25, 2014, 05:02:24 am »
What's the difference between using the 'apt' and the 'apt-get' command?
Does it matter which one you use?
« Last Edit: July 28, 2014, 03:45:23 am by Svante »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25683
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: apt vs. apt-get
« Reply #1 on: July 25, 2014, 07:51:55 am »
not any more.

You used to have to do
Code: [Select]
sudo apt-get install packagename
now it's all been scripted, so all you need is
Code: [Select]
apt install packagename
you don't even need "sudo", but it will still prompt for your password

apt install
apt remove
apt purge
apt autoremove
apt clean
etc.

In the background "sudo apt-get install" is still being run .. so that will still work too ;)

think of it more like an "alias".



If you're interested you can see the script contents with:
Code: [Select]
gedit /usr/bin/apt
« Last Edit: July 25, 2014, 07:57:26 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec