Ubuntu Forums (Ubuntu Linux Support)

Ubuntu Server => Application Support => Topic started by: ariggsd on May 10, 2011, 10:10:45 PM

Title: sudo: add-apt-repository: command not found???
Post by: ariggsd on May 10, 2011, 10:10:45 PM
I'm trying to install java via ssh on my Ubuntu 10.04 LTS server and I keep getting this response! please help :)
Title: Re: sudo: add-apt-repository: command not found???
Post by: xzcallaway on May 11, 2011, 12:12:38 AM
I've read that the following command will fix the add-apt-repository command:

sudo apt-get install python-software-properties

Also, I don't think it is usual, in Ubuntu, for people to install software using this command.  here are two commands I use most in the terminal.  The first lists available packages and the second installs them.  For instance:

sudo apt-cache search java
sudo apt-get install openjdk-6-jre

--------------------------
Check out the deb packages available at http://www.dotdeb.com
Title: Re: sudo: add-apt-repository: command not found???
Post by: ariggsd on May 11, 2011, 12:15:56 AM
thanks!!!