LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How-EXACTLY-can someone install an application (http://www.linuxquestions.org/questions/linux-newbie-8/how-exactly-can-someone-install-an-application-116964/)

georgeks 11-17-2003 06:34 AM

How-EXACTLY-can someone install an application
 
I tried to install AbiWord 2.
I got all the files, but now, what..? I use SuSE 9.0 personal, it istalls-some- rpms, but then on some others asks for libenchant.so.1
What should I do-EXACTLY, please- to install those libs that any application asks for?

hindenbergbaby 11-17-2003 07:01 AM

Welcome to the wonderful world of dependencies. You need to either find that particular needed file's rpm on the SuSE install disks, or you need to download it (google to find a source). If you can get it as a rpm, you should be able to install it the same way you do all rpms, through YAST, or through rpm -Uvh filename.rpm in console.

There is a way you can force things to install, but I wouldn't recommend doing it unless you know what you're forcing can run without it. If I'm not mistaken, that file that it says you need sounds like a source file of some sort, and I wouldn't force it.

shoe

fyoder 11-17-2003 11:05 PM

I echo hindenbergbaby's welcome to the world of dependencies, sometimes referred to as 'dependency hell'. Some distros have sites you can search and download from, but I don't use Suse, perhaps if someone knows of a Suse specific site or tool or whatever they can post.

Two general rpm find type site are http://rpmfind.net and http://rpm.pbone.net/ and there may be others. If I copy and paste libenchant.so.1 into the search box at pbone, it returns a hit I can download. Try it.

Once you've got it downloaded, there may be a handy Suse rpm installer that checks for dependencies (again, don't know as I don't know Suse). Otherwise from the command line cd to the directory you downloaded to and do
rpm -i <filename>
(where filename is, obviously, the name of the file you downloaded).

If you go the command line route there may be other dependencies which may also have dependencies, yea, verily, back through the generations. This is one of the least pleasant parts of using Linux and one of the reason some distros work on providing tools which do dependency checking. You'll notice in particular that Debian users are very smug about their apt-get ;)

Fortunately you don't have to guess dependencies, the basic rpm tool will tell you wha t you need, it's just not automatic.


All times are GMT -5. The time now is 04:46 AM.