【问题标题】:Installing GitHub Desktop on Debian/Ubuntu在 Debian/Ubuntu 上安装 GitHub Desktop
【发布时间】:2022-10-19 21:15:51
【问题描述】:

在 Debian 上通过终端安装 GitHub Desktop 时遇到多个问题。

https://github.com/shiftkey/desktop/releases 安装GitHubDesktop-linux-3.0.6-linux1.deb 文件后,我在终端中输入以下命令:

wget -qO - https://packagecloud.io/shiftkey/desktop/gpgkey | sudo apt-key add -

出现以下消息: OK

然后,我输入了这个命令:

sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/shiftkey/desktop/any/ any main" > /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list'

什么都没有发生,相反,它只是转到终端中的新行。

然后我输入了 sudo update 命令:

sudo apt-get update

最后,我输入了安装 GitHub Desktop 的命令:

sudo apt install github-desktop

但随后出现以下错误:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package github-desktop

【问题讨论】:

  • 我应该打开GitHubDesktop-linux-3.0.6-linux1.deb 文件吗?还是我应该离开它?

标签: debian github-desktop


【解决方案1】:

我有一些替代方案,例如 SmartGit。我目前正在使用我的 IDE Pycharm 提交项目并将其推送到 GitHub,因为每个编辑器都有这个选项。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-02-21
    • 1970-01-01
    • 1970-01-01
    • 2023-01-20
    • 1970-01-01
    • 2010-09-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多