commandline

Asked by G Thomson

Any way to find commandline name for applications such as ubuntu software centre.
I want to use apt-get to install them. Thanks for reading

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

The names (not always) but most of them ,are almost the same..

Examples

Ubuntu Software Centre

$ sudo apt-get install ubuntu-software-center (to install USC from terminal)

VLC PLAYER

$ sudo apt-get install vlc

FIREFOX BROWSER

$ sudo apt-get install firefox

Now , see this trick here..

When you are not sure about the name , you can use 2 tools from command line to locate the correct name.

First is the tab-completion (pre-installed in Ubuntu).

Open a terminal and do this

$ sudo apt-get install fire(here hit [TAB] twice) , it will fill the name automatically or list the packages where the name begin with fire

Second , the ability of apt-get to search the database..

$ apt-cache search firefox

it will list all the programs-packets , where in description or name have the word : firefox

NO CAPS , in apt-get .. 99,99% of programs - names - etc are in small letters.

If you don't know the exact name .. but you remember something.. like .. fire & browser , you can do

$ apt-cache search fire browser

Of course in some cases the results will be a lot.. but you can find the correct name (if you are unsure).

I hope to solved your queries.

If you want to read.. and dive in to command line.. start reading : https://help.ubuntu.com/community/AptGet/Howto

Thank you

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

Well , the FIRST command is WRONG .. can you find which name is the correct ?

Is not

$ sudo apt-get install ubuntu-software-center .. but something else..

use the apt-get and the tricks I gave you , to locate the correct name.

Thanks :-)

Revision history for this message
G Thomson (grtghij) said :
#3

Great answer thankyou very much. The apt-get search is tops. I am setting
up an old laptop from a Lubuntu minimal install, so its very helpfull.
Thankyou.

On 22 December 2012 08:56, NikTh <email address hidden>wrote:

> Your question #217383 on software-center in Ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/217383
>
> NikTh proposed the following answer:
> Well , the FIRST command is WRONG .. can you find which name is the
> correct ?
>
> Is not
>
> $ sudo apt-get install ubuntu-software-center .. but something else..
>
> use the apt-get and the tricks I gave you , to locate the correct name.
>
> Thanks :-)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/217383/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/217383
>
> You received this question notification because you asked the question.
>

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#4

OK , if your question - problem solved, please mark the answer that solved your question and close the question (mark as solved).

Thank you

Revision history for this message
G Thomson (grtghij) said :
#5

Thanks NikTh, that solved my question.