Setting up Octoprint under Fedora

#1

What is the problem?
I am looking to set up octoprint under fedora 29 linux

What did you already try to solve it?
Not much; I am looking to see if there is a rpm available.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)
I have 3 printers; one homemade prusa I2, a Geeetech prusa I3 and a Creality CR-10

#2

It isn't an RPM, but here's the howto:

Yes, that's Raspbian, but it's roughly the same install steps.

#3
sudo yum -y install python python-pip virtualenv
git clone https://github.com/foosel/OctoPrint.git && cd OctoPrint
virtualenv -p /usr/bin/python2.7 venv
./venv/bin/python setup.py install
./venv/bin/octoprint

should do it on fedora 30... at least it does for me :wink:

#4

Wouldn't you need to source venv/bin/activate and then python setup.py install and octoprint serve (instead of the last two lines)?

#5

I think it is also possible. I installed it ajar to the official installation from source.

#6

When OctoPrint's own Software Update plugin fires off, it may or may not work unless you're running within the confines of the virtual environment. There may be a way to set command line arguments so that Python and pip know which one is meant to run, though.