Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Python package (txz) installation?

Featured Replies

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.

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.

  • Author

True, but it's a bit outdated. 2.7.9 vs 2.7.11 latest.

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.

  • 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.

  • 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/

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  :)

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?

  • 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.

Dunno what was going wrong for you before but looking at the nerdpack repo for 6.2  been on .11 for four months...  ???

 

lDxzR84.png

  • 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:~#

 

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.

  • 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.

  • Author

root@tmp-unraid:~# which python

/usr/bin/python

root@tmp-unraid:~# python --version

Python 2.7.11

root@tmp-unraid:~#

 

All good.

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  ;D

  • 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  ;D

 

:)

  • Author

So python is needed if anybody is using nzbget and PP Scripts. Those are written in python, hence why I was asking.

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.

  • 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...

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

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..  ;D

  • 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..  ;D

 

Haven't played with docker much so pardon my ignorance. I am more familiar with proper virtualization (vSphere, Hyper-V, XenCenter ;))

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..  ;D

 

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.