[英]Sublime installation on ubuntu (add-apt-repository error)
I am trying to install sublime onto my ubuntu server via the following method. 我正在尝试通过以下方法将sublime安装到我的ubuntu服务器上。
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. 尝试过“ Lets_eat_potatos”解决方案,但无法解决问题。 this is the snapshot of the error https://www.dropbox.com/s/brsn2tpg8a2mmwj/Selection_201.png?dl=0
这是错误的快照https://www.dropbox.com/s/brsn2tpg8a2mmwj/Selection_201.png?dl=0
您需要先安装它,然后使用:
sudo apt-get install software-properties-common python-software-properties
That's because the add-apt-repository
command is not found. 那是因为找不到
add-apt-repository
命令。
You need to install python-software-properties
for it : 您需要为其安装
python-software-properties
:
sudo apt-get install python-software-properties
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.