I installed naps2 package OK, but naps2 cannot find my HP DeskJet 2632 printer/scanner - IMHO - due to lack of drivers naps2 does cannot establish connection to my printer/scanner. Maybe this is not correct conclusion, or ?
In AUR I found hplip-lite (version 3.23.5-1) package. I tried command yay hplip-lite and the package info says is only printer drivers.
This command only downloaded PKGBUILD but building/installation failed. The downloaded package is now in /home/user1/.cache/yay/hplip-lite/PKGBUILD directory and consists of 3 parts: PKGBUILD, .git and .SRCINFO.
My Terminal says:
[user1@hpcomp ~]$ yay hplip-lite
1 aur/hplip-lite 3.23.5-1 (+1 0.05)
Only Print drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
AUR Explicit (1): hplip-lite-3.23.5-1
:: PKGBUILD up to date, skipping download: hplip-lite
1 hplip-lite (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
:: Deleting (1/1): /home/user1/.cache/yay/hplip-lite
HEAD is now at 33188ae update 3.23.5
1 hplip-lite (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
diff --git /home/user1/.cache/yay/hplip-lite/PKGBUILD /home/user1/.cache/yay/hplip-lite/PKGBUILD
new file mode 100644
index 0000000…7eb16fc
— /dev/null
+++ /home/user1/.cache/yay/hplip-lite/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: yuhldr yuhldr@gmail.com
+
+_pkgname=hplip
+pkgname=“${_pkgname}-lite”
+pkgver=3.23.5
+pkgrel=1
+pkgdesc=“Only Print drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet”
+arch=(‘x86_64’)
+url=“https://hplipopensource.com”
+license=(‘GPL2’ ‘custom’)
+depends=(libjpeg-turbo libcups)
+makedepends=(python libusb)
+provides=(‘hplip’)
+backup=(‘etc/hp/hplip.conf’)
+conflicts=(‘hplip’)
+optdepends=(‘cups: for printing support’ ‘system-config-printer’)
+source=(https://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz)
+sha256sums=(‘f68e5ed749b122fc3654a69c4206e840a53b68d981e55e023fb4d3fb8995cbc8’)
+
+prepare() {
- cd “${_pkgname}-${pkgver}”
- rm -rf ./PPD_HP
+}
+build() {
- cd “${_pkgname}-${pkgver}”
- ./configure --prefix=/usr \
- –enable-lite-build \
- –disable-doc-build \
- –disable-fax-build \
- –disable-network-build \
- –disable-imageProcessor-build \
- –disable-scan-build
- make -j $(($(nproc) - 1))
+}
+package() {
- cd “${_pkgname}-${pkgver}”
- make DESTDIR=“${pkgdir}/” install
- install -Dt “${pkgdir}/usr/share/licenses/${pkgname}” -m644 COPYING
+}
(END)
:
…
After receiving this same result repeatedly I closed Terminal. The downloaded PKGBUILD package remains in the same place as before. Therefore I cannot say if this driver hplip-lite package is the correct one and / or can it fulfill the job of establishing connection from naps2 to to printer/scanner.
How should I proceed ?