Last active
January 10, 2024 17:49
-
-
Save UbuntuEvangelist/1da4571b0fd81aad105590e134d61401 to your computer and use it in GitHub Desktop.
Ruby Uninstall Linux
This file contains 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 | |
# This script will do Ruby Uninstall Linux and reboot Linux | |
sudo apt-get purge ruby | |
sudo rm -rf /usr/local/lib/ruby | |
sudo rm -rf /usr/lib/ruby | |
sudo rm -f /usr/local/bin/ruby | |
sudo rm -f /usr/bin/ruby | |
sudo rm -f /usr/local/bin/irb | |
sudo rm -f /usr/bin/irb | |
sudo rm -f /usr/local/bin/gem | |
sudo rm -f /usr/bin/gem | |
sudo apt update -y | |
sudo apt upgrade -y | |
sudo reboot | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment