原文转载:Linux 平台下 Libusb & ccid & pcsc-lite & Opensc
一、libusb 安装步骤:
1.下载安装包:
https://sourceforge.net/projects/libusb/files/latest/download
2.解压安装包:
$ tar zxvf libusb-版本号.tar.gz
3.编译且安装:
$ cd libusb-版本号
$ ./configure
$ ./make
$ ./make install <- 要有 root 权限,Ubuntu 下可以 sudo ./make install
4.运行做测试:$ lsusb
显示出如下类似信息则为安装成功
Bus 002 Device 002: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
二、ccid 安装步骤:
1.下载安装包:
http://pcsclite.alioth.debian.org
2.解压安装包:
$ tar jxvf ccid-版本号.tar.bz2
3.编译且安装:
$ cd ccid-版本号
$ ./configure