I'm fairly new to linux(ubuntu 10.04) and a total novice to assembler. I was following some tutorials and I couldn't find anything specific to linux.
So, my question is, what is a good package to compile/run assembler and what are the command line commands to compile/run for that package?
The GNU assembler (gas) and NASM are both good choices. However, they have some differences, the big one being the order you put operations and their operands.
gas uses AT&T syntax:
mnemonic source, destination
nasm uses intel style:
mnemonic destination, source
Either one will probably do what you need.
Try out this tutorial: http://asm.sourceforge.net/intro/Assembly-Intro.html