Created
May 15, 2023 18:39
-
-
Save theodorosploumis/6dabef13f8a4b4b05d7cf61f450fe973 to your computer and use it in GitHub Desktop.
Install specific patch version on server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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