Osprey Homes
Osprey Homes

Reputation: 1

Sublime installation on ubuntu (add-apt-repository error)

I am trying to install sublime onto my ubuntu server via the following method.

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

But when I put the first command it gives me this error

sudo: add-apt-respository: command not found

Can anyone help me please?

Tried "Lets_eat_potatos" solution but couldnt solve the prob. this is the snapshot of the error https://www.dropbox.com/s/brsn2tpg8a2mmwj/Selection_201.png?dl=0

Upvotes: 0

Views: 735

Answers (2)

Haimei
Haimei

Reputation: 12965

You need to install it first and then use:

sudo apt-get install software-properties-common python-software-properties

Upvotes: 1

bemug
bemug

Reputation: 1754

That's because the add-apt-repository command is not found.

You need to install python-software-properties for it :

sudo apt-get install python-software-properties

Upvotes: 0

Related Questions