Quantcast
Viewing all articles
Browse latest Browse all 2

Install perl to /usr/local/bin

Is it possible to install perl to /usr/local/bin without full sudo permissions namely only sudo apt install ... being allowed.

I have a DVD with a software, using /usr/local/bin/perl in shebang, variables, paths etc. Yet on my machine perl is in /usr/bin .

I am not admin on my machine. I asked IT to to create copy or link to perl file ( sudo ln -s /usr/bin/perl /usr/local/bin/perl) yet it might take time. Is there other way? I have no admin/sudo permissions but allowed to install soft using standard package manager apt .

Perl 5.22 but close version would probably do, Ubuntu 16.04

Update 1. As recommended in answers I run a replace on a copy of the soft. I though installed and used designated text replacement command rpl. Still curios are there other solution e.g. is it possible to compile perl into .deb package that I can installs into desired folder with apt install.

Update 2. IT helpdesk created links for me, can run scripts now.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>