LinuxQuestions.org
Visit Jeremy's Blog.
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


Reply
  Search this Thread
Old 02-03-2011, 05:36 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Meaning of -noarch- in the name of some slack packages.


Hi:

'-noarch-' is a substring in the name of some slack packages. E.g., bittorrent-4.4.0-noarch-2.tgz. What's the meaning. Could anybody explain? Regards.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-03-2011, 05:53 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by stf92 View Post
Hi:

'-noarch-' is a substring in the name of some slack packages. E.g., bittorrent-4.4.0-noarch-2.tgz. What's the meaning. Could anybody explain? Regards.
It means that the package is not limited to a certain architecture ( like x86,ppc or SPARC) and will compile and run on all architectures.
 
1 members found this post helpful.
Old 02-03-2011, 05:57 AM   #3
DonnieP
Member
 
Registered: Jan 2008
Location: Richmond, VA USA
Distribution: Slackware
Posts: 144

Rep: Reputation: 29
The files in the package are text and not binary - in the case of bittorrent, python.
 
Old 02-03-2011, 06:34 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Hi:
bittorrent-4.4.0-noarch-2.tgz is certainly a binary one, as having installed it with installpkg proves. What I must understand, according to Sayan, is that the binaries contained in this package will run on more than one architecture? This is impossible!
 
Old 02-03-2011, 06:49 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
No, it is not. The bittorrent program is written in Python. Python is an interpreted language and runs on any computer that has the Python interpreter installed, regardless of its architecture. It is not a binary.
 
2 members found this post helpful.
Old 02-03-2011, 06:53 AM   #6
thommys
LQ Newbie
 
Registered: Mar 2006
Distribution: kubunt 7.04
Posts: 1

Rep: Reputation: 0
There are no binaries in this package.
only text files because bittorrent is written in python.
that means noarch.
 
Old 02-03-2011, 07:15 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by TobiSGD View Post
No, it is not. The bittorrent program is written in Python. Python is an interpreted language and runs on any computer that has the Python interpreter installed, regardless of its architecture. It is not a binary.
I see. As in the old days of the basic interpreter, run by either the O.S. or firmware. It must be the astonishing speed of current CPU's what favored the return of interpreted languages. Regards.
 
Old 02-03-2011, 07:35 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by stf92 View Post
It must be the astonishing speed of current CPU's what favored the return of interpreted languages.
That, and a different approach than in the old days. In the old days the code of interpreted languages was directly interpreted. In Python, for example, the code will be compiled to a byte-code on runtime, and this byte-code will run in a virtual machine. If you run a Python application you will find files with the .pyc ending. These are the compiled instructions.
I don't know if interpreted is really the right word in this context.
 
1 members found this post helpful.
Old 02-03-2011, 07:54 AM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
@TobiSGD: So Sayan was right after all. There _is_ compilation. And I now see the necessity to speak of byte-code as opposed to the intermediate compilation generated code. This is all very instructive. Thanks.
 
  


Reply



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
stripping slack down or a smaller slack or what packages can I remove rob.rice Slackware 15 12-21-2008 02:41 PM
official slack packages not on cd moob8 Slackware 3 10-09-2006 10:01 AM
Using Slack 10's 2.6.7 kernel packages on Slack 10.1? SocialEngineer Slackware 1 03-05-2005 11:53 AM
slack 8 packages in slack 9 alixx Slackware 8 07-14-2003 09:40 AM
Slack and software/packages tarballed Slackware 7 06-06-2003 03:50 PM

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

All times are GMT -5. The time now is 11:18 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