Open Source package not able to zypper

Hello to all,
How to get the package repo to recognize “Sphinx” open source packages, then download and install?

They can be downloaded from SourceForge.com.

I have installed openSUSE10.3 for this work-related need.

Any help will be greatly appreciated.

Chetanji:|

For something outside of the suse repo’s and additiona repo’s

you would be better doing manual install from a terminal

download the package/s - unpack and install the normal way (also check the readme)
.rpm’s
as su ; use

rpm -ihv package name

Assuming your PC is connected to the internet, the first thing you should do is setup your software repositories. Please follow the brief guide linked below and add ONLY OSS, NON-OSS, Update, and Packman. No others:
Repositories/10.3 - openSUSE-Community
… again, no others. You can add others on an adhoc “as and if” required basis for brief periods of time, as necessary.

Once your repositories are setup, if you do a search for sphinx here on webpin you get:
Webpin search for sphinx

This shows sphinx is down loadable from this http://download.opensuse.org/repositories/server:/search/openSUSE_10.3opensuse server.

So open a gnome-terminal / konsole, type “su” first to get root permissions (enter root password), and copy and paste the following commands in sequence, one at a time:

zypper ar http://download.opensuse.org/repositories/server:/search/openSUSE_10.3 repos-for-sphinx 
zypper install sphinx
zypper rr http://download.opensuse.org/repositories/server:/search/openSUSE_10.3

That will add the repository (repos), install zypper, and remove the repos.

I recommend you become more familiar with some basic concepts with openSUSE. To do so, I recommend you carefully read the following wiki on basic concepts on openSUSE Linux: Concepts - openSUSE

Thanks Cat4926,

That’s what I thought; I remember people at Ubuntu’s blog saying “All packages can be installed through the sytem installer.”

This is part reason why I dumbed Ubuntu for a truer Linux OS.

Blessings,
chetanji;)

OldCPU,
Humbly thankful for your wisedom and expert help.
Will follow your suggestions to the ‘T’.

chetanji

I meant to write “sphinx4.nightly.tar.gz” and “SphinxTrain.nightly.tar.gz” and “CMU-Cam_Toolkit_v2.tar.gz”

These are all tools under the CMU or Carnegie Mellon Univerity project called Sphinx for speech recognition.

I don’t know what you mean by “webpin”.

Is this on the web page of forums.opensuse or on the repository software on my laptop?

thanks,
chetanji;)

Please read that concepts page I linked in my previous post. Concepts - openSUSE

I also provided you a link to an repository with an rpm of sphinx, and I gave you the zypper commands to install that rpm. Your title to this thread specifically stated “open source package not able to zypper”. The POINT IS WITH THE CORRECT REPOS you can install sphinx from an opensource repository.

Also, you are referencing tarballs of sphinx. There is a difference and one does NOT install tarballs with zypper.

YOU HAVE TO LEARN THE BASICS! OK ?

web pin is a search engine for rpms for openSUSE.

You need to learn the difference between rpms and tarballs. It is explained in the concepts guide I linked.

Please read that. I gave you that link to make your efforts easier, … not harder.

Also, you reference “sphinx4.nightly.tar.gz” and “SphinxTrain.nightly.tar.gz” . These are likely nightly builds and they are intended mostly for EXPERT linux users. IMHO you may have a ways to go before you get to that stage. If you can find a precompiled package (much like the rpm I linked) you are far better off.

I read the concept page and thankyou for this help.

I have been working on a project for the last 6 months with this nightly build software in windows.

This is all about creating a way for the doctors in the hospital where I work as a programmer to be able to “speak” the patients record into the hospital software instead of typing.

I know it takes a bit of an advanced mind to install tarballs in linux.
I am trying to install these same tools in Linux because the CMU people told me I will get better quality compiles on the hundreds of thousands of permutations of words, phones and triphones in Linux, rather than windows.

I followed you instruction and it appears the sphinx this references is a SQL search tool, which must be some other animal.

I may be a returning linux user with much forgetfullness, and was a fedora core user before.

but I do know a little bit of what I am doing in this project.

The software I mentioned in the above post is exactly what I need to install.

This Sphinx4 program is not an end-user SR. This is a full development tool and requires a tremendous amount of data to create a package that will take another spoken language and turn it into english text.

this is essentially what I am trying to do.

I will install them manually if necessary.

Oh, Sorry about the incorrect title. I meant to say, zypper can not find the package I want.

You shouuld receive a full retirement package with several quality golf courses and full amenities for your dedication to this blog for beginners in Linux like myself.

Thanks again,
chetanji;)

Thanks for that background info.

OK, … for Linux and tarballs, typically one should download the tarball to a directory of one’s choosing under /home/username.

In my case I download all the tarballs I access to /home/oldcpu/tars (where I created the subdirectory tars under my /home/oldcpu specifically to keep the various tarballs that I download).

Once there I untar the tarball, and I read the instructions in the “readme.txt” or “install.txt”. Almost all tarballs have such instructions. If they don’t then typically there are instructions on the associated developers web site from where one obtained the tarball.

In many cases, where a compilation is required, one first ensures that all dependency applications are installed, and then one compiles with:
./configure
make
su #enter root password when prompted
make install

But I prefer instead to have “checkinstall” installed on my PC, and I will instead type:
./configure
make
su #enter root password when prompted
checkinstall
where checkinstall creates a custom rpm that I can install (and remove) at my leisure, and where the rpm is tracked by the rpm database.

Sometimes, when checkinstall does not work, one can still successfully do:
./configure
make
su #enter root password when prompted
make install
checkinstall

where checkinstall will successfully work after the “make install” and still create the rpm. One can then install the rpm on top of the existing “make install” installation, and then have the application tracked by the rpm database, and easy to remove via nominal rpm/yast/zypper commands.

Indeed, that appears to be the case. It was not clear to me what sphinx you were looking for.

Can you clarify this a bit. I did a brief search and I found:
a. SourceForge.net: cmusphinx Project: Platform Download and
b. Sphinx-4 - A speech recognizer written entirely in the Java™ programming language
where sphinx4 is a java based application. In which case you may only need to untar it, read the instructions (readme.txt and install.txt) and then run it as a java application. ie NO COMPILATION (like I described above) may be necessary.

Sometimes I think I should retire (from Linux) :slight_smile: … , especially as in this case, when my initial assessment as to what the user is attempting to do is completely wrong.

Good luck with your efforts.

If it is sphinx4 you are trying to get to work, ensure you read these instructions:
Sphinx-4 - A speech recognizer written entirely in the Java™ programming language

Kudos OldCPU, thanks a million.
I feel completely comfortable now with instructions in hand to do this install.

Such a great positive difference from my first shot at Linux install with Ubuntu which reminds me too much of Windows hand holding.

Your help with the others here make openSUSE a choice to take and all will be well!

Your avatar is perfect and suits the easy to understand way you communicated with me.

Blessings,
Chetanji:)