Hi,
I was able to install ruby 2.7 with
sudo dnf module install ruby:2.7/default
Now I would like to install ruby-devel 2.7. Is there an easy way to do it?
Hi,
I was able to install ruby 2.7 with
sudo dnf module install ruby:2.7/default
Now I would like to install ruby-devel 2.7. Is there an easy way to do it?
Here is a link to the general procedure for researching and installing a specific version of a package;
I suppose thereās a good reason you specifically want ruby 2.7. The normal version for F34 is currently 3.0.2. Unless Iām in need of a specific version, I just
sudo dnf install ruby ruby-devel
and a collection of other libraries Iāll need for the gems I commonly use.
Take a look at the docs:
https://docs.fedoraproject.org/en-US/modularity/installing-modules/
Should be a similar command (but I havenāt used modules in ages so I canāt tell you what it should exactly be).
@ankursinha I believe Davide has the procedure down for installing the ruby module, but heās searching for how to add the specific package ruby-devel. For many modules, he might have chosen a profile that included development packages. The ruby module only comes with a ādefaultā profile, so thereās little else to do with the modular installation.
However, good news. @davidel, you can list the contents of the installed module using
dnf module info ruby
With your module install, you get all the packages listed to be part of that module. And youāll find that ruby-devel is indeed already there.
Cheers!
that doc page has a section on installing packages as well:
https://docs.fedoraproject.org/en-US/modularity/installing-modules/#_installing_packages
(the page is just called āinstalling modulesā)
Thanks everyone! ruby-devel in indeed installed with the ruby 2.7 module.