LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-21-2006, 09:24 AM   #1
fbarsoba
Member
 
Registered: Dec 2005
Posts: 30

Rep: Reputation: 15
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
 
Old 03-21-2006, 10:07 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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
 
Old 03-21-2006, 10:11 AM   #3
fbarsoba
Member
 
Registered: Dec 2005
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 03-21-2006, 10:18 AM   #4
wpg9210
Member
 
Registered: Apr 2004
Distribution: Fedora 4
Posts: 68

Rep: Reputation: 16
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.
 
Old 03-21-2006, 10:23 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The packages you are trying to install are not in your configured repos thats why you are getting the "No match arguement error".
 
Old 03-21-2006, 10:23 AM   #6
fbarsoba
Member
 
Registered: Dec 2005
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 03-21-2006, 10:30 AM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 03-21-2006, 10:34 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 03-21-2006, 01:25 PM   #9
fbarsoba
Member
 
Registered: Dec 2005
Posts: 30

Original Poster
Rep: Reputation: 15
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]#
 
Old 03-21-2006, 04:48 PM   #10
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 03-21-2006, 05:21 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 03-21-2006, 09:59 PM   #12
fbarsoba
Member
 
Registered: Dec 2005
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 03-22-2006, 04:42 AM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 03-25-2006, 07:49 PM   #14
fbarsoba
Member
 
Registered: Dec 2005
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 03-25-2006, 08:05 PM   #15
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems installing custom 2.6.14 kernel (for SATA problems) Ekkume Ubuntu 0 12-29-2005 02:39 PM
gnochm error - No module named gconf raghav Fedora 1 12-14-2005 09:26 AM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
problems installing redhat 9; usb problems (I think) nhelseth Linux - Newbie 2 04-27-2004 04:17 PM
gnochm problems Lgoat Linux - Software 3 03-26-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration