Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
    
Please could you accept my answer if you find it useful. –  papukaija Jul 13 '13 at 21:53
add comment

1 Answer

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 http://repo.steampowered.com/steam/signature.gpg && sudo apt-key add signature.gpg
sudo add-apt-repository "deb http://repo.steampowered.com/steam/ 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
add comment

Your Answer

 
discard

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.