Skip to content

Instantly share code, notes, and snippets.

@sprytnyk
Last active January 6, 2025 18:16
Show Gist options
  • Save sprytnyk/9f7b74bbe7bb204dd4074016cd629e9f to your computer and use it in GitHub Desktop.
Save sprytnyk/9f7b74bbe7bb204dd4074016cd629e9f to your computer and use it in GitHub Desktop.
A dummy script that installs srm util.
#!/usr/bin/env bash
# A dummy script incorporated to a gist for the sake of simplicity to install srm.
# Credit: http://techies-world.com/install-srm-secure-remove-command/
cd "$(mktemp -d)" || exit
echo "Starting to download srm file..."
sudo apt install build-essential
wget http://downloads.sourceforge.net/project/srm/1.2.15/srm-1.2.15.tar.gz
tar -zxvf srm-1.2.15.tar.gz
cd srm-1.2.15 || exit
sh ./configure
make
sudo make install
echo "srm successfully installed."
@sprytnyk
Copy link
Author

sprytnyk commented Dec 23, 2022

sh -c "$(curl -fsSL https://gist.githubusercontent.com/sprytnyk/9f7b74bbe7bb204dd4074016cd629e9f/raw/6e22b039e0fb67cd86c6e62e4f19775e7ddc1bc3/install-srm.sh)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment