Jump to content

Open Club  ·  60 members

DASM
IGNORED

Installing DASM


flynn1970

Recommended Posts

We are trying, have been trying for 2 weeks, to install DASM for this Udemy Class he is taking. I have noticed that with changes to the package the instruction set in the course seems outdated.

 

Right now I am at the point that I have re-re-redownloaded the package, ran 'make' and 'make test'. then I 'cd' to the directory/file I created for it's location and run 'dasm' in CLI. When I do I get a 'dasm: coomand not found' return. 

 

I am installing it in Debian Buster.

 

Any suggestions on where I screwed it up, or how to proceed??

Link to comment
Share on other sites

By default the current directory is NOT part of the search path in Linux for executables.  To tell it to run something in the current directory you need to use ./ before the program, as in:

 

./dasm

 

 

  • Like 1
Link to comment
Share on other sites

Give this a shot in a term window...

cd /tmp
wget https://github.com/dasm-assembler/dasm/releases/download/2.20.13/dasm-2.20.13-linux-x64.tar.gz
tar -xvzf dasm-2.20.13-linux-x64.tar.gz
sudo cp dasm /usr/local/bin/

...if that goes without error, dasm should be in path, and you'll be able to run the "dasm" command from anywhere.

 

If you find wget isn't installed yet on your system, do a "sudo apt-get install wget".

Link to comment
Share on other sites

@Draconian, I tried that with each install and with any changes. It comes back with same error.

 

@Space Cowboy, except for the 'cd /tmp' command that is pretty much the same code as in the course. He used the .zip file and extracted it, I tried both and still get the same results.

 

I have even tried entering it into the $PATH in '/etc/profile' and nothing....

 

Crap!!!

 

Just tried SC's suggestion on my Arch install on another machine and it freaking worked....ok...gonna try it this way on the other machine...also I think I noticed why the 'instructor's' code didn't work. He changed the whole filename to 'dasm' after the extraction and 'cp'd' that instead of just the 'dasm' file contained in the tarball.....crap!!!

 

Thanks so much guys!!!! If it don't work on the other machine he'll just have to finish up on my machine.!!!!

 

Link to comment
Share on other sites

I have spent years trying to find something my son would latch onto. This is his Junior year in highschool and I decided to add this course to the last semester and we hit this snag..hopefully, now that this is cleared he will get into it!!! Thanks again!!!

Edited by flynn1970
typo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...