Skip to content

Instantly share code, notes, and snippets.

@afahitech
Forked from UbuntuEvangelist/ruby.sh
Last active January 25, 2021 15:38
Show Gist options
  • Select an option

  • Save afahitech/20d4cc426c8a90eced6ce9a9bff9285a to your computer and use it in GitHub Desktop.

Select an option

Save afahitech/20d4cc426c8a90eced6ce9a9bff9285a to your computer and use it in GitHub Desktop.
Ruby Uninstall Linux
#!/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