Author Topic: sudo: add-apt-repository: command not found???  (Read 78730 times)

Offline ariggsd

  • Newbie
  • *
  • Posts: 2
sudo: add-apt-repository: command not found???
« on: May 10, 2011, 09: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 :)

Ubuntu Forums (Ubuntu Linux Support)

sudo: add-apt-repository: command not found???
« on: May 10, 2011, 09:10:45 PM »

Offline xzcallaway

  • Newbie
  • *
  • Posts: 23
Re: sudo: add-apt-repository: command not found???
« Reply #1 on: May 10, 2011, 11:12:38 PM »
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

Offline ariggsd

  • Newbie
  • *
  • Posts: 2
Re: sudo: add-apt-repository: command not found???
« Reply #2 on: May 10, 2011, 11:15:56 PM »
thanks!!!