Skip to content

Instantly share code, notes, and snippets.

@birgersp
Last active February 6, 2023 12:17
Show Gist options
  • Select an option

  • Save birgersp/be9bfc780f4a3bb438abd5a0db8d6ad9 to your computer and use it in GitHub Desktop.

Select an option

Save birgersp/be9bfc780f4a3bb438abd5a0db8d6ad9 to your computer and use it in GitHub Desktop.

Revisions

  1. birgersp revised this gist Feb 6, 2023. 1 changed file with 19 additions and 12 deletions.
    31 changes: 19 additions & 12 deletions install-programs.sh
    Original file line number Diff line number Diff line change
    @@ -1,57 +1,64 @@
    #!/bin/sh

    . /etc/upstream-release/lsb-release

    # pg admin
    sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
    sudo sh -c '. /etc/os-release && echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$UBUNTU_CODENAME pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
    PGADMIN_URL="https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$DISTRIB_CODENAME"
    curl -fsS https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo gpg --dearmor -o /usr/share/keyrings/packages-pgadmin-org.gpg --yes
    sudo sh -c "echo \"deb [signed-by=/usr/share/keyrings/packages-pgadmin-org.gpg] $PGADMIN_URL pgadmin4 main\" > /etc/apt/sources.list.d/pgadmin4.list"

    # vs code
    sudo apt install software-properties-common apt-transport-https wget -y
    wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add
    sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
    sudo apt install code

    # megasync
    curl -fsSL https://mega.nz/keys/MEGA_signing.key | sudo apt-key add -
    sudo sh -c 'echo "deb https://mega.nz/linux/MEGAsync/xUbuntu_20.04/ ./" > /etc/apt/sources.list.d/megasync.list'

    # powershell
    sudo apt install -y wget apt-transport-https software-properties-common
    wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb" -P ~/Downloads
    wget -q "https://packages.microsoft.com/config/ubuntu/$DISTRIB_RELEASE/packages-microsoft-prod.deb" -P ~/Downloads
    sudo dpkg -i ~/Downloads/packages-microsoft-prod.deb

    # misc
    sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
    sudo add-apt-repository -y ppa:hluk/copyq

    # ulauncher
    sudo add-apt-repository -y ppa:agornostal/ulauncher

    # discord
    sudo -E gpg --no-default-keyring --keyring=/usr/share/keyrings/javinator9889-ppa-keyring.gpg --keyserver keyserver.ubuntu.com --recv-keys 08633B4AAAEB49FC
    sudo sh -c "echo \"deb [arch=amd64 signed-by=/usr/share/keyrings/javinator9889-ppa-keyring.gpg] https://ppa.javinator9889.com all main\" > /etc/apt/sources.list.d/javinator9889-ppa.list"

    sudo apt update

    sudo apt install\
    code\
    pgadmin4-desktop\
    grub-customizer\
    python3-pip\
    zsh\
    xdotool\
    imwheel\
    keepassxc\
    protobuf-compiler\
    snapd\
    gitk\
    git-cola\
    dropbox\
    flameshot\
    fonts-noto-color-emoji\
    copyq\
    code\
    spotify-client\
    megasync\
    powershell\
    ulauncher\
    discord\
    -y

    sudo flatpak install -y flathub\
    com.microsoft.Teams\
    com.discordapp.Discord\
    com.spotify.Client\
    it.mijorus.smile
    com.github.git_cola.git-cola\
    org.keepassxc.KeePassXC

    sudo snap install\
    emote
    emote
  2. birgersp renamed this gist Oct 27, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. birgersp revised this gist Oct 27, 2022. 1 changed file with 55 additions and 4 deletions.
    59 changes: 55 additions & 4 deletions ubuntu-setup.sh
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,57 @@
    sudo add-apt-repository ppa:danielrichter2007/grub-customizer
    #!/bin/sh

    # pg admin
    sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
    sudo sh -c '. /etc/os-release && echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$UBUNTU_CODENAME pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'

    # vs code
    sudo apt install software-properties-common apt-transport-https wget -y
    wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add
    sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
    sudo apt install code

    # megasync
    curl -fsSL https://mega.nz/keys/MEGA_signing.key | sudo apt-key add -
    sudo sh -c 'echo "deb https://mega.nz/linux/MEGAsync/xUbuntu_20.04/ ./" > /etc/apt/sources.list.d/megasync.list'

    # powershell
    sudo apt install -y wget apt-transport-https software-properties-common
    wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb" -P ~/Downloads
    sudo dpkg -i ~/Downloads/packages-microsoft-prod.deb

    # misc
    sudo add-apt-repository -y ppa:danielrichter2007/grub-customizer
    sudo add-apt-repository -y ppa:hluk/copyq

    sudo apt update
    sudo apt install grub-customizer -y

    sudo apt install golang-go -y
    go get -u github.com/odeke-em/drive/cmd/drive
    sudo apt install\
    pgadmin4-desktop\
    grub-customizer\
    python3-pip\
    zsh\
    xdotool\
    imwheel\
    keepassxc\
    protobuf-compiler\
    snapd\
    gitk\
    git-cola\
    dropbox\
    flameshot\
    fonts-noto-color-emoji\
    copyq\
    code\
    spotify-client\
    megasync\
    powershell\
    -y

    sudo flatpak install -y flathub\
    com.microsoft.Teams\
    com.discordapp.Discord\
    com.spotify.Client\
    it.mijorus.smile

    sudo snap install\
    emote
  4. birgersp revised this gist Dec 30, 2021. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions ubuntu-setup.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    sudo add-apt-repository ppa:danielrichter2007/grub-customizer
    sudo apt update
    sudo apt install grub-customizer -y

    sudo apt install golang-go -y
    go get -u github.com/odeke-em/drive/cmd/drive
  5. birgersp revised this gist Dec 30, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions ubuntu-setup.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,3 @@
    sudo add-apt-repository ppa:danielrichter2007/grub-customizer
    sudo apt update
    sudo apt install grub-customizer -y
  6. birgersp created this gist Dec 30, 2021.
    1 change: 1 addition & 0 deletions ubuntu-setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    sudo add-apt-repository ppa:danielrichter2007/grub-customizer