You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



apt vs. apt-get

Author (Read 3168 times)

0 Members and 1 Guest are viewing this topic.

Re: apt vs. apt-get
« Reply #2 on: May 17, 2015, 08:45:42 PM »
 

Kirkx

  • Occasional Poster
  • **
  • 51
    Posts
  • Reputation: 10
  • Linux Lite Member
    • View Profile

  • CPU: Athlon 64 3500+ 2.2 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 8500 GT / Nvidia 340.76
Thanks for the tip. So far I have three package information related commands in my Linux cheat sheet. It takes some practice to try out different commands and switches to see which one you like best for the desired output:

Code: [Select]
apt ...
apt-cache ...
dpkg ...
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro
 

apt vs. apt-get
« Reply #1 on: May 16, 2015, 08:28:21 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
I'm not sure if everyone knows this or not, but I recently learned that apt can do just about everything that apt-get can do and with a bit more style.

Quote
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

No more apt-cache search...just do apt search.

I apologize if this is common knowledge but I figured I'd share it to save people some keystrokes if they're still doing it the old way.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section