RockDawg Posted January 18, 2010 Share Posted January 18, 2010 I have a python script I want to run via cron on my unraid server. I don't know much of anything about Linux, but I remember a tiny bit from some of the unRaid addons I've used in the past. I have downloaded Python-2.6.4.tgz.tar. If I remember correctly, I need to put a line in my go file that installs this on every boot using the installpkg command. But doesn't it need to be just a .tgz file and not a compressed .tar file though? How do I decompress it? Also, are there any other packages or steps I need to make this work? Quote Link to comment
purko Posted January 18, 2010 Share Posted January 18, 2010 I have downloaded Python-2.6.4.tgz.tar. You don't need that. That's probably the source code. Just get the slackware package: ftp://slackware.osuosl.org/pub/slackware/slackware-current/slackware/d/python-2.6.4-i486-1.txz You install it with: installpkg /path-to-where-you-put-the-package/python-2.6.4-i486-1.txz If you want that to be automatically installed upon reboot, then put the above lines at the end of your 'go' script. (located in the config folder on your flash key) Quote Link to comment
RockDawg Posted January 19, 2010 Author Share Posted January 19, 2010 Thanks. That seemed to work. When I tried to run the script, I got the following message: ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory I assume that means I need to install that library. How do I go about that? Quote Link to comment
purko Posted January 19, 2010 Share Posted January 19, 2010 Thanks. That seemed to work. When I tried to run the script, I got the following message: ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory How do I go about that? Apparently, your script also needs sqlite. So, same as with the other package... ftp://slackware.osuosl.org/pub/slackware/slackware-current/slackware/ap/sqlite-3.6.14.2-i486-1.txz Quote Link to comment
purko Posted January 19, 2010 Share Posted January 19, 2010 And, if it turns out that it needs yet more packages, then search for them here: ftp://slackware.osuosl.org/pub/slackware/slackware-current/slackware/PACKAGES.TXT Quote Link to comment
RockDawg Posted January 19, 2010 Author Share Posted January 19, 2010 It's working now. Thanks so much! I appreciate it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.