Last active
January 6, 2025 18:16
-
-
Save sprytnyk/9f7b74bbe7bb204dd4074016cd629e9f to your computer and use it in GitHub Desktop.
A dummy script that installs srm util.
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
#!/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." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sh -c "$(curl -fsSL https://gist.githubusercontent.com/sprytnyk/9f7b74bbe7bb204dd4074016cd629e9f/raw/6e22b039e0fb67cd86c6e62e4f19775e7ddc1bc3/install-srm.sh)"