Skip to content

Instantly share code, notes, and snippets.

@theodorosploumis
Created May 15, 2023 18:39
Show Gist options
  • Save theodorosploumis/6dabef13f8a4b4b05d7cf61f450fe973 to your computer and use it in GitHub Desktop.
Save theodorosploumis/6dabef13f8a4b4b05d7cf61f450fe973 to your computer and use it in GitHub Desktop.

Revisions

  1. theodorosploumis created this gist May 15, 2023.
    12 changes: 12 additions & 0 deletions install_patch.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    #!/bin/bash -e
    wget https://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.gz
    tar xf patch-2.7.6.tar.gz
    rm patch-2.7.6.tar.gz

    cd patch-2.7.6
    ./configure
    make
    mkdir ~/bin

    cp ./src/patch ~/bin
    rm -fr ~/patch-2.7.6