apt install libudev-dev pkg-config git autoconf libtool libusb-dev
下载libusb
cd libusb-1.0.22
./configure
make
make install
libnfc
git clone https://github.com/nfc-tools/libnfc.git
sudo cp contrib/udev/93-pn53x.rules /lib/udev/rules.d/
autoreconf -is
./configure --prefix=/usr --sysconfdir=/etc
make && sudo make install
mfoc
git clone https://github.com/nfc-tools/mfoc.git
autoreconf -is
./configure
make && sudo make install