Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just found that there is a apt command that you can use directly:

 $sudo apt 
 apt 1.0.1ubuntu2 for amd64 compiled on Apr 10 2014 13:03:39
 Usage: apt [options] command

 CLI for apt.
 Basic commands: 
  list - list packages based on package names
  search - search in package descriptions
  show - show package details
  update - update list of available packages
  install - install packages
  remove  - remove packages
  upgrade - upgrade the system by installing/upgrading packages
  full-upgrade - upgrade the system by removing/installing/upgrading packages
  edit-sources - edit the source information file

With similar syntax to apt-get. And it offers some coloring in the CLI interface. So I want to know if there are some major difference between apt and apt-* commands? Why do people seem to post commands as apt-get install and apt-cache search when they don' t need the additional options apt-* commands provide, while apt is shorter with all the similar functionality with additional coloring, and in my opinion, better output format? Is it only habit?

I see in the manual pages that apt is for end-users while other low-level commands are for scripts. So why is everyone posting those low-level commands instead of the more user-friendly high level command?

share|improve this question

1 Answer 1

up vote 14 down vote accepted

The reason not many people recommend the simpler apt tool is because it's new. It wasn't in Ubuntu until the latest release a week ago.

For most interactive uses it is equivalent but easier to use and looks nicer.

share|improve this answer
Awesome, I did not know that existed :-) –  Galgalesh Apr 27 '14 at 7:11
And you can enable a progress bar which is pretty cool and handy. –  Louis Matthijssen Apr 27 '14 at 7:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.