Gem Installation On A Debian, Ubuntu, Arch, Kali, CentOS, Fedora And Raspbian
Install gem
-
Debian
apt-get install rubygemsClick to copy -
Ubuntu
apt-get install rubygemsClick to copy -
Arch Linux
pacman -S rubygemsClick to copy -
Kali Linux
apt-get install rubygemsClick to copy -
CentOS
yum install rubygemsClick to copy -
Fedora
dnf install rubygemsClick to copy -
Raspbian
apt-get install rubygemsClick to copy
Interact with the package manager for the Ruby programming language.
How to use gem?
Below are few example commands for gem that you can use in the terminal.
Install latest version of a gem:gem install gemnameClick to copyInstall specific version of a gem:gem install gemname -v 1.0.0Click to copyUpdate a gem:gem update gemnameClick to copyList all gems:gem listClick to copyUninstall a gem:gem uninstall gemnameClick to copy
To install the latest version of gem in your favorite operating system just copy the gem installation command from above and paste it into terminal. It will download and install the latest version of gem 2026 package in your OS.




