27

I am a newbie in linux and I don't know how to open the Ubuntu Software Center via Terminal!! Please help

29

I'm not sure why you'd want to, but

software-center

should do it. If you want to use command line to install a package then the correct way to do it would be

sudo apt-get install package-name

or

sudo apt-get remove package-name

to remove it. If you want a text based package manager then you could have a look at aptitude:

sudo aptitude
2
  • Want to do it because all of the searches for Software Center say to click the Ubuntu icon. But there is no such icon. Some say the Software Center is in the Launcher but where the heck is that? Your "software-center" method just yields "software-center: command not found"
    – eddyq
    Feb 13 '19 at 1:10
  • 3
    if you are running Ubuntu under WLS (WIndows) and an X-server, you are probably not running the desktop, hence want to run the tool directly.
    – MikeW
    May 22 '19 at 8:03
24

For Gnome Software replacing the old Canonical Ubuntu Software Centre <software-centre> (Preinstalled on Ubuntu 16.04 and later)

Open the terminal Ctrl+Alt+T

Then type:

gnome-software
3
  • 7
    This is the up-to-date answer.
    – blue_chip
    Aug 14 '17 at 21:43
  • 1
    which might require a preliminary 'sudo apt-get install gnome-software'
    – MikeW
    May 22 '19 at 8:08
  • in my WSL (windows) ubuntu, this launches something, but it I'm getting lots of errors e.g., libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast etc. The GUI comes up, but there is no software listed as installed. Jun 24 '19 at 8:00
10

You simply enter the terminal (Ctrl+Alt+T) and write:

ubuntu-software

and press Enter.

2
  • 2
    That just gives "software-center: command not found"
    – eddyq
    Feb 13 '19 at 1:11
  • Indeed it does now. Since Ubuntu 16.04 LTS, Software Center has been replaced by Gnome Software. Now you can write "ubuntu-software" instead. Answer updated.
    – Zilvador
    Jul 29 '19 at 18:24
1

Times have changed, and with them, the answer to this question. In desktop Ubuntu 21.04, it is still possible to install Ubuntu Software Center. Since that is the program specified by the original question, the answer is that you run it from the command line, first by installing it via:

sudo apt install gnome-software

and then by running it via the following command, with or without sudo:

gnome-software

You can also run it by using Show ApplicationsSoftware icon (white suitcase with aqua circle).

Since Ubuntu Software Center is no longer installed by default, this question (if asked today) would refer, instead, to the Snap Store. If it was not present, it would reportedly be installed via:

sudo snap install snap-store

In that case, the answer is that you run it via

snap-store

Or you could click on the suitcase icon, in this case an orange one bearing the letter A (short for "Snap" in Latin, perhaps), whose tool tip says (of course) "Ubuntu Software".

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