LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2010, 01:00 PM   #1
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Rep: Reputation: 15
How do I install NASM?


I just installed Linux ver.6.2 to my Ps3. I downloaded the nasm2.07 and I went to the terminal to try and install it but it won't work. I used "rpm -ivh nasm2.07 and it says there is no such file. I've been reading from site after site for a week now and havn't found any help.My main goal is to get my zsnes collection to work on my PS3 but the terminal said I need NASM.I saw the question for Suze but i'm using a different program. Can anyone help me?
 
Old 01-31-2010, 01:10 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
You need to specify the exact filename when using rpm. It is probably something like nasm-2.07-foo.rpm
What is the output of:
Code:
ls
You can try to use shell globing to automatically expand the filename
Code:
rpm -ivh nasm2.07*.rpm
Evo2.
 
Old 01-31-2010, 02:02 PM   #3
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
Hello Evo2,
I got the download from softpedia. the file name downloaded is"nasm2.07.tar.gz".I saw a site where there is a command to "untar" a file. I tried it and it won't work. The global didn't work either. Is it because it is a 'gz' file?

Last edited by Lordrahl3000; 01-31-2010 at 02:34 PM.
 
Old 01-31-2010, 02:07 PM   #4
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
when I used the 'ls' it came up as"Desktop Pics SNES ROMs Collection (U)
Music PSP_MediaGo11.iso src
nasm-2.07 snes9x-1.51-src-gtk-77.tar.bz2 zsnes_1_51
 
Old 01-31-2010, 02:21 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
The rpm comamnd will install rpm package files. These files have the extension ".rpm". It seems that what you downloaded is not an rpm file. Where did you download it from? Where there any instructions? Also can you please run the following two commands so that we can find out what that file actually is?

Code:
file nasm-2.07
ls -F nasm-2.07
Evo2.
 
Old 01-31-2010, 02:29 PM   #6
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
Hello Evo2,
Thankyou for your help.
I entered file nasm2.07 and it said cannot open file. Then entered the second command and got

[lordrahl3000@DreamMachine ~]$ ls -F nasm-2.07
aclocal.m4 float.h LICENSE ndisasm.c rdoff/ tables.h
assemble.c hashtbl.c listing.c output/ README test/
assemble.h hashtbl.h listing.h parser.c regdis.c TODO
AUTHORS headers/ macros/ parser.h regdis.h tokens.dat
autogen.sh* insnsa.c macros.c perllib/ regflags.c tokens.h
ChangeLog insnsb.c macros.pl* phash.pl* regs.c tokhash.c
CHANGES insns.dat Makefile.in pptok.c regs.dat tokhash.pl*
compiler.h insnsd.c misc/ pptok.dat regs.h ver.c
config.h.in insns.h mkdep.pl* pptok.h regs.pl* version
configure* insnsi.h Mkfiles/ pptok.ph regvals.c version.h
configure.in insnsn.c nasm.1 pptok.pl* saa.c version.mac
crc64.c insns.pl* nasm.c preproc.c saa.h version.mak
disasm.c INSTALL nasm.h preproc.h standard.mac version.nsh
disasm.h install-sh* nasmlib.c quote.c stdscan.c version.pl*
doc/ inttypes/ nasmlib.h quote.h stdscan.h version.sed
eval.c labels.c nasm.nsi raa.c strfunc.c
eval.h labels.h nasm.spec raa.h sync.c
 
Old 01-31-2010, 02:32 PM   #7
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
here is where i got the file:
http://linux.softpedia.com/progDownl...nload-643.html
 
Old 01-31-2010, 02:43 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
This is a directory (folder in windows speak) that contains the source for nasm. It needs to be compiled. What linux distro are you running on your PS3?

Basically you copile and install with the following commands
Code:
cd nasm-2.07
./configure
make
make install
However, I am quite sure that ./configure will fail because you will not have the required dependancies install. This brings me back to my question at the top of this post: what linux distro are you running?

Evo2.

PS. "Linux ver.6.2" is not a complete answer.
 
Old 01-31-2010, 03:00 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Ok, I got curious and had a bit of a google. I'm now guessing you are using yellow dog linux.
If so, I think you can get nasm up and running easily by following the instructions in the link below.

http://www.yellowdoglinux.com/suppor...nintendo.shtml

Cheers,

Evo2.
 
Old 01-31-2010, 03:01 PM   #10
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
Evo2,
I'm sorry for the incomplete answers. I'm new to this kind of stuff. I don't know what u mean by distro. I can tell u that it is run by GNOME though.
I ran the commands u gave me and they all got possitive results. but my screen doesn't show everything that I should see. I would use 'xvidtune' but I don't know what im doing once im in there.
 
Old 01-31-2010, 03:09 PM   #11
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
I clicked on the site u gave me and the nasm.rpm dowload page won't come up. it says page not found. can u send me the link?
 
Old 01-31-2010, 03:20 PM   #12
nixfreakz
LQ Newbie
 
Registered: Dec 2009
Location: MN
Distribution: Archlinux eeepc , Debian, Slackware
Posts: 19

Rep: Reputation: 0
Isn't YDL use RPM , and does it have YUM installed

sudo yum install nasm ?
 
Old 01-31-2010, 03:24 PM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
I ran the commands u gave me and they all got possitive results. but my screen doesn't show everything that I should see.
Wow. If it really did install, you just have to run the program: however I don't know what it will be called. The output of the command "make install" should have shown some file that was being installed into "/usr/local/bin/", whatever that file is, is the command you should type into a terminal to run the program.

Quote:
I clicked on the site u gave me and the nasm.rpm dowload page won't come up. it says page not found. can u send me the link?
Well, it will just be the same link...
http://www.yellowdoglinux.com/suppor....ydl.1.ppc.rpm
http://www.yellowdoglinux.com/suppor...8.39-1.ppc.rpm

If you do follow the instructions on that web page please uninstall the first version of nasm that you downloaded and installed. This is done by:
Code:
cd nasm-2.07
make uninstall
Quote:
I don't know what u mean by distro.
"distro" is just short for "linux distribution". Some you may have heard of are for example RedHat (specialises in commercial servers etc) or Ubuntu (specialises in touchy feely desktops). "Yellow Dog Linux" is a distro that I believe first came about for PPC machines (think old Apples) and also for play stations.

Cheers,

Evo2.

PS. If you are using Yellow Dog Linux I highly recommend you follow the instructions on that web page.
 
Old 01-31-2010, 03:27 PM   #14
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
yes yum is installed. when i used the command 'sudo yum install nasm' it said that its not in the sudoer. and it would be reported.
 
Old 01-31-2010, 03:36 PM   #15
Lordrahl3000
LQ Newbie
 
Registered: Jan 2010
Posts: 21

Original Poster
Rep: Reputation: 15
Were u able to access the nasm download page? It keeps saying page not found. so if i could get that page to come up I may be able to follow some directions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nasm 0.98 vs. 2.03 rob.til Slackware 2 07-04-2008 08:50 PM
Installing NASM jordan28 Programming 5 12-24-2007 01:10 AM
Heap in nasm des_a Programming 2 06-25-2007 12:17 AM
nasm Question Whiteghost Programming 2 09-11-2005 05:40 PM
Nasm essoft478 Linux - Software 2 09-13-2004 05:33 PM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration