apt-get: Command line

Asked by qsummon

apt get: Command Line
Can I get a complete list of the application I can install?
Can I have which will be the target File System for the application?
Can I know before the installation how much space will need to install all the packages (estimated size)?

Thanks a lot

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Abi ^-^
Solved:
Last query:
Last reply:
Revision history for this message
ahowell (alan-howell) said :
#1

"apt-cache" is what you are looking for. There are other means to get this info with dpkg too.

apt-cache search xyz
This will help you find what you are looking for.

apt-cache show xyz
This shows you all kinds of goodies about "xyz" package.

apt-get install xyz
This will prompt you with all the dependencies and disk space needed.

Revision history for this message
Best Abi ^-^ (abiyasa-eka) said :
#2

You can look it at synaptic package manager, open it in system - administration - synaptic package manager ...

Thank you

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi,

One small remark:

To be able to install a certain package xyz, you will need to put sudo in front of the apt-get command.

There are two popular command line package managers you can use to install a package (there are also less known package managers, like smartpm) in Ubuntu:

Method 1: Enter following commands:

sudo aptitude update
sudo aptitude install <name of package found using apt-cache search>

Method 2: Enter following commands:

sudo apt-get update
sudo apt-get install <name of package found using apt-cache search>

For example: to install vlc (VideoLAN player)

Enter the following commands:

sudo aptitude update
sudo aptitude install vlc

Hope this is clear,

Regards,

Mark

Revision history for this message
qsummon (qsummon) said :
#4

Thanks a lot for you answers. I'm new in ubuntu so try to forget the rpm things and get use to all the news packages installers.
Thanks again

Revision history for this message
qsummon (qsummon) said :
#5

Thanks Abi ^-^, that solved my question.