How to use brewperl for installing applications on Ubuntu - linux

I am use Ubuntu 14.04 LTS with Perl 5 (v5.18.2), but for new versions of rxvt and surf I need Perl v5.20+.
As solution I found perlbrew and install Perl v5.20, found .deb with rxvt, but anyway cannot install, because it use system Perl.
My question is how to install applications on Linux with Perl dependency and do not break internal compatibility of Linux Core?

for new versions of rxvt and surf I need Perl v5.20+.
That's not true.
rxvt 2.7.10 uses a Perl script will work even with 15 year-old 5.6.
surf 1.0.6 doesn't use Perl at all (assuming you mean this project).
Were you to try to install these from source, it wouldn't matter at all what Perl you had available.
Instead, you appear to be trying to install packages built for a system other than yours. To install the rxvt and surf packages you have, you need to have version 5.20 of the distributor's perl package. No matter how many version of perl you install, you'll never satisfy that requirement.
You can't install those packages. You'll need packages appropriate for your system, or you'll need to install the libraries from source.

Related

Which packages should I install on Cygwin to use simpleScalar - Alpha configuration?

I already installed the following packages version 4.3-1, gcc-core version 11.3.0-1, gcc-g++ version 11.3.0-1. However, when I run the make command after running the make config-alpha command, I get several errors on the screen. I already tried to install other versions of these packages but I still get the same results.errors that I got
Which other additional package should I install?
Assuming that SimpleScalar is the one here:
https://www.es.ele.tue.nl/~yhe/aca/Simplescalar_Download.html
the packaging is ancient (gcc gcc-2.7.2.3) and its manually crafted configure is not considering any recent platforms.
It seems very hard to adjust to a Cygwin build and you can not use the GCC Cygwin compiler for a cross build of a Alpha platform

It's best practice to use nvm or the node form the package manager?

I use nodejs which I install using nvm on Debian distro before however I recently change my distro for fedora to do development work, now I know that fedora is a fast moving distro, so it come with very recent version of software and in my case recent node version.I was wondering, what do you use to install node the package manager dnf or the nvm ? Thank you.
Using nvm instead of the package manager of any Linux distribution adds compatibility between different Linux distributions and even MacOS and Windows. In general, it is best to use nvm.

how to update make 3.81 linux

I am new to Linux (new as in installed it yesterday), I need it for my programming course in the university and I've been told to install specific versions of specific programs, but though I've used apt-get install to install them (having previously done apt-get update) they aren't in the correct version.
The programs that I need are make 4.0 and valgrind 3.10.1.
apt-get installs make 3.81 and valgrind 3.10.0.SVN.
I have tried typing "apt-get install make4.0" and "apt-get install valgrind10.3.1" to no avail. I have downloaded them from the internet and followed what instructions I could understand to install the newer versions but it keeps saying that I have the older ones. (I'm not sure if I can post direct links here, if I can let me know and I'll post where I got them from).
What have I been doing wrong? How can I fix this?
I am currently running Linux Mint.
Thanks for any answer in advance.
Due to a long-standing unresolved Debian bug report, GNU Make remained the age-old 3.81 in Debian for a very long time, and as a consequence, in Debian-based distributions such as Ubuntu and Mint.
The latest Debian release, Jessie, has upgraded to 4.0, so Debian-based distributions will have that upgrade. However, it is better to use 4.1.
This has been discussed many times on the GNU Make mailing list and elsewhere.
So to get a newer version, you must compile it from scratch.
This is easy:
Install the required packages (gcc, make and such).
Open up a shell (if you're using the GUI, a terminal window).
Type the following commands (or something equivalent, e.g. you can use curl instead of wget):
cd /tmp
wget http://ftp.gnu.org/gnu/make/make-4.1.tar.gz
tar xvf make-4.1.tar.gz
cd make-4.1/
./configure
make
sudo make install
cd ..
rm -rf make-4.1.tar.gz make-4.1
Now, make 4.1 is in /usr/local/bin/make.
You can verify it is there with whereis make.
You can make it your default make by prefixing /usr/local/bin to your $PATH variable in your shell startup file; for instance, in .profile or .bashrc if you use the bash shell.
Don't try to install a self-compiled make (or anything else that doesn't come from the distribution's package manager) into /bin or /usr/bin; doing that will confuse your package manager.

Attempt to free unreferenced scalar: SV 0x16dac960, Perl interpreter: 0x16a9c010 Bugzilla Installation

Hi I am trying to install bugzilla in my dedicated server with perl version 5.8.8. After installing necessary modules.
I tried to install "DBD-Pg" module via "perl install-module.pl DBD-Pg" command.
When I ran the above command I am getting the following error
Attempt to free unreferenced scalar: SV 0x16dac960, Perl interpreter: 0x16a9c010
at /server_path/support/httpdocs/Bugzilla/Install/Util.pm line 20.
Afterwards I try install other modules, but the result is same. How can I resolve this issue. I cannot uninstall perl, because if I do that it will impact my production site. I have zero knowledge on perl. Please suggest.
I've never seen this "install-module.pl" before.
Usually you'd use either CPAN or the packages from your OS to install perl modules.
Debian systems (like ubuntu) can do
apt-get install libdbd-pg-perl
Red-hat systems (like centos and suse) should be
yum install perl-DBD-Pg
Or simply use "CPAN".
cpan -i DBD::Pg

How to create installer for linux mint

I have created rpm for my software which works fine for fedora. But this fails whenever I want to install the same in linux mint. because linux mint supprts .deb file for installation. So I want to create installer package for my software which will be compatible in linux mint.
Check out the program alien, which allows you to manipulate foreign packages on a linux distro. Note that this is fine for installing simple packages, but you should build the package from source if you intend to distribute to a large audience.
Another great tool at your disposal for this would be fpm. It allows to create several different package types from many different things, like rpm's. It currently works with the following:
Sources:
gem (even autodownloaded for you)
python modules (autodownload for you)
pear (also downloads for you)
directories
tar(.gz) archives
rpm
deb
node packages (npm)
Targets:
deb
rpm
solaris
tar
directories
Mac OS X .pkg files (osxpkg)
You can find it here: https://github.com/jordansissel/fpm
you can use alien if you want and that's the recommended way to do it actually, but you can install it with rpm too. just install rpm:sudo apt-get install rpm then run sudo rpm -i package_name

Resources