CentOS7(Arm64)编译IJ Printer Driver v. 6.30 for Linux驱动
下载 https://www.canon.com.cn/supports/download/simsdetail/0101105702.html?modelId=1447&channel=2
Debian有包无需编译
https://www.canon.com.cn/supports/download/simsdetail/0101131702.html?modelId=1447&channel=2
安装必要的库 glib libusb
cd
yum install -y glib* libusb*
rpm -tb cnijfilter2-6.20-1-arm-708-rpm.tar.gz
最后生成的rpm包在rpmbuild/RPMS/aarch64/下面
参照将Debian包的形式,
mkdir cnijfilter2-6.20-1-arm-708-rpm
cd cnijfilter2-6.20-1-arm-708-rpm
mkdir documents packages resources
cd
cp rpmbuild/RPMS/aarch64/cnijfilter2-6.20-1.aarch64.rpm cnijfilter2-6.20-1-arm-708-rpm/packages/
cp rpmbuild/BUILD/cnijfilter2-source-6.20-1/doc/* cnijfilter2-6.20-1-arm-708-rpm/documents/
cp rpmbuild/BUILD/cnijfilter2-source-6.20-1/scripts/install_deb/install.sh cnijfilter2-6.20-1-arm-708-rpm/
将Debian包里的resources文件复制到cnijfilter2-6.20-1-arm-708-rpm/resources/
最后就可使用了
bash cnijfilter2-6.20-1-arm-708-rpm/install.sh
打包起来备用
tar czpf cnijfilter2-6.20-1-arm-708-rpm.tar.gz cnijfilter2-6.20-1-arm-708-rpm
网友评论