【问题标题】:Sublime installation on ubuntu (add-apt-repository error)在 ubuntu 上安装 Sublime (add-apt-repository 错误)
【发布时间】:2014-12-10 09:00:46
【问题描述】:

我正在尝试通过以下方法将 sublime 安装到我的 ubuntu 服务器上。

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

但是当我输入第一个命令时,它给了我这个错误

sudo: add-apt-respository: command not found

谁能帮帮我?

尝试了“Lets_eat_potatos”解决方案,但无法解决问题。这是错误https://www.dropbox.com/s/brsn2tpg8a2mmwj/Selection_201.png?dl=0的快照

【问题讨论】:

  • 存储库≠存储库

标签: ubuntu terminal sublimetext2 apt-get


【解决方案1】:

需要先安装后使用:

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

【讨论】:

    【解决方案2】:

    那是因为没有找到add-apt-repository 命令。

    你需要为它安装python-software-properties

    sudo apt-get install python-software-properties

    【讨论】:

    猜你喜欢
    • 2020-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多