July 9, 20169 yr I've got a few packages I want to install but I want the system to sustain that configuration. In particular I need python. But every time I reboot the system, the installed packages are gone. wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/python-2.7.11-x86_64-2.txz wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/d/python-setuptools-22.0.5-x86_64-1.txz installpkg python-2.7*.txz installpkg python-setup*.txz easy_install pip pip install ipython pyreadline Any assistance is greatly appreciated. PS. I've read that if the .txz packages are put in /boot/extras then it gets installed automatically on every boot... Cheers.
July 9, 20169 yr Install the nerdpacks plugin, python is in that. Or if you want to install a pkg manually, copy it to your /boot and then place the installpkg command in your go file.
July 9, 20169 yr True, but it's a bit outdated. 2.7.9 vs 2.7.11 latest. May have been updated recently. Unraid will be using the one in the Slackware 14.2/current repo going forward afaik. If the plugin is out of date then give them the heads up. In the interim do it manually.
July 9, 20169 yr Author Technically I can put the txz files in: /boot/packages Edit /boot/config/go: installpkg /boot/packages/python-2.7*.txz installpkg /boot/packages/python-setup*.txz or installpkg /boot/packages/*.txz So on every boot these packages will be re-installed.
July 9, 20169 yr Author True, but it's a bit outdated. 2.7.9 vs 2.7.11 latest. May have been updated recently. Unraid will be using the one in the Slackware 14.2/current repo going forward afaik. If the plugin is out of date then give them the heads up. In the interim do it manually. I am grabbing exact those packages: http://mirrors.slackware.com/slackware/slackware64-14.2/slackware64/d/
July 9, 20169 yr Or you could do it the easy way. Create a folder called /boot/extra, and everything in that folder will be installed at boot. Edit: Didn't see you already mentioned that yourself
July 9, 20169 yr If ezhik is on V6.1.9 then he should be using the ones on Slackware 14.1, maybe that's why Nerdpacks is showing him an older version?
July 9, 20169 yr Author Forgot to mention I am on 6.2rc1. Alright, thanks. It appears the nerdpack is being actively updated. Nerdpack it is then. Cheers gents.
July 9, 20169 yr Dunno what was going wrong for you before but looking at the nerdpack repo for 6.2 been on .11 for four months...
July 9, 20169 yr Author That's interesting, installed nerdpack... but where does it install it to? root@tmp-unraid:~# which python which: no python in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin) root@tmp-unraid:~#
July 9, 20169 yr That's interesting, installed nerdpack... but where does it install it to? root@tmp-unraid:~# which python which: no python in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin) root@tmp-unraid:~# You install the plugin THEN you choose which packages to install.
July 9, 20169 yr Author That's interesting, installed nerdpack... but where does it install it to? root@tmp-unraid:~# which python which: no python in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin) root@tmp-unraid:~# You install the plugin THEN you choose which packages to install. Ah... I needed to click on the icon to go inside. Got it. Skills issues. Cheers.
July 9, 20169 yr Author root@tmp-unraid:~# which python /usr/bin/python root@tmp-unraid:~# python --version Python 2.7.11 root@tmp-unraid:~# All good.
July 9, 20169 yr That's interesting, installed nerdpack... but where does it install it to? root@tmp-unraid:~# which python which: no python in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin) root@tmp-unraid:~# You install the plugin THEN you choose which packages to install. Ah... I needed to click on the icon to go inside. Got it. Skills issues. Cheers. LOL
July 9, 20169 yr Author That's interesting, installed nerdpack... but where does it install it to? root@tmp-unraid:~# which python which: no python in (.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin) root@tmp-unraid:~# You install the plugin THEN you choose which packages to install. Ah... I needed to click on the icon to go inside. Got it. Skills issues. Cheers. LOL
July 9, 20169 yr Author So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking.
July 9, 20169 yr So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking. I don't use nzbget scripts but yes I believe so. However if you're using nzbget in a docker then python needs to be in the docker not on the host.
July 9, 20169 yr Author So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking. I don't use nzbget scripts but yes I believe so. However if you're using nzbget in a docker then python needs to be in the docker not on the host. About to find out...
July 9, 20169 yr So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking. Don't run any PP scripts, but it seems to me that when using a docker app (nzbget) and then want to run a python script from within it that python needs to be installed within that docker app. Installing python outside of the docker is not going to allow you to run python within it. Could be wrong, but that's my 2cents
July 9, 20169 yr So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking. Don't run any PP scripts, but it seems to me that when using a docker app (nzbget) and then want to run a python script from within it that python needs to be installed within that docker app. Installing python outside of the docker is not going to allow you to run python within it. Could be wrong, but that's my 2cents You aren't wrong. I did try and tell him..... It's another skills issue..
July 9, 20169 yr Author So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking. Don't run any PP scripts, but it seems to me that when using a docker app (nzbget) and then want to run a python script from within it that python needs to be installed within that docker app. Installing python outside of the docker is not going to allow you to run python within it. Could be wrong, but that's my 2cents You aren't wrong. I did try and tell him..... It's another skills issue.. Haven't played with docker much so pardon my ignorance. I am more familiar with proper virtualization (vSphere, Hyper-V, XenCenter )
July 9, 20169 yr Author I am actually covered under the docker container. Looking at the containers specs: ENV APTLIST="python" And according to: https://hub.docker.com/r/linuxserver/nzbget/builds/bgrusyqyz3anctw7gocbjhb/ It grabs 2.7 Python.
July 9, 20169 yr So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking. Don't run any PP scripts, but it seems to me that when using a docker app (nzbget) and then want to run a python script from within it that python needs to be installed within that docker app. Installing python outside of the docker is not going to allow you to run python within it. Could be wrong, but that's my 2cents You aren't wrong. I did try and tell him..... It's another skills issue.. Haven't played with docker much so pardon my ignorance. I am more familiar with proper virtualization (vSphere, Hyper-V, XenCenter ) I'm just joking with you..... but I did tell you... So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking. I don't use nzbget scripts but yes I believe so. However if you're using nzbget in a docker then python needs to be in the docker not on the host.
Archived
This topic is now archived and is closed to further replies.