Installing libusb

Hi all, I recently moved from windows to linux and while everything has been smooth so far i can’t get around installing libusb.I’m trying to install avrdude and as from the tutorial here libusb and libusb-dev are needed .I have tried doing

Zypper install libusb 

but i get this in return


'libusb' not found in package names. Trying capabilities.
'libusb-0_1-4' providing 'libusb' is already installed.

From what I understand in that statement is that libusb is already installed but when I compile avrdude it states that libusb not found .Naturally i’d turn to google but it seems like I don’t understand what the above output implies.Could someone please give me some pointers as to what I should do .Thanks

You will have the ‘libusb’ package installed by default (part of install). It is likely the associated ‘devel’ libraries you require (libusb-1_0-devel), along with other probable requirements.

No need to compile. It is available as RPM package

software.opensuse.org: Search

On Fri 23 Aug 2013 11:36:02 AM CDT, mik a wrote:

Hi all, I recently moved from windows to linux and while everything has
been smooth so far i can’t get around installing libusb.I’m trying to
install avrdude and as from the tutorial ‘here’
(AVR Tutorial - Software setup for Unix/Linux) libusb and libusb-dev
are needed .I have tried doing
Code:

Zypper install libusb

but i get this in return

Code:

‘libusb’ not found in package names. Trying capabilities.
‘libusb-0_1-4’ providing ‘libusb’ is already installed.


From what I understand in that statement is that libusb is already
installed but when I compile avrdude it states that libusb not found
…Naturally i’d turn to google but it seems like I don’t understand what
the above output implies.Could someone please give me some pointers as
to what I should do .Thanks

Hi
When compiling and it spits out not finding something, it’s generally
the headers etc which are in the corresponding devel package. In your
case install libusb-1_0-devel.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.16-desktop
up 1 day 11:13, 4 users, load average: 0.14, 0.34, 0.27
CPU AMD E2-1800@1.70GHz | GPU Radeon HD 7340

This should do it

zypper in avrdude

Wow that was fast :slight_smile: Thanks alot ,i’m already doing the 1 click install

You’re welcome :slight_smile: