Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-21-2006, 09:24 AM
|
#1
|
Member
Registered: Dec 2005
Posts: 30
Rep:
|
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
|
|
|
03-21-2006, 10:07 AM
|
#2
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
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
|
|
|
03-21-2006, 10:11 AM
|
#3
|
Member
Registered: Dec 2005
Posts: 30
Original Poster
Rep:
|
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
|
|
|
03-21-2006, 10:18 AM
|
#4
|
Member
Registered: Apr 2004
Distribution: Fedora 4
Posts: 68
Rep:
|
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.
|
|
|
03-21-2006, 10:23 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
The packages you are trying to install are not in your configured repos thats why you are getting the "No match arguement error".
|
|
|
03-21-2006, 10:23 AM
|
#6
|
Member
Registered: Dec 2005
Posts: 30
Original Poster
Rep:
|
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
|
|
|
03-21-2006, 10:30 AM
|
#7
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
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
Last edited by weibullguy; 03-21-2006 at 10:31 AM.
|
|
|
03-21-2006, 10:34 AM
|
#8
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally Posted by fbarsoba
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
|
See my post above for an explanation.
|
|
|
03-21-2006, 01:25 PM
|
#9
|
Member
Registered: Dec 2005
Posts: 30
Original Poster
Rep:
|
yum problems
Quote:
Originally Posted by Arow
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
|
I have done as said, but:
Quote:
[root@localhost yum.repos.d]# rpm --import http://dries.studentenweb.org/rpm/RPM-GPG-KEY.dries.txt
[root@localhost yum.repos.d]# yum --enablerepo=dries install gnochm
Setting up Install Process
Setting up repositories
dries 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
http://klid.dk/homeftp/fedora/linux/...ta/repomd.xml: [Errno 4] IOError: HTTP Error 403: Date: Tue, 21 Mar 2006 19:20:33 GMT
Server: Apache-AdvancedExtranetServer/1.3.28 (Mandrake Linux/3.4.92mdk) PHP/4.3.3
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
updates-released 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 745 kB 00:02
dries : ################################################## 3160/3160
Added 3160 new packages, deleted 0 old in 11.47 seconds
primary.xml.gz 100% |=========================| 385 kB 00:09
updates-re: ################################################## 1105/1105
Added 9 new packages, deleted 4 old in 3.72 seconds
Parsing package install arguments
No Match for argument: gnochm
Nothing to do
[root@localhost yum.repos.d]# whereis gnochm
gnochm:
[root@localhost yum.repos.d]#
|
|
|
|
03-21-2006, 04:48 PM
|
#10
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
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.
|
|
|
03-21-2006, 05:21 PM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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
$make
#make install
For pychm, switch to root and do
Code:
#python setup.py install
It shouldn't take more than 5 minutes to build and install all 3 packages.
|
|
|
03-21-2006, 09:59 PM
|
#12
|
Member
Registered: Dec 2005
Posts: 30
Original Poster
Rep:
|
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
|
|
|
03-22-2006, 04:42 AM
|
#13
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally Posted by fbarsoba
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
|
It seems like you did not follow the instructions above correctly. I mentioned that you should install chmlib first, then pychm and then gnochm in that order. I also showed you exactly how to run ./configure and how to install pychm but you did not follow the instructions as their shown in my example.
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.
|
|
|
03-25-2006, 07:49 PM
|
#14
|
Member
Registered: Dec 2005
Posts: 30
Original Poster
Rep:
|
problems installing chmlib + pychm + gnochm
Quote:
Originally Posted by reddazz
It seems like you did not follow the instructions above correctly. I mentioned that you should install chmlib first, then pychm and then gnochm in that order. I also showed you exactly how to run ./configure and how to install pychm but you did not follow the instructions as their shown in my example.
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.
|
Hi there,
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
|
|
|
03-25-2006, 08:05 PM
|
#15
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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.
Last edited by reddazz; 03-25-2006 at 08:08 PM.
|
|
|
All times are GMT -5. The time now is 03:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|