LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 05-28-2018, 06:10 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
How do you install nasm on a linux system?


Hi:
Code:
[root@revenge sys-freedos]# ./sys-freedos.pl --disk=/dev/mmcblk0p2 --lba --heads=255 --sectors=63
DOS boot sector for /dev/mmcblk0p2 will be created by:
	nasm -o /dev/stdout   ./bootsecs/boot32lb.asm
Can't exec "nasm": No such file or directory at ./sys-freedos.pl line 114.
cannot fork at ./sys-freedos.pl line 114.
[root@revenge sys-freedos]#
Either I download the source code and compile, but in this case how does the program find nasm? Or I install from my distro repository, which is Arch. I was used to find almost any program I needed in Slackbuilds. I assume there are programs that look for a program in the web, download it and install it. Do you know of a simpler option?

EDIT: I think knowing the name of the Arch package containing nasm would be of great help, isn't it?

Last edited by stf92; 05-28-2018 at 06:17 PM.
 
Old 05-28-2018, 06:50 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by stf92 View Post
Hi:
Code:
[root@revenge sys-freedos]# ./sys-freedos.pl --disk=/dev/mmcblk0p2 --lba --heads=255 --sectors=63
DOS boot sector for /dev/mmcblk0p2 will be created by:
	nasm -o /dev/stdout   ./bootsecs/boot32lb.asm
Can't exec "nasm": No such file or directory at ./sys-freedos.pl line 114.
cannot fork at ./sys-freedos.pl line 114.
[root@revenge sys-freedos]#
Either I download the source code and compile, but in this case how does the program find nasm? Or I install from my distro repository, which is Arch. I was used to find almost any program I needed in Slackbuilds. I assume there are programs that look for a program in the web, download it and install it. Do you know of a simpler option?

EDIT: I think knowing the name of the Arch package containing nasm would be of great help, isn't it?
"nasm" should be installed by default on a full slackware installation, it's part of the "d/" package set.
 
Old 05-28-2018, 07:32 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

https://www.linuxquestions.org/quest...em-4175630657/
 
  


Closed Thread



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
Why is esi used in 1 nasm script but edi used in another nasm script? abefroman Programming 6 08-26-2015 02:04 AM
GLIBC 2.7 needed to install nasm! Lordrahl3000 Linux - Newbie 10 02-14-2010 03:54 PM
[SOLVED] How do I install NASM? Lordrahl3000 Linux - Newbie 25 02-02-2010 10:44 AM
Installing nasm for linux enduser000 Programming 9 07-30-2008 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:14 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
Open Source Consulting | Domain Registration