Reputation: 1
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
Reputation: 12965
You need to install it first and then use:
sudo apt-get install software-properties-common python-software-properties
Upvotes: 1
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