You may have installed the debian packaged rvm. You can clean it first with:

$ sudo apt-get --purge remove ruby-rvm 
Answer from nouh on Stack Overflow
🌐
RVM
rvm.io › rvm › install
RVM: Ruby Version Manager - Installing RVM
As a first step install GPG keys used to verify installation package: gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB ... RVM have dedicated Ubuntu package, so please follow instructions posted here: https://github.com/rvm/ubuntu_rvm
🌐
GitHub
github.com › rvm › ubuntu_rvm
GitHub - rvm/ubuntu_rvm: Ubuntu package for RVM · GitHub
Fine. First install the rvm-installer keys: gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
Starred by 730 users
Forked by 86 users
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-ruby-on-rails-with-rvm-on-ubuntu-20-04
How To Install Ruby on Rails with RVM on Ubuntu 20.04 | DigitalOcean
February 17, 2022 - In this tutorial, you will install RVM, the stable release of Ruby on Rails (or the specific version of your choosing) via RVM, and Node.js as the JavaScript runtime required for some Rails features. You will also learn how to uninstall Rails at the end. You will need a Ubuntu 20.04 server instance with a non-root user configured with sudo privileges.
🌐
RVM
rvm.io
RVM: Ruby Version Manager - RVM Ruby Version Manager - Documentation
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems. ... gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB In case you encounter an issues or want to know more, check security
🌐
Medium
medium.com › @vipschaudhary044 › installing-ruby-and-ruby-on-rails-using-rvm-on-ubuntu-a682a6479aa2
Installing Ruby and Ruby on Rails using RVM on Ubuntu | by Vishal Chaudhary | Medium
February 23, 2024 - We will install Ruby on our Ubuntu 22.04.2 LTS using Ruby Version Manager, often abbreviated as RVM, a software platform for Unix-like…
🌐
EDUCBA
educba.com › home › software development › software development tutorials › linux tutorial › install rvm ubuntu
Install RVM Ubuntu | Different Installation Modes Available on Ubuntu
March 1, 2023 - Install RVM Ubuntu article covers the installation process of RVM on Ubuntu and the different installation modes available.
Address   Unit no. 202, Jay Antariksh Bldg, Makwana Road, Marol, Andheri (East),, 400059, Mumbai
Find elsewhere
🌐
Centron
centron.de › startseite › how to install ruby on ubuntu 24.04 using rbenv, rvm, and apt
Install Ruby on Ubuntu 24.04 with rbenv, RVM, or APT
May 26, 2025 - Download and install RVM with the following command: ... Installing required packages: autoconf, automake, bison, libffi-dev, libgdbm-dev, libsqlite3-dev, libtool, libyaml-dev, sqlite3, libgmp-dev, libncurses-dev, libreadline-dev, libssl-dev… · Requirements installation successful. ... Although Ruby can be installed using the default APT package manager repositories in Ubuntu, be aware that this method may not provide the most recent version.
🌐
LinuxShout
linux.how2shout.com › home › how to install rvm- ruby version manager on ubuntu 20.04 lts
How to install RVM- Ruby Version Manager on Ubuntu 20.04 LTS
November 4, 2021 - Stepa and commands for installation of RVM- Ruby Version Manager on Ubuntu 20.04 LTS Focal fossa Linux using terminal
🌐
Raelcunha
raelcunha.com › 2014 › 11 › 30 › installing-rvm-on-ubuntu
Installing RVM on Ubuntu
rvm is installed into /usr/share/rvm (as Debian/Ubuntu convention);
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-ruby-on-rails-with-rvm-on-ubuntu-18-04
How To Install Ruby on Rails with RVM on Ubuntu 18.04 | DigitalOcean
July 14, 2018 - This tutorial will take you through the Ruby and Rails installation process and set up via RVM. The command-line tool RVM will let you manage and work with m…
🌐
GitHub
gist.github.com › vdw › 5093828
Install RVM on Ubuntu from scratch · GitHub
4) Run the rvm requirements command to check requirements for your system. ex.: sudo apt-get --no-install-recommends install bash curl git patch bzip2 sudo apt-get --no-install-recommends install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev 5) Run the echo "source $HOME/.rvm/scripts/rvm" >> ~/.bashrc command to load rvm as a function in your bash.
🌐
CloudSigma
blog.cloudsigma.com › home › customers › installing ruby on rails with rvm on ubuntu 20.04
Installing Ruby on Rails with RVM on Ubuntu 20.04 • CloudSigma
June 28, 2022 - This guide will demonstrate how to use RVM to establish a Ruby on Rails development environment on Ubuntu.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-install-ruby-and-set-up-a-local-programming-environment-on-ubuntu-22-04
How To Install Ruby and Set Up a Local Programming Environment on Ubuntu 22.04 | DigitalOcean
January 27, 2023 - Installing requirements for ubuntu. Updating system.... Installing required packages: gawk, libssl-dev, zlib1g-dev, libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgmp-dev, libgdbm-dev, libncurses5-dev, automake, libtool, bison, libffi-dev, libgmp-dev, libreadline6-dev.................. Requirements installation successful. Once the prerequisites are satisfied, RVM will download and install Ruby:
🌐
Stackify
stackify.com › rvm-how-to-get-started-and-manage-your-ruby-installations
RVM: How to Get Started and Manage Your Ruby Installations - Stackify
May 22, 2024 - This will add the repository containing the RVM binary and allow installation. ... This command will add the ppa:rael-gc/rvm repository to the internal list Ubuntu holds to enable installation of RVM.
🌐
UbuntuHandbook
ubuntuhandbook.org › home › howtos › how to install ruby in ubuntu 24.04 lts
How to Install Ruby in Ubuntu 24.04 LTS | UbuntuHandbook
Then, download the official script and run to install RVM: ... Run sudo apt install curl to install curl if command not found.
🌐
DreamHost
help.dreamhost.com › hc › en-us › articles › 217185247-Ruby-Version-Manager-RVM
Ruby Version Manager (RVM) – DreamHost Knowledge Base
Overview This article walks you through installing RVM as well as a custom version of Ruby and/or Rails. Background Ruby Version Manager (RVM) is a utility that allows you to add, remove, and in...
🌐
Vultr
docs.vultr.com › how-to-install-ruby-on-ubuntu-24-04
How to Install Ruby on Ubuntu 24.04 - Complete Guide | Vultr Docs
January 31, 2025 - List and install all the RVM system requirements. ... Enter your sudo user password when prompted to update the server's package index. ... Checking requirements for ubuntu. Installing requirements for ubuntu.
🌐
Medium
medium.com › @satriajanaka09 › installing-ruby-rails-with-rvm-in-ubuntu-20-04-d31808b0cea0
Installing Ruby, Rails with RVM in Ubuntu 20.04 | by Satria Janaka | Medium
August 19, 2021 - Installing Ruby, Rails with RVM in Ubuntu 20.04 First, install some dependencies for Ruby and Rails with this command in your terminal : sudo apt install curl curl -sL