Unable to extract .sh file - linux

I am new to Linux and I am trying to install MiniConda3 on an old 32bit machine running Linux Mint19. But I keep getting the following error:
Miniconda3-latest-Linux-x86.sh: line 358: 2191 Illegal instruction
(core dumped) "$PREFIX/pkgs/python-3.7.0-hc3d631a_0/bin/python" -E -s
"$PREFIX"/pkgs/.install.py $INST_OPT --root-prefix="$PREFIX" --link-dist="$1"
Is this a permissions thing or a compatibility issue?
Thanks for any help provided

Related

Miniconda installation error on Linux and aarch64

I’m trying to install Miniconda on a debian linux, running on Arm Cortex A-53.
I’ve downloaded Miniconda3-latest-Linux-aarch64.sh, and now trying to install using
bash Miniconda3-latest-Linux-aarch64.sh
Getting the following error:
[/home/analog/miniconda3] >>>
PREFIX=/home/analog/miniconda3
Unpacking payload …
Miniconda3-latest-Linux-aarch64.sh: line 406: /home/analog/miniconda3/conda.exe: No such file or directory
Miniconda3-latest-Linux-aarch64.sh: line 409: /home/analog/miniconda3/preconda.tar.bz2: No such file or directory
Any ideas?
It’s strange that there is a conda.exe involved on a linux…
Additional Info
Tried running as root - same behavior.
Trying to install full Anaconda - same behavior.
Sanity Check:
Running uname -m returns "aarch64"
Checking the created directory with ls -l confirms that there is a conda.exe file present there.

mpicxx: Command not found

I am very new to linux. I am trying to build lammps open source software with user defined modules that require to build mpi executable on opensuse leap 15.1.
lammps - https://lammps.sandia.gov/doc/Build_make.html
It showed an error: mpicxx xommand not found.
after searching i did "sudo zypper in gcc-c++" and tried again.
same error
so I did "export PATH=$PATH:/usr/lib64/mpi/gcc/openmpi/bin"
and make mpi was successful and it built lmp_mpi executable but when i tried to run with lmp_mpi it showed following error:
error while loading shared libraries: libmpi_cxx.so.1: cannot open shared object file: No such file
so I wrote "export PATH=$PATH:/usr/lib64/mpi/gcc/openmpi/bin" in my bashrc file and ran again make mpi and tried again same error is shown.
I tried by installing mpich2 with yast same error is shown.
Then I tried by installing openmpi as shown here http://edu.itp.phys.ethz.ch/hs12/programming_techniques/openmpi.pdf
When I tried to build mpi again same error "mpicxx: Command not found error" and also when I open terminal following lines are written already.
bash: /home/surya/.bashrc: line 1: syntax error near unexpected token newline'
bash: /home/surya/.bashrc: line 1:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/opt/openmpi/lib >'
Someone please help me I have been trying this for long time.
Thanks for the suggestions.

python niftynet illegal instruction core dumped

I am trying the Quickstart commands on niftynet's website.
As I run
net_download dense_vnet_abdominal_ct_model_zoo
I get Illegal instruction (core dumped).
Does someone have a solution?
Thanks.
check your permission as miniconda is an installation in the root or other users.

Archlinux ARM: Error: failed to init transaction (unable to lock database)

So i am new to arch linux and i am following a guide to get KDE plasma installed, so i've go going along through this script and now all of a sudden i get the following error:
Archlinux ARM: Error: failed to init transaction (unable to lock database)
error: could not lock database: read-only file system
and the command i am using is:
pacman -S kf5 kf5-aids
Now from the fact that i know how to read i see that the second error states that all files are currently read only. What i want to know is how or what would have caused that to happen and how to fix my all round issue.
Do you have root privileges?
Try sudoing:
# sudo pacman -S kf5 kf5-aids
If you haven't installed (and configured) sudo, just log in as root:
# su -
And execute the command under the new user.

cygwin occures an error :"Segmentation fault (core dumped)", when running GIZA++

I've ran GIZA++ on cygwin but it had an error "Segmentation fault (core dumped)". i cann't find any config file. Please help me, how can I fix it.
I had the same issue and could fix it by defining the environment variable USER. Either set in in your system properties, or in a cygwin bash shell execute:
export USER=Anything
GIZA++ appends the username to the output files.

Resources