Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall a module in Perl 6?

Tags:

raku

I have two modules installed:

Cro::HTTP:ver<0.7.4>
Cro::HTTP:ver<0.7.5>

And I want to keep 0.7.5 only. Don't know how to uninstall the lower version one.

like image 339
chenyf Avatar asked May 10 '18 09:05

chenyf


People also ask

How do I uninstall a Perl module in Linux?

Use perl module manager to install perl modules and all dependent modules,Uninstall perl modules,List all perl modules in system,Search for a perl module in cpan.org and system,List all files of a perl module and Details of a perl module. > Try perl module manager to install and uninstall perl module.

How do I know what cpan modules are installed?

Method #1: instmodsh (Debian and friends) Sample outputs: Available commands are: l - List all installed modules m - Select a module q - Quit the program cmd?

How do Perl modules work?

The perl1 compiler (yes, there is a compiler although it's interpreted language) loads files, compiles them, then switches to run time to run the compiled code. When it encounters a new file to load, it switches back to compile time, compiles the new code, and so on. To load a module at compile time, you use it.


1 Answers

Try this:

zef uninstall "Cro::HTTP:ver<0.7.4>"

(The quotes are important.)

like image 185
nxadm Avatar answered Oct 20 '22 13:10

nxadm