Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: OK so where is the "help me" area?< Next Oldest | Next Newest >
brymway Offline

Group: Members
Posts: 13
Joined: Mar. 2008
Posted: Mar. 07 2008,05:23 QUOTE

OK so I booted up DSL, downloaded Python, then using the xshell I looked in /mnt/sda1/mydsl.  All the Python files were in there.  I then checked /usr/local/bin.  The Python files were in there as well.  What gives?  I tried
Code Sample
mv python /mnt/sda1/mydsl
from the /usr/local/bin directory.  I haven't the permission to do that.  I did it inside root, then with sudo first and then with sudo su first.  Nothing.  

I think I need to switch screen names with you.  It fits me better.
Back to top
Profile PM 
curaga Offline

Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Mar. 07 2008,08:47 QUOTE

You tried to move the actual python binary, not the extension. As the extension is already in your mydsl folder, it will auto-load on boot.

There's no such thing as life. Those mean little jocks invented it ;)
Windows is not a virus. A virus does something!
Back to top
Profile PM 
stupid_idiot Offline

Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Mar. 07 2008,12:17 QUOTE

/usr/local/bin/python is the Python executable file (a.k.a. a binary file). In Windows, it might be named python.exe.
An installation of Python consists of many files and directories, not just the executable itself. For example, the /usr/local/lib/python/ directory, which contains many text files defining misc. functions (system functions, file operations, networking, etc) in Python. All those files must be present for all of Python's features to work. Without those files in /usr/local/lib/python/ in place, you will still be able to run python (a.k.a. the Python interpreter), but many important functions will not work.

On the other hand, an 'extension' (e.g. python2.5.unc) is a 'software package'. It contains all the many different files Python needs to run; including, but not limited to, /usr/local/bin/python.

Definitions of package:
- a collection of things wrapped or boxed together
- a wrapped container
- box: put into a box; "box the gift, please"
- (Computing) A package is a compressed file in a distribution specific format. It contains the files for a particular program you want to install.
So, an 'extension' could be thought of as an 'add-on package'.
As far as I know, only DSL users refer to packages as "extensions" - other Linux distributions call their packages "packages".
Back to top
Profile PM 
12 replies since Mar. 05 2008,02:59 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: OK so where is the "help me" area?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code