Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I want to install restricted (closed source) software like Steam in Ubuntu, I have to use Software Centre.

Is there anyway to install such software right from the command line?

share|improve this question
up vote 4 down vote accepted

This answer assumes that you want to install Steam. Please look at the software’s documentation for help with installing other third party software.

Open the terminal and run:

wget && sudo apt-key add signature.gpg
sudo add-apt-repository "deb precise steam"

The first line downloads and adds the signing key to your keymanager and the second line adds the actual repository to your system. I'm on 13.04 but Steam's installer used precise on that line, so I wouldn't change it to raring. Finally, you can install Steam by running the command below, which will also update your list of software sources:

sudo apt-get update && sudo apt-get install steam
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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