copy /bin/perl to /opt/bin/perl. What all things to consider while copying?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thing is, at my organization, we maintain GNU tools at 2 locations. (example /bin /opt/bin). At one location, tools are standardized that all the users will be using it and, at other, testing takes place whether tool can be deployed in production.
I am asked to copy existing tool from one (testing) location to other (production).
Thank you,
Last edited by rohit.dhaval1; 02-20-2011 at 02:54 PM.
perl comes w/ a host of libs and modules, and a fairly complex
directory structure. Simply copying the executable won't do
you much good. What distro are you using? I'd go and grab a
perl source package for that distro, modify the configuration
to point to something under /opt, and tackle it that way.
perl comes w/ a host of libs and modules, and a fairly complex
directory structure. Simply copying the executable won't do
you much good. What distro are you using? I'd go and grab a
perl source package for that distro, modify the configuration
to point to something under /opt, and tackle it that way.
Cheers,
Tink
Thanks sir, (Tinkster)
I have compiled and deployed perl many a times in different distros. I thought, Could it not be copied?
Thanks for you help. I think, I got the answer I needed.
I will have to deploy every GNU tool separately to each directory, (/bin and /opt/bin). I guess, it as well holds good for all customized binary codes (Non GNU) written and deployed.
Last edited by rohit.dhaval1; 02-20-2011 at 04:07 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.