LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-16-2012, 06:44 AM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308

Quote:
Originally Posted by sachinsud View Post
I have webmin installed, using webmin i can extract the contents os the rpg package.

but i need help in compiling them.
Any walk though would be helpful.

Thanks
if you cannot compile maybe you would need to install compiler.
 
Old 04-16-2012, 06:48 AM   #17
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
if you cannot compile maybe you would need to install compiler.
No, I think that is not the case. For compiling the package he need to download tar package, extract and then after getting into that directory he need to compile that package.
 
Old 04-16-2012, 07:23 AM   #18
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Thats what my question is.

How can i compile the extracted content.
 
Old 04-16-2012, 07:31 AM   #19
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
How can i compile the extracted content.
What all are the files in extracted content, can you post them here?
 
Old 04-16-2012, 09:13 AM   #20
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
I am not able to extract them

Can you please suggest?
 
Old 04-16-2012, 09:20 AM   #21
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Code:
# rpm2cpio package.rpm | cpio -dimv
Using this above mentioned command you can extract the package. And show the contents of the package.
 
1 members found this post helpful.
Old 04-16-2012, 09:33 AM   #22
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
But I don't think that extracting the contents of rpm package would be of any use. You need to download tar package of yum and rpm package and compile them.
 
1 members found this post helpful.
Old 04-16-2012, 09:46 AM   #23
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Code:
# rpm2cpio package.rpm | cpio -dimv
Using this above mentioned command you can extract the package. And show the contents of the package.

i dont have rpm2cpio installed.
And it cannot be installed as yum not working.

Any idea where i can download tar package from.
 
Old 04-16-2012, 09:52 AM   #24
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
You can download the yum package from this link, http://www.icewalkers.com/download/y.../download.html.
Extract the package and try to compile it.
 
1 members found this post helpful.
Old 04-16-2012, 10:01 AM   #25
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
You can download the yum package from this link, http://www.icewalkers.com/download/y.../download.html.
Extract the package and try to compile it.


I have extracted it
Now how would i install or compile it?

these are the files i got after extraction

[root@HYD1008 yum]# ls
AUTHORS COPYING Makefile rpmUtils yum
bin docs output.py shell.py yumcommands.py
callback.py etc PLUGINS test yummain.py
ChangeLog FAQ po TODO yum.spec
cli.py INSTALL README utils.py yum-updatesd.py
 
Old 04-16-2012, 10:10 AM   #26
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
[root@HYD1008 yum]# ls
AUTHORS COPYING Makefile rpmUtils yum
bin docs output.py shell.py yumcommands.py
callback.py etc PLUGINS test yummain.py
ChangeLog FAQ po TODO yum.spec
cli.py INSTALL README utils.py yum-updatesd.py
Read INSTALL and README files for further instructions on installing/compiling the package.
 
Old 04-16-2012, 10:35 AM   #27
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
Read INSTALL and README files for further instructions on installing/compiling the package.
Thanks!

Now i m getting this error

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.


It seems like yum is installed but python is missing.

If i do Yum i get this

[root@HYD1008 yum]# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Feb 22 2012, 16:05:45)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
 
Old 04-16-2012, 10:41 AM   #28
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
What command you executed to compile? As per the errors you need to install required python modules also which are required by yum. Isn't it?
 
Old 04-16-2012, 10:53 AM   #29
sachinsud
Member
 
Registered: Aug 2011
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
What command you executed to compile? As per the errors you need to install required python modules also which are required by yum. Isn't it?
Make
Make Install
 
Old 04-16-2012, 11:02 AM   #30
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Will you please attach INSTALL and README files. So that I can also go through these files.
 
  


Reply



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
[SOLVED] "bash: make: command not found" on CentOS 6 TehGoat Linux - Software 3 11-20-2011 03:06 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
When logging into Xserver I get a bash command not found error. AaronKillingsworth Slackware 3 12-29-2009 10:20 PM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
bash: command not found error ksgill Linux - Newbie 10 07-01-2003 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:36 AM.

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