简体   繁体   English

在ubuntu上进行Sublime安装(add-apt-repository错误)

[英]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.

相关问题 删除由 add-apt-repository 添加的存储库 - removeing repository addded by add-apt-repository 为旧的 ubuntu 版本 (14) 和 php 7.0 添加-apt-repository ondrej/php - add-apt-repository ondrej/php for old ubuntu versions (14) and php 7.0 Docker 容器与 ubuntu 16.04 add-apt-repository 使用 groovy 而不是 xenial - Docker container with ubuntu 16.04 add-apt-repository using groovy instead of xenial Ubuntu 14.04尝试“ sudo add-apt-repository ppa:tualatrix / ppa”失败 - Ubuntu 14.04 Try to “sudo add-apt-repository ppa:tualatrix/ppa” failed 通过Chef做add-apt-repository的正确方法是什么? - What is the right way to do add-apt-repository via Chef? add-apt-repository查找源代码的“ jessy”而不是“ trusty”版本 - add-apt-repository looks for 'jessy' instead of 'trusty' version of the source FileNotFoundError:add-apt-repository ppa:certbot / certbot - FileNotFoundError: add-apt-repository ppa:certbot/certbot ubuntu apt-add-repository显示错误 - ubuntu apt-add-repository showing error 首先运行所有“add-apt-repository”命令,然后运行一个“apt-get update” - Run all 'add-apt-repository' commands first, then run a single 'apt-get update' 在 ubuntu 中添加此存储库时 sudo apt-add-repository ppa:brightbox/ruby-ng 错误 - while adding this repo in ubuntu sudo apt-add-repository ppa:brightbox/ruby-ng error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM