Error showing in Terminal "-bash: name: command not found" - nasm

the file is unable to assemble in macos terminal
Macbooks-MacBook-Air:Desktop macbook$ cd ~/Desktop
Macbooks-MacBook-Air:Desktop macbook$ nasm -f macho h1.asm

Do you have installed?
nasm for mac os
How to do this: How to install a specific version of NASM on MacOS
After that check it:
which nasm

Related

exec: : not found - error while installing python3 with homebrew on pop os linux

i was trying to install python3 on pop os! linux through homebrew
this is the erorr i faced :
file:///home/hawkeye/.linuxbrew/Library/brew.sh: line 177: exec: : not found
pls help
first check if ruby istalled or not
which -a ruby
if not then run
sudo apt install ruby-full
If that doesn't help then try these commands
1. export PATH=$HOME/.linuxbrew/bin:$PATH
2. hash -r

Linux Busybox GDB installation Error "rerun with a POSIX shell"

I am new to linux. My device is running busybox linux. I am trying to install gdb on it so I can live debug the crash. I was following the instructions below for installation.
http://www.gdbtutorial.com/tutorial/how-install-gdb
The first method uses the command below. But my busybox doesn't even have apt-get built in... Searched /bin and /usr/bin folder, doesn't exsit.
$ sudo apt-get install gdb
Then I followed the second method of "Download source code of GDB, compile it and install."
$ wget "http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.gz"
$ tar -xvzf gdb-7.11.tar.gz
$ cd gdb-7.11
gdb-7.11$ ./configure
But when I ran ./configure, I got the error below:
~/gdb-7.11# ./configure
sed: write error
configure: error: cannot create configure.lineno; rerun with a POSIX shell

Why does cygwin use Visaul Studio BuildTools instead of gcc?

First of all I am very new to cygwin and I didn't find similar question
It was pointed out that to install Python lib hdt that contains c++ code it is necessary to use Cygwin because some headers exist only in Posix.
Trying to install the lib earlier I installed MS BuildTools. When I tried to install the lib without Cygwin on Windows it was an error
BitSequence.cpp
hdt-cpp-1.3.3/libcds/include/libcdsBasics.h(27): fatal error C1083: ЌҐ г¤ Ґв
бп ®вЄалвм д ©« ўЄ«о祭ЁҐ: sys/resource.h: No such file or directory,
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Buil
dTools\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX86\\x64\\cl.exe' failed with exi
t status 2
The error is from C:\Program Files (x86)\Microsoft Visual Studio
And I've find out that there is no way to avoid the error on Windows, and in won't be the error on Linux or using Cygwin.
Now I try to install Python lib in Cygwin. I do the same in Cygwin terminal (pip install hdt) and get the same error from Visual Studio.
Why doesn't Cygwin use gcc? I think that's a point of Cygwin usage. Of course if it uses VS it gets the same error.
I bet you are NOT using the cygwin Python and using instead a windows Version:
$ which pip
which: no pip in (/home/Marco/bin:/usr/local/bin:/usr/bin:/usr/lib/lapack:/usr/sbin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/d/utility)
$ which pip2
/usr/bin/pip2
$ which pip3
/usr/bin/pip3
Verify you have installed a Cygwin Python,
$ cygcheck -cd |grep "python3. "
python3 3.8.3-1
python36 3.6.10-1
python37 3.7.7-1
python38 3.8.3-1
$ cygcheck -cd |grep "python2. "
python2 2.7.18-1
python27 2.7.18-1
and try again with EG
Usage:
/usr/bin/python3.6 -m pip <command> [options]
/usr/bin/python3.6 -m pip install hdt

how to install a .rpm file on Intel Edison?

Hi I am new to Linux and I am trying to install a .rpm file on an Intel Edison but I can't find a way to install it, I have tried:
rpm -i filename.rpm
With this command I get the error "Failed dependencies: /bin/bash is needed", "/bin/sh is needed" and some more, both of thise files exist. This is also the result with all other commands that tries to install the file.
further information the Linux is based on Yocto, and from what I understand there is no command like "apt-get".
So my question is, how to install a .rpm file on an Intel Edison?
Although I have only worked with Galileo, they share a lot of tricks with the Edison family of boards:
To install additional packages (a la apt-get), try the opkg command. If not available, try updating your system image.
If you do have bash and or sh, symlink them to the needed folder:
$ which bash will give you the location of bash, /usr/bin/bash, for example.
Take that folder, and add a symlink: ln -s /usr/bin/bash /bin/bash. Remember to replace /usr/bin/bash with the output of the previous command.
Edison is dual core atom, I would suggest you to put CentOS on it and then try to install a rpm on it.

Quartus 13.1 installer giving segmentation fault (core dumped)

I'm trying to install Quartus 13.1 on my Xubuntu 14.04 64-bit edition. The downloaded file is a .run installer, which I make executable by executing:
sudo chmod +x installer.run
./installer
Which gives a segmentation fault (core dumped) message.
I'm posting here because the Altera forums are useless, unfortunately.
Have you try to install these packages ?
sudo apt-get install libstdc++5 libmotif4 libxp6 libcurl3
And lauching it with bash command directly :
$ bash installer

Resources