Learn more about these different git repos.
Other Git URLs
I installed ruby module by dnf module install ....
dnf module install ...
$ sudo dnf module install ruby:2.6/default
Then want to remove (uninstall) the ruby module.
$ sudo dnf module remove ruby Error: Cannot enable more streams from module 'ruby' at the same time $ sudo dnf module remove ruby:2.6 Unable to match profile in argument ruby:2.6 $ sudo dnf module remove ruby:2.6/profile Unable to match profile in argument ruby:2.6/profile
How to uninstall it? Still there is a ruby module instead of ruby on local.
$ rpm -q ruby ruby-2.6.2-119.module_f30+3838+0c262d71.x86_64 $ rpm -qf /usr/bin/ruby-mri ruby-2.6.2-119.module_f30+3838+0c262d71.x86_64
ruby module is not included in the enabled module list.
$ sudo dnf module list | grep ruby ruby master default An interpreter of object-oriented scripting language ruby master default An interpreter of object-oriented scripting language ruby 2.6 default An interpreter of object-oriented scripting language
$ dnf module list --installed
=> empty
https://dnf.readthedocs.io/en/latest/command_ref.html?highlight=module#module-command-label
dnf [options] module remove <module-spec>... Remove installed module profiles incl. their RPMs. In case no profile was provided, all installed profiles get removed.
Following above document, I think "sudo dnf module remove ruby" should work to remove. But there is an error message.
$ sudo dnf module remove ruby Error: Cannot enable more streams from module 'ruby' at the same time $ rpm -q ruby ruby-2.6.2-119.module_f30+3838+0c262d71.x86_64
I could uninstall the ruby module by dnf downgrade. But is it a right workflow?
dnf downgrade
$ rpm -q ruby ruby-2.6.2-119.module_f30+3838+0c262d71.x86_64 $ sudo dnf downgrade ruby $ rpm -q ruby ruby-2.6.2-118.fc30.x86_64
I think Ubuntu's snap has similar command line interface. The workflow is intuitive for me.
The Fedora module could be like this?
https://tutorials.ubuntu.com/tutorial/basic-snap-usage#2
$ snap find hello hello-node-snap 1.0.2 bhdouglass - A simple hello world command hello-mdeslaur 2.10 mdeslaur - GNU Hello, the "hello world" snap hello-snap 0.01 muhammad - GNU hello-snap, the "Hello, Snap!" snap hello 2.10 canonical - GNU Hello, the "hello world" snap hello-world 6.3 canonical - The 'hello-world' of snaps hello-sergiusens 1.0 sergiusens - hello world example hello-gabriell 0.1 gabriell - Qt Hello World example hello-bluet 0.1 bluet - Qt Hello World example so-hello-world 0.2 shadowen - the old classic hello-huge 1.0 noise - a really big snap
$ sudo snap install hello
https://tutorials.ubuntu.com/tutorial/basic-snap-usage#3
$ sudo snap remove hello-world
I mean can we do like this?
To install a module
$ sudo dnf module install ruby
To uninstall a module,
$ sudo dnf module remove ruby
Since this is quite old and many things have changed, I'm just closing it. If this issue still exist, please report it to DNF.
Metadata Update from @asamalik: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)
The latest statuses about this issue are
Login to comment on this ticket.