charmedlabs / pixy

pixy CMUcam5
Other
338 stars 242 forks source link

debian packaging #26

Open dlech opened 8 years ago

dlech commented 8 years ago

This is just FYI. I have created debian packaging for PixyMon in https://github.com/ev3dev/pixy.

If anyone wants to install from a package on Debian/Ubuntu instead of compiling from source...

sudo apt-add-repository "deb http://archive.ev3dev.org/ubuntu xenial main"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 2B210565
sudo apt-get update
sudo apt-get install pixymon

You will get a menu entry to launch the program and it automatically installs the required udev rules.

richlegrand commented 8 years ago

Hey David, I'm not able to give this a try because I'm on vacation and I didn't bring a computer, but this looks awesome! Thanks man!

On Wednesday, June 15, 2016, David Lechner notifications@github.com wrote:

This is just FYI. I have created debian packaging for PixyMon in https://github.com/ev3dev/pixy.

If anyone wants to install from a package on Debian/Ubuntu instead of compiling from source...

sudo apt-add-repository "deb http://archive.ev3dev.org/ubuntu xenial main" sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 2B210565 sudo apt-get update sudo apt-get install pixymon

You will get a menu entry to launch the program and it automatically installs the required udev rules.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/charmedlabs/pixy/issues/26, or mute the thread https://github.com/notifications/unsubscribe/AA3vDfdwGx-0owYPel1EK-zh7EvCTvj-ks5qMFD7gaJpZM4I2s_y .

Charmed Labs www.charmedlabs.com

3dpinta commented 8 years ago

I tried running this to install on Ubuntu 14.04 LTS and got this error.

The following packages have unmet dependencies: pixymon : Depends: libstdc++6 (>= 5.2) but 4.8.4-2ubuntu1~14.04.3 is to be installed E: Unable to correct problems, you have held broken packages.

Any ideas?

On Wed, Jun 15, 2016 at 3:22 PM, David Lechner notifications@github.com wrote:

This is just FYI. I have created debian packaging for PixyMon in https://github.com/ev3dev/pixy.

If anyone wants to install from a package on Debian/Ubuntu instead of compiling from source...

sudo apt-add-repository "deb http://archive.ev3dev.org/ubuntu xenial main" sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 2B210565 sudo apt-get update sudo apt-get install pixymon

You will get a menu entry to launch the program and it automatically installs the required udev rules.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/charmedlabs/pixy/issues/26, or mute the thread https://github.com/notifications/unsubscribe/AEI5jqVePm18F5IwP1ImUrmY7OC13usIks5qMFD9gaJpZM4I2s_y .

dlech commented 8 years ago

I have just published a version for Debian jessie that might work better for trusty.

Try this instead:

sudo apt-add-repository "deb http://archive.ev3dev.org/debian jessie main"
dlech commented 8 years ago

I have also published additional architectures (armel, armhf) for Debian so that you can use on embedded devices, etc.

I have also added packages for the static library (libpixyusb-dev) and the python binding (python3-libpixyusb). I show them all below, but you only need to install the one you want to use.

sudo apt-add-repository "deb http://archive.ev3dev.org/debian jessie main"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 2B210565
sudo apt-get update
sudo apt-get install pixymon
sudo apt-get install libpixyusb-dev
sudo apt-get install python3-libpixyusb

There is also a version compiled for Rapsberry Pi (Rapsbian). Use this repository instead:

sudo apt-add-repository "deb http://archive.ev3dev.org/raspbian jessie main"
3dpinta commented 8 years ago

I gave this a try and got this message when I tried to update.

W: Failed to fetch http://archive.ev3dev.org/ubuntu/dists/jessie/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://archive.ev3dev.org/ubuntu/dists/jessie/main/binary-i386/Packages 404 Not Found

On Thu, Jun 16, 2016 at 11:25 PM, David Lechner notifications@github.com wrote:

I have just published a version for Debian jessie that might work better for trusty.

Try this instead:

sudo apt-add-repository "deb http://archive.ev3dev.org/ubuntu jessie main"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/charmedlabs/pixy/issues/26#issuecomment-226671735, or mute the thread https://github.com/notifications/unsubscribe/AEI5jurHd-I-fu4fJ5vebSQN6Wb7g7fNks5qMhOigaJpZM4I2s_y .

dlech commented 8 years ago

You have to replace ubuntu with debian (I made a typo in my previous comment that I have since fixed)

3dpinta commented 8 years ago

Thanks. Got it installed now!

On Fri, Jun 17, 2016 at 10:33 AM, David Lechner notifications@github.com wrote:

You have to replace ubuntu with debian (I made a typo in my previous comment that I have since fixed)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/charmedlabs/pixy/issues/26#issuecomment-226785326, or mute the thread https://github.com/notifications/unsubscribe/AEI5jh6NhAX80EVc6fSIZt24rNxqJXfCks5qMrBUgaJpZM4I2s_y .