Linux - SoftwareThis 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.
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.
Hello
Where do i get the source for RPM.I want to upgrade my rpm library from rpm3.0xx to rpm4.0xx,i browsed the net to find the source but i was not able to spot it.Can anyone tell me where i can find the source and also where i can find that.Can u also tell me how to compile the source
Dear neo77777
Thanks a lot for ur help i was not able to locate the rpm.I think i need to compile the source Can u tell what are other dependencies needed for this source.Can i just use
makefile <filename>.Or what other steps should i follow to install the sourcr.It will be very kindo of u if u could expalin this to me
WHY do you need to install the source? and IF you do for whatever reason you will do it the same as any other source package, but it'll be placed in /usr/src/RPM/packagename normally
Dear Chris
Sorry for the misunderstanding,okay u fairly expereinced enough plz help me to come out of the tight corner.First let me tell u i am Linux Newbie so plz give me some detailed explanations.
I have uninstalled the existing verison of RPM lib from my machine(rpm 3.0x) which is shipped along with RH 6.2 know i cannot install any rpms.The only thing that is possible is to compile the source for and install RPM package.After wjhich i can install other RPMS.So please can u tell me how to insatll this source.Plz...........
You can go to http://www.wiejak.priv.pl/pub/Linux/system/rpm2tgz/
get the tarball, unpack it
read README and INSTALL if provided install it, now you can convert rpm into a tarball and install an rpm as if it were a tarball.
Good luck.
Now you have a lesson, don't uninstall critical packages, like in your case you need rpm installed in order to install rpm's.
P.S. I am at work and my linux machine is undergoing maintainance, so I have to use NT, I d/l'd the aforementioned tarball and what you have to do is just copy the contents somewhere in you PATH, it has a structure of usr/bin and there two files rpm2tgz and rpmoffset just coppy these two into convinient location.
Dear neo
I have learnt a lesson long back i really feel sorry for what i have done.Fisrst thanks a lot fr ur patience.I am a Linux newbie so kindly give me some detailed explanation.What do u mean by installing rpm as a tarball.In url u gave me there was no read me file available...How do i install it can u plz give me a detailed explanation shall i just untar and call the make file command.Plz take me as ur close firend and help me to come out of this tight corner...Plz...........
P.S. I am at work and my linux machine is undergoing maintainance, so I have to use NT, I d/l'd the aforementioned tarball and what you have to do is just copy the contents somewhere in you PATH, it has a structure of usr/bin and there two files rpm2tgz and rpmoffset just coppy these two into convinient location.
So there is no Makefile, so you don't have to do make && make install , these are precompiled binaries, actually rpm2tgz is a shell script, the other one is a binary file I cannot see the contents of it, you'll need cpio installed in order to use rpm2tgz and the syntax is straightforward
rpm2tgz filename.rpm
neoo I am very sorry so u mean to say that after i install these two files ,i have to install othere rpms by calling
rpm2tgz filename.rpm
or i have to install these 2 files by using the abobe command. i really feel ashamed of my ignorance and lack of skill to exploi things within a short span of time.To install this file i just nedd to untar them from the root directory?????.
did you untar the rpm2tgz.tgz file? If yes, suppose you were in the /home/user/ directory and the tarball is there, then if you ran
[user@domain /home/user] tar xvfz rpm2tgz.tgz
it will create a usr directory in your /home/user directory
[user@domain /home/user] ls -ld usr
[user@domain /home/user] drwxr-xr-x blah blah usr
[user@domain /home/user] cd usr/bin
[user@domain /home/user/usr/bin]ls
[user@domain /home/user/usr/bin] rpm2tgz rpmoffset #this is output of ls
[user@domain /home/user/usr/bin] su
Password:
[root@domain /home/user/usr/bin] cp * /usr/local/bin
[root@domain /home/user/usr/bin] rpm2tgz
[root@domain /home/user/usr/bin] returns usage message
That's about it. And later to save space you can delete /home/user/usr directory with all its contents with
[root@domain /home/user] rm -rf usr/
One small little query after installing this tarball i can install other rpm's using
rpm2tgz username.rpm is it not.....
so i can install the .rpm for an rpm library and after that install other packages using rpm -ivh <filename> is it not
I really greatefull to ur help and concern.Thanks a million
No what rpm2tgz does is just converting rpms into tarballs, so after you ran the rpm2tgz it sopposed to convert packafge.rpm into package.tar.gz, then yuou should follow the steps for installing packages from tarballs (tar xvfz tarball.tar.gz; cd newly_created_dir; ./configure; make ; make install, etc )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.