Skip to content

Instantly share code, notes, and snippets.

@theodorosploumis
Created May 15, 2023 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theodorosploumis/6dabef13f8a4b4b05d7cf61f450fe973 to your computer and use it in GitHub Desktop.
Save theodorosploumis/6dabef13f8a4b4b05d7cf61f450fe973 to your computer and use it in GitHub Desktop.
Install specific patch version on server
#!/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment