yum to install software
Hi,
I have a question regarding yum as a tool to install software... I understand that it is used to install Linux modules (if I say it correctly..), however, can be yum used to install any software...? For instance, I try to use: % yum install wxGTK-2.6.2 I thought yum access to a general repository library from where it can obtain the appropiate software.. Any comment? Thanks, Fernando |
YUM is the Yellow Dog Update Manager. It will install, update, remove, etc. packages (software) on RPM compatible Linux systems. If wxGTK-2.6.2 has a .rpm extension and is found at one of the repositories in the yum configuration files, then YUM will determine dependencies, download necessary packages, and install.
YUM home page is found here -> http://linux.duke.edu/projects/yum/ YUM MAN page is found here -> http://wiki.linux.duke.edu/ManYum |
Thanks for your answer... it seems I can install any package. Why do I get the following when running yum then?
[root@localhost ~]# yum install gnochm Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments No Match for argument: gnochm Nothing to do [root@localhost ~]# yum install xchm Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments No Match for argument: xchm Nothing to do tnx, Fernando |
That means that the query (gnochm) is not listed like that in the repository. Try this yum --list-all | grep gnochm and see if anything catches...then you can do the yum install with the correct package name.
|
The packages you are trying to install are not in your configured repos thats why you are getting the "No match arguement error".
|
Hi,
I tried: [root@localhost ~]# yum list-all | grep gnochm [root@localhost ~]# yum list-all | grep xchm As you see, the result is blank. What does this mean? Can it be fixed? tnx, fbm |
It means these packages aren't available on any of the repositories you've got setup.
For the gnochm package try this. Create a file /etc/yum.repos.d/dries.repo with the following lines: [dries] name=Extra Fedora rpms dries - $releasever - $basearch baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/$releasever/$basearch/dries/RPMS gpgcheck=1 enabled=0 Then issue the following command: # rpm --import http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt Then issue the following command: # yum --enablerepo=dries install gnochm |
Quote:
|
yum problems
Quote:
Quote:
|
HTTP Error 403 means you're forbidden from accessing the server with the package! I am too when I try, I don't know why. Probably some server at Area 51.
I've poked around the WWW a little bit looking for a different repo to use for gnochm. Can't find one. I can find the rpm which you could download and install without using YUM. Do you have your heart set on using YUM to install this package? If not, not you can get the rpm from the GnomeFiles website and use the rpm command to install. |
If you are having difficulties getting a prebuilt package, why don't you compile it from source. The packages you need to install in order, are chmlib, pychm and gnochm. For chmlib and gnochm, you do
Code:
$./configure --prefix=/usr Code:
#python setup.py install |
Thanks a lot to both for your help... I tried 'reddazz' advice. However, I didnt quite succeeded. It seems that I have problems with the chmlib part.
Here's the dump: http://www4.ncsu.edu/~fbarsob/error.txt thanks a lot, Fernando |
Quote:
As it is chmlib is installed in /usr/local and GNOME apps can be fussy about stuff thats not installed in /usr. So uninstall chmlib and gnochm using "make uninstall" and follow the steps exactly as they are presented above without any deviation. One thing I forgot to mention is that you need python-devel installed for pychm to build properly. Cheers. |
problems installing chmlib + pychm + gnochm
Quote:
I am trying to install gnochm. I followed reddazz instructions as in "http://www.linuxquestions.org/questions/showthread.php?t=426922", even as he indicated the first time, but I had the same problems either way. I decided to initiate new thread, and post the what I think are the problems in chmlib installation. The chmlib installation does not seem to work. Please take a look to the process at: http://www4.ncsu.edu/~fbarsob/error2.txt The files are supposed to be installed somewhere on /usr/ ... but I cannot find them. Also, the make does nothing, which I think is the problem the gnochm installation does not go further. tnx, Fernando |
From the output it appears that chmlib was sucessfully installed when you did "make install". The package is called chmlib but the files it installs are called libchm.* which are in /usr/lib. You now need to install pychm and then gnochm using the instrustions I posted previously.
|
All times are GMT -5. The time now is 04:15 AM. |