install GitHub Desktop on ubuntu

这篇具有很好参考价值的文章主要介绍了install GitHub Desktop on ubuntu。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

  1. Update Packages
    On your Ubuntu Linux, first, run the system update command that ensures all the available package updates are installed on it. Further, this command will also refresh the package index cache of the default package manager i.e APT
sudo apt update && sudo apt upgrade
  1. Add ShiftKey GPG Key
    As we know officially GitHub Desktop client app is not available for Linux systems including Ubuntu. Therefore, we are going for the project that is itself hosted on GiitHub – known as GitHub Desktop – The Linux Fork by ShiftKey.

So, on your Ubuntu terminal execute the given command that will add the GPG key of the project, so that we can use the repository offered by the developers of this fork on our system.

wget -qO - https://mirror.mwt.me/shiftkey-desktop/gpgkey | gpg --dearmor | sudo tee /etc/apt/keyrings/mwt-desktop.gpg > /dev/null
  1. Add GitHub Desktop repository on Ubuntu
    After adding the GPG key, let’s add the repository that offers the GitHub Desktop fork packages to install it on Ubuntu 22.04 or 20.04. The benefit of using a repository method instead of its Debian packages bundled as executable binary is we can easily get the future updates of the application by just running the system update and upgrade command.
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/mwt-desktop.gpg] https://mirror.mwt.me/shiftkey-desktop/deb/ any main" > /etc/apt/sources.list.d/mwt-desktop.list'

Don’t forget to run the system update command once again after adding the repository.

sudo apt update
  1. GitHub Desktop installation on Ubuntu 22.04 | 20.04
    Finally, we have integrated all the necessary things we required to download GitHub Desktop App and start its installation on Ubuntu Linux. Now, let’s use Ubuntu’s APT, a built-in package manager, to finally get it on our Linux system.
sudo apt install github-desktop
  1. Install Flatpak
    Those who don’t want to use the repository method can go for Flatpak universal package manager. However, unlike Snap, it is not available to use on Ubuntu by default. Therefore, we have to install it manually. Here are the commands to follow.
sudo apt install flatpak

Once the installation is completed, also add the Flathub remote repository that allows us to install various packages available in it on our Linux system.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Completing the above two commands will enable the Flatpak successfully on our Ubuntu OS, however, it is important to reboot our system once. This helps this package manager to integrate itself properly into Linux.

sudo reboot
  1. Use Flatpak to install the Linux GitHub Desktop app
    So, after restarting the system let’s use Flatpak to fetch and install the GitHub desktop release on Ubuntu 22.04 or 20.04 Linux via Flathub.

Here is the GitHub Desktop Flatpak Installation Command.文章来源地址https://www.toymoban.com/news/detail-730222.html

flatpak install -y flathub io.github.shiftey.Desktop
  1. Run Linux GitHub Desktop
    It doesn’t matter which method you have used, to run the application simply click on the Activities link of the Taskbar or press the Windows key on your keyboard to search GitHub. As its icon appears click to run the same.
    install GitHub Desktop on ubuntu,github,ubuntu,数据库

到了这里,关于install GitHub Desktop on ubuntu的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Github Desktop 下载、安装、汉化和卸载(新手入门使用教程)

    打开GitHub Desktop官网https://desktop.github.com/ 点击 download for Windows(64bit),下载 GitHub Desktop 启动安装 双击下载好的安装包,启动安装 安装进度 显示安装进度页面,稍微耐心等等,页面消失即安装完成 GithubDesktopZhTool为GitHubDesktop汉化工具。 注:遇到汉化失败,重试一下子。 意

    2024年04月17日
    浏览(142)
  • 关于GitHub Desktop中的“Open in Git Bash”无法使用的问题

    问题描述         在GitHub Desktop中选择Repository--Open in Git Bash(如图1),出现如图2所示结果。 图1 图2 解决办法(Windows10)         这个问题是由于Git的环境变量没有得到正确配置所导致的,所以需要正确设置环境变量,解决方法参考自How to \\\"Open in Git Bash\\\" in Github Desktop。  

    2024年02月09日
    浏览(51)
  • 傻瓜式git管理。全平台,全编译器通用。github desktop+vscode

    git版本管理是每个程序员必学的知识,就算不打算团队合作,重要的代码保留也是非常重要的。git可视化管理工具有很多,例如github desktop,source tree,TortoiseGit。我这里推荐github desktop,github出品的软件,特点是傻瓜式操作 github软件下载 我们小白需要的是什么?就是简单的代码

    2024年02月07日
    浏览(66)
  • github使用教程(包括git命令、git Desktop桌面端)——从安装到入门,适合小白

    2023.12.09持续更新中 计划再更新一些git软件命令以及git Desktop使用方法 众所周知,github上有着丰富且优秀的项目以及学习资源,对于想从该平台上学习生信的人来说,可以提供很大帮助。 因此,本文主要是想记录一下自己学习的步骤(记录向),同时分享给有需要帮助的人。

    2024年04月13日
    浏览(52)
  • pip install git+https://github.com/...下载问题

    遇到如下的直接结合github的下载安装情况: pip install git+https://github.com/votchallenge/vot-toolkit-python 在没有其他 合理 情况下可以采用如下操作进行正常的安装: 将上述代码换成: pip install git+git://github.com/votchallenge/vot-toolkit-python 即将 https 换成 git 代码更换后可能会出现如下问题:

    2023年04月24日
    浏览(45)
  • How to manually install PCL on ubuntu 18.04

    1. Firstly, need to check which version pcl you need to install on your ubuntu system. PCL download link: https://github.com/PointCloudLibrary/pcl/releases?page=2 https://github.com/PointCloudLibrary/pcl/releases?page=2 Find your version: pcl-1.9.1  Then click Assets, and download the source code.zip 2. unzip source_code.zip 3. cd source_code 4. 5.  6. 7. 

    2024年01月21日
    浏览(53)
  • Install Stable Diffusion WebUI on Ubuntu 22.04.2 LTS

    OS:Ubuntu 22.04 LTS Kernel:5.15.0-60-generic CPU: Intel(R) Xeon(R) Gold 6278C CPU @ 2.60GHz, 8vCPUs  GPU: 1 * NVIDIA V100-PCIe-32G  RAM: 64GB system disk:512 GiB data disk: 2048 GiB Stable Diffusion WebUI version:0cc0ee1 (2023/2/20) Go to HuggingFace or Civitai to find a model. Use wget command to download the model Here are some good mode

    2024年02月15日
    浏览(45)
  • 【开源项目】GitHub 上的 10 大最佳开源项目 2023 | Top 10 Best Open Source Projects on GitHub 2023

      目录 1. RLHF + PaLM: Open Source ChatGPT Alternative1. RLHF + PaLM:开源聊天GPT替代品

    2024年02月16日
    浏览(53)
  • Top 5 Best Open Source Projects on GitHub 2023

    这里介绍Github上 5 个增长最快的开源项目,它们为原有的解决方案提供了更加具有成本效益的替代方案,并为开发者、数据分析师和企业提供了高可用的工具产品。利用开源的优势,这5个项目拓展了强大而有效的解决方案,是值得收藏、分享以及探索尝试的。 1. ChatGLM-6B:

    2024年02月08日
    浏览(42)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包