Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: unintstall and Install Perl linux

by dsheroh (Monsignor)
on Jul 21, 2018 at 08:55 UTC ( [id://1218997]=note: print w/replies, xml ) Need Help??


in reply to unintstall and Install Perl linux

You don't want to do that.

You really, really don't want to do that.

Many components of your operating system rely on /usr/bin/perl being there, and some of them rely on it being a specific version of Perl (or at least haven't been tested with any other version) and possibly also require it to be built with certain options. If you remove it, you will almost certainly break your OS badly enough that it may not be possible to recover, short of reinstalling the OS from scratch.

Now, if you want to install an additional version of Perl, then that's perfectly fine - many people even recommend this as a Best Practice because it insulates you from changes to the system perl and allows you to run a newer version of Perl if you so choose. If you really wanted to, you could even install every existing version of Perl on your machine at the same time and run them all side-by-side with no problems. But leave /usr/bin/perl and your distribution's perl package alone.

Replies are listed 'Best First'.
Re^2: unintstall and Install Perl linux
by bliako (Monsignor) on Jul 21, 2018 at 10:51 UTC

    additional to the warnings by the other monks, which i agree 100%, I will highlight another danger larking for your system: even if you don't touch the system perl but upgrade a specific module which it uses it may break things. So, spend some 5 minutes in investigating perlbrew it will help you manage many versions of perl including installing new modules and leave the system perl alone. You will even forget it is there...

Re^2: unintstall and Install Perl linux
by tobyink (Canon) on Jul 21, 2018 at 14:27 UTC

    In particular, the RPM system (which yum is built on) is partly written in Perl.

Re^2: unintstall and Install Perl linux
by yaklichk0719 (Acolyte) on Jul 21, 2018 at 19:09 UTC
    Thank you so much!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1218997]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-04-18 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found