Sunday, May 5, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 889  / 3 Years ago, thu, may 6, 2021, 8:03:46

As soon as I startup the terminal (Ubuntu 12.04 LTS), I get the error message:



bash: export: `/lib/perl5/site_perl/5.14.2/': not a valid identifier


I am not really familiar with Linux yet. How do I rectify this?



EDIT:



if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion

fi

export PATH=$PATH/usr/lib/lightdm/lightdm/usr/local/sbin/usr/local/bin/usr/sbin$

export PATH=/usr/lib/lightdm/lightdm/usr/local/sbin/usr/local/bin/usr/sbin/usr/$

export PATH=$PATH:/home/lib-11/Downloads/randfold-2.0/randfold

export PERL5LIB=PERL5LIB:/home/lib-11/Downloads/mirdeep2 /lib/perl5/site_perl/5$

export PATH=$PATH:/home/lib-11/Downloads/mirdeep2


mirdeep2 and randfold are executables that I wanted to run.


More From » command-line

 Answers
2

I guess it is because of the space in the line export PERL5LIB=PERL5LIB:/home/lib-11/Downloads/mirdeep2 /lib/perl5/site_perl/5$ (Notice the space between mirdeep2 and /lib/perl5)



It should be export PERL5LIB=PERL5LIB:/home/lib-11/Downloads/mirdeep2/lib/perl5/site_perl/5$ (Without space)


[#24229] Friday, May 7, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tonhorn

Total Points: 196
Total Questions: 118
Total Answers: 95

Location: Vanuatu
Member since Fri, May 13, 2022
2 Years ago
;