NAPS2 repository?

Is there any better way to install NAPS2 (than download it from its page)? I didnt find it in standard repositories (maybe wrong searching).

Thank you very much.

Download to zypper cache:

erlangen:~ # zypper install --download-only https://github.com/cyanfish/naps2/releases/download/v7.1.2/naps2-7.1.2-linux-x64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  naps2

1 new package to install.
Overall download size: 21.1 MiB. Already cached: 0 B. Download only.
Continue? [y/n/v/...? shows all options] (y): 
Retrieving: naps2-7.1.2-1.x86_64 (Plain RPM files cache)                                                                                                                                                                (1/1),  21.1 MiB    
naps2-7.1.2-linux-x64.rpm:
    Package header is not signed!

naps2-7.1.2-1.x86_64 (Plain RPM files cache): Signature verification failed [6-File is unsigned]
Abort, retry, ignore? [a/r/i] (a): i
erlangen:~ # 

OK, thank you. And next?

this is not working:
sudo zypper in naps2-7.1.2-linux-x64.rpm

What is the error? If you downloaded the rpm, you need to give the full path to the rpm or cd into the directory…

sudo zypper in /the/full/path/to/the/directory/naps2-7.1.2-linux-x64.rpm

Post full terminal output with the error…

The red letters on black background are hell, I have to very zoom to be able to read.

Translate of terminal output is: “the specified local path does not exist or is not available, problem downloading the specified rpm file, bad uri, check if the file is accessible, problem with the file”

Oh, oh!
For /the/full/path/to/the/directory/ you have to fill in the full path to the directory where the RPM is stored!
We can not know where you have put it, thus you have to provide the real path. But as you did not just download it, but used zypper install --download-only you better install it now directly.

=====

And about posting such computer text here on the forum.
Do not use screen shots, but copy/paste the text from the terminal into the post and use the </> button to make it readable as “Preformatted text”.
Also, when your system is not in English, the put LANG=C before the command. E.G.

LANG=C zypper install https://github.com/cyanfish/naps2/releases/download/v7.1.2/naps2-7.1.2-linux-x64.rpm

I see, my path was wrong. But where is stored this file when I use following command?
sudo zypper install --download-only https://github.com/cyanfish/naps2/releases/download/v7.1.2/naps2-7.1.2-linux-x64.rpm

Or this command was wrong and I should download it manually and install by your command?

BTW why this application is not in current repositories of OpenSuse Tumbleweed? :slight_smile:

It is stored in /var/cache/zypper/RPMS/

Finaly this was for me working:
lenovo@localhost:~> sudo zypper install --download-only https://github.com/cyanfish/naps2/releases/download/v7.1.2/naps2-7.1.2-linux-x64.rpm
lenovo@localhost:~> sudo zypper in /var/cache/zypper/RPMS/naps2-7.1.2-linux-x64.rpm

Now it is installed and running…

My question - by installing this way, the OpenSuse will maintain updates of NASP2 automatically by system update utility? or how to keep it up to date and fresh?

Thank you.

Why do you use --download-only?

You can install:

zypper install https://github.com/cyanfish/naps2/releases/download/v7.1.2/naps2-7.1.2-linux-x64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  naps2

1 new package to install.
Overall download size: 0 B. Already cached: 21,1 MiB. After the operation, additional 54,7 MiB will be
used.
Continue? [y/n/v/...? shows all options] (y): y
In cache naps2-7.1.2-linux-x64.rpm                                                   (1/1),  21,1 MiB    

Checking for file conflicts: ......................................................................[done]
(1/1) Installing: naps2-7.1.2-1.x86_64 ............................................................[done]

Now it is installed:

zypper se -si naps2
Loading repository data...
Reading installed packages...

S  | Name  | Type    | Version | Arch   | Repository
---+-------+---------+---------+--------+------------------
i+ | naps2 | package | 7.1.2-1 | x86_64 | (System Packages)

But you are responsible for updates, zypper can not do this automatically

why? because I was asking how to do that and I received answer to do it by this way :slight_smile:

So there is no possibility how to add repository with this application and have it standardly maintained by system utility… :confused:

You did not find a repository, did you?
And yes, when there is no repository, zyppr/rYaST>Software can not check inside a repository to see if there is a newer version.

And I suggested to install it without the download already in post #5 above.
In any case, when a command is suggested, you should check yourself what it is supposed to do. People here will nor provide commands with flaws on purpose, but everybody can make (typing or otherwise) mistakes. So never blindly copy and execute commands, specially not as root.

“So never blindly copy and execute commands, specially not as root.”

So in this case I would not be possible use this system since I am not IT expert… Or use it without NAPS2 :slight_smile:

To add repository you need to have repository. All that you have now - link to download a single package version. How is package manager supposed to become aware that new version is available and what new link is?

So my idea how it should work… (maybe I am wrong)…

  1. exist some good open source software
  2. OpenSuse project adopt it in own repository
  3. user install it by standard system repository utility

Thats it. I was asking above why this piece of software is not included to OpenSuse repositories, but probably nobody knows. So maybe it is good thing to include it :slight_smile:

Perhaps nobody has volunteered to spend the time needed to maintain it for openSUSE use.

I have even no idea what this software is supposed to do, thus I have no idea how important it is to how many people. I think you understand that it is impossible to maintain every piece of open software all the time on every distribution. Thus this results in the probably unfair result that it depends on the individual(s) that are willing to put the effort in it to adapt it to the openSUSE ecosystem, to be prepared to act on bug reports coming in and to follow up to test and adapt again to new openSUSE versions.
You, as interested user, may be one of those volunteers.

NAPS2 is software for scanning include PDF making, OCR, etc… I was used to use it on Windows as very complex solution for open source scanning.

Yes, I can be volunteer, but I am affraid I have no necessary skill :confused:

It seems not that known at all as there is no linux distribution which ships this package…

but known enough to be reviewed on internet :slight_smile:

https://www.google.com/search?client=firefox-b-d&q=naps2+review