in rpm format. I installed it with command “zypper install”, but it gave me the following error:
sudo zypper install eigen3-3.3.4-lp150.2.5.src.rpm
[sudo] password for root:
Loading repository data...
Reading installed packages...
'_tmpRPMcache_:eigen3=0:3.3.4-lp150.2.5' not found in package names. Trying capabilities.
No provider of '_tmpRPMcache_:eigen3=0:3.3.4-lp150.2.5' found.
Resolving package dependencies...
Nothing to do.
Add that directory as a repo containing rpm packages. These an option for that with Yast Software Repositories.
Put your package there. Then it should be found automatically by “zypper” or Yast. And if you later put an updated package there, it should automatically update.