32

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

5 Answers 5

31

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
4
  • 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, 2019 at 1:10
  • 4
    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, 2019 at 8:03
  • 1
    E: Package 'software-center' has no installation candidate
    – alper
    Nov 5, 2021 at 11:05
  • Note that this doesn't work in Ubuntu 21.10. It doesn't launch Ubuntu Software, it says command not found.
    – Flimm
    Jan 18 at 8:32
26

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
  • 2
    which might require a preliminary 'sudo apt-get install gnome-software'
    – MikeW
    May 22, 2019 at 8:08
  • 1
    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, 2019 at 8:00
  • 1
    This is not the "Ubuntu Software" app that installs snaps that ships by default in Ubuntu 21.10. Instead, it will give you a "command not found" error.
    – Flimm
    Jan 18 at 8:31
10

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

ubuntu-software

and press Enter.

2
  • 3
    That just gives "software-center: command not found"
    – eddyq
    Feb 13, 2019 at 1:11
  • In Ubuntu 21.10, this answer doesn't work. It gives a "command not found" error. Ubuntu 21.10 doesn't ship with either ubuntu-software or software-center
    – Flimm
    Jan 18 at 8:34
9
+50

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".

1
  • 1
    This worked in Ubuntu 21.10
    – Flimm
    Jan 18 at 8:34
2

I use the snap-store and don't usually have an issue.

snap-store

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