FreeBSD: Perl to be removed
zmcgrew writes "From Daemon News:
"The decision was made to remove Perl from the FreeBSD -current base system [earlier story ]. Perl will be supported as a port that the user can install after the base installation, however it will no longer be required. Mark Murray put out a call to the -current mailing list asking for volunteers to port all Perl scripts in the base system to another language, such as sh or C. All critical programs are already being ported, with only a few minor ones left to be claimed." Wow..."
"The decision was made to remove Perl from the FreeBSD -current base system [earlier story ]. Perl will be supported as a port that the user can install after the base installation, however it will no longer be required. Mark Murray put out a call to the -current mailing list asking for volunteers to port all Perl scripts in the base system to another language, such as sh or C. All critical programs are already being ported, with only a few minor ones left to be claimed." Wow..."
Why are they doing this? What do they have to gain by removing Perl from the base installation?
Satanosphere.com / The dot does not count as a / syllable, d
1. As a perl user all i can say perl removal will be for the better. It will reduce the freebsd install size and will be easier to update perl ... w/o the need of symlinks & other cruft.
2. When Perl is integrated into the base system, users can either eat what they're given, or
jump through hoops to install a separate version and keep it separate. This change will
vastly improve and simplify supporting Perl on FreeBSD.
This makes a lot of sense. It seems like base installs can be pared down quite a bit. Is there any reason to have any shells installed? A web server shouldn't need them (not saying they aren't incredibly useful, but they might not be necessary).
Karma: Good (despite my invention of the Karma: sig)
Like it or not from a perl perspective, perl shouldn't be required to install the OS any more than X11, tcl, python etc should be. *nix has gotten too fat. Praised be FreeBSD for getting back to its roots! Now I can install a sane perl without having to rip the old one out by its hair.
Ever install HatRed? 240 packages later, you have a 'stripped down' *nix. Talk about losing sight of the original idea....
It's easier to keep perl up to date and apply patches for it (maintain) if there are no critical system pieces that depend on it. Perl was never considered 'standard' and shouldn't be installed on systems that don't need or use it. Of course many people who live/breathe/eat perl are going to be surprised, but this is good for them.
-Adam
It seems that although they remove a really useful program, it does mean that the Core group and committers will have more control of everything that goes into installing and operating the system.
I suppose that some may complain because they are so used to the Windows style bloat ware where someone else makes the choices for you. Ex: Windows Media Player, I prefer Quicktime. Plus I prefer Python over Perl. But not to get into some religious war, it's nice to see that FreeBSD will leave the choice to us. After all, someone who is going to the trouble of installing FreeBSD will probably want to roll it exactly the way they want. Besides, someone can always put an ISO together will some version of Perl and other goodies.
I just installed NetBSD 1.5 last week and Perl was not included in the base distribution set. I had to install a separate port package.
cpeterso
This has been discussed on Permonks
You can also read the discussion that led to this here
tstock
Not only is it more up-to-date, more easily upgraded, and able to get as bloated as Perl demands, it also includes the excellent BSDPAN.
/usr/pkg, makes them LOCALBASE clean, \o/
BSDPAN allows you to install CPAN modules and manage them like any other package (pkg_info, pkg_delete, etc), and for weenies like me who set LOCALBASE to
/usr/ports/lang/perl5 is not just there for completeness. Even if you have Perl installed from base, chances are anyone even remotely interested in Perl will want to replace it with the port anyway.
Now, if only we can convince core to remove sendmail...
so when is perl going to ripped out of the default OpenBSD install?
Or there's sh, which you can fix instantly, but you have to learn yet another toy syntax, a syntax that is highly restrictive when it comes to real programming work.
And what is the justification for this? So it'll fit better on ancient, obsolete harware. Great, my sysadmins will piss away thousands of dollars in labor (and possibly millions in downtime) dealing with shitty languages, because it will save the hundreds of dollars it would cost to replace that old 486 router.
Equally idiotic are the arguments that using Perl for the core makes it difficult to upgrade Perl. That's because they should be different Perls. For core system stuff, there should be /usr/bin/system-perl, an old, stable, stripped-down Perl that rarely changes. Applications should use /usr/bin/perl, which can be upgraded as needed to make the latest apps run.
Morons. Hardware cost is almost always irrelevant. Dependency conflicts almost always mean you need to fork. But no, we have to change the admins to suit the machine...
-- ;-)
Kuro5hin.org: where the good times never end.
I couldn't stand the obsolete perl 5.005 which was on the base system... once you install 5.6.1, things can mess up pretty quickly if you don't take care to separate things... not to say that you have to convince sysadmins...
... one day...
The worse is that the perl5 base would install obsolete modules, like cgi.pm.... and now if you install the cgi perl port, you have to either remove the original cgi.pm (will break at the next make installword) or tweak PERL5LIB to insert the path to the new modules before the others.... thanks god all that pain in the . will be gone
It seems pretty nice. Smaller installation is good. I think most people believe this is a good choice.
But he was unmoved, and cried: "If I am mad, it is mercy! May the gods pity the man who in his callousness can remain sa
Perl is great, but its not essential. Its not a part of the operating system and should NOT be a mandatory install.
social sciences can never use experience to verify their statemen
Now all my old scripts will break. It wasn't until about a year ago that I started using "#!/usr/bin/env perl" instead of "#!/usr/bin/perl". Are they expecting me to symlink, or what?
I bitched and moaned about the size of base-install on the security mailing list; I got a lot of people with me, including, but not limited to, JKH.
The biggest reason is the fact that it breaks stuff, if you need another version of perl you have to know your system to get your box running without a hitch.
For me, the reason however was founded on security, I was tired of having to write csh-scripts to strip my system from potential security holes; including Sendmail and Perl.
It is a lot easier to secure a firewall that only has a kernel, cshell and not mcu else than the mastodont it was by default.
I run NetBSD on that box now, but anyway, good to see it as I use FreeBSD on my laptop.
Kind regards,
Da
Yeah, you get your choice of C or sh, which are bletcherous languages for system administration.
Shows how much YOU know.
Microsoft has made C Sharp run on FreeBSD.
And you can have csh, zsh, ksh OS sh as a shell.
Odds are web based adminstration is about all you can handle. (and that too is an option on FreeBSD)
That way you can have more than one version installed, and symlink /app/perl (ie. current) to /app/perl-x.y.z
What's wrong with /usr/local/perl -> /usr/local/perl-x.y.z ?
Karma: Good (despite my invention of the Karma: sig)
expecting you to keep using env and to take the 4 minutes to install a package that will provide perl.
Honestly, the world is so full of the lazy and surly. Mmmm, teamsters.
It's funny! It really brings home the phrase "Being your own worst enemy"...
When I added Perl to FreeBSD pre 2.0 (This was right after the nasty little letters from USL), Perl was at 4.036 and SMALL.
It has now gotten so bloated I can't belive it! I still use and love Perl, but do we really need all of the modules included? I thought that was what CPAN was for.
BWP
(Yes, I am the one that added Perl to FreeBSD. I also can be thanked for other things such as the "GPLed" math emulator (it is not!), sun libm, the broken mitsumi CD-ROM driver of 1.0 and the original FAQ. For those that doubt me, contact me via email...:))
Explain why they persist in allowing fools such as youself, who are so very easily trolled, to post responses. If anything, you should consider posting AC yourself, just to avoid having the humiliation of being gullible and dim witted associated with your name.
Of course, you may be so dim witted that you don't realize how foolish you look. Sigh. You're further evidence that the human race is going down the shitter.
I've been trying open source OS's for a while. I would love to see the day when you have a core OS install CD and the only utility that comes with it is the "Download new Packages" program. Sincerely I find that the amount of Beta programs you get when installing a new OS really bites. We should have the choice of which stable release we want rather then the latest that a group of people choose. my 2 cents.
The singular is millenium