Skip to content

Instantly share code, notes, and snippets.

@danilogco
Forked from berkorbay/github_desktop_ubuntu.md
Last active December 23, 2024 19:56
Show Gist options
  • Save danilogco/0c8b0d04a14a85ff6f1594876a946344 to your computer and use it in GitHub Desktop.
Save danilogco/0c8b0d04a14a85ff6f1594876a946344 to your computer and use it in GitHub Desktop.

Revisions

  1. danilogco revised this gist Dec 23, 2024. 1 changed file with 6 additions and 5 deletions.
    11 changes: 6 additions & 5 deletions github_desktop_ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,8 @@
    wget https://github.com/shiftkey/desktop/releases/download/release-2.7.2-linux1/GitHubDesktop-linux-2.7.2-linux1.deb
    sudo gdebi GitHubDesktop-linux-2.7.2-linux1.deb
    wget https://github.com/shiftkey/desktop/releases/download/release-3.1.1-linux1/GitHubDesktop-linux-3.1.1-linux1.deb
    sudo gdebi GitHubDesktop-linux-3.1.1-linux1.deb

    wget -qO - https://packagecloud.io/shiftkey/desktop/gpgkey | sudo tee /etc/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/null
    # OR

    wget -qO - https://apt.packages.shiftkey.dev/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/shiftkey-packages.gpg > /dev/null
    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 apt update
    sudo apt install github-desktop
    sudo apt update && sudo apt install github-desktop
  2. danilogco revised this gist Apr 22, 2021. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion github_desktop_ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,7 @@
    wget https://github.com/shiftkey/desktop/releases/download/release-2.7.2-linux1/GitHubDesktop-linux-2.7.2-linux1.deb
    sudo gdebi GitHubDesktop-linux-2.7.2-linux1.deb
    sudo gdebi GitHubDesktop-linux-2.7.2-linux1.deb

    wget -qO - https://packagecloud.io/shiftkey/desktop/gpgkey | sudo tee /etc/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/null
    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 apt update
    sudo apt install github-desktop
  3. danilogco revised this gist Apr 22, 2021. 1 changed file with 2 additions and 9 deletions.
    11 changes: 2 additions & 9 deletions github_desktop_ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,2 @@
    #sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb
    #sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb

    # UPDATE (2021-03-05): Thanks to PaoloRanzi81's comment, the updated code is as follows https://gist.github.com/PaoloRanzi81

    sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.6.3-linux1/GitHubDesktop-linux-2.6.3-linux1.deb
    ### Uncomment below line if you have not installed gdebi-core before
    # sudo apt-get install gdebi-core
    sudo gdebi GitHubDesktop-linux-2.6.3-linux1.deb
    wget https://github.com/shiftkey/desktop/releases/download/release-2.7.2-linux1/GitHubDesktop-linux-2.7.2-linux1.deb
    sudo gdebi GitHubDesktop-linux-2.7.2-linux1.deb
  4. @berkorbay berkorbay revised this gist Mar 8, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion github_desktop_ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -6,4 +6,4 @@
    sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.6.3-linux1/GitHubDesktop-linux-2.6.3-linux1.deb
    ### Uncomment below line if you have not installed gdebi-core before
    # sudo apt-get install gdebi-core
    sudo gdebi /home/your_username/GitHubDesktop-linux-2.6.3-linux1.deb
    sudo gdebi GitHubDesktop-linux-2.6.3-linux1.deb
  5. @berkorbay berkorbay revised this gist Mar 5, 2021. 1 changed file with 9 additions and 2 deletions.
    11 changes: 9 additions & 2 deletions github_desktop_ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,9 @@
    sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb
    sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb
    #sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb
    #sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb

    # UPDATE (2021-03-05): Thanks to PaoloRanzi81's comment, the updated code is as follows https://gist.github.com/PaoloRanzi81

    sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.6.3-linux1/GitHubDesktop-linux-2.6.3-linux1.deb
    ### Uncomment below line if you have not installed gdebi-core before
    # sudo apt-get install gdebi-core
    sudo gdebi /home/your_username/GitHubDesktop-linux-2.6.3-linux1.deb
  6. @berkorbay berkorbay created this gist Feb 5, 2020.
    2 changes: 2 additions & 0 deletions github_desktop_ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb
    sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb