-
-
Save afahitech/20d4cc426c8a90eced6ce9a9bff9285a to your computer and use it in GitHub Desktop.
Ruby Uninstall Linux
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 | |
| If you need installation help, contact with me: | |
| Skype: aataur1 | |
| Telegram: @AutoDevOps | |
| WhatsApp: +8801751643484 | |
| Email: [email protected] | |
| =========================================================== | |
| # 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