LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2002, 10:47 PM   #1
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Rep: Reputation: 15
rpm install, I've read all the threads!!


I spent the entire evening last night going thru all the old threads regarding tar installs and rpm installs, on this forum and on mandrakeuser.org forum. I even printed out a bunch of them and spent my lunch hour today reading thru them again. Ok, so I learned alot. However, now to the question: I went to the website rufus.w3.org and then downloaded an xanim rpg file for mandrake called xanim-28010-14mdk.src.rpm. Ok, easy so far. the downloaded file was in a subdir of my home. I clicked on it, as per the instructions in various threads by JeroenMentens and you other guys (and girls). ok, so rpminst fired up and asked me for root passwork and after that it went thru the install.
 
Old 01-10-2002, 10:54 PM   #2
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Original Poster
Rep: Reputation: 15
continuation of above

ok, so after the rpm install here's what I have: no way to run xanim, where is it, how do I use it??
So then I did Find File on xanim* and got 4 results, here's what I have: The rpm file I downloaded, of course. Also there is a file called xanim-28010-14mdk.src.rpm.desktop in my kde/share/apps/RecentDownloads directory. There is also 3 files in /. One is called xanim.spec. another is xanim2801-ver.patch.bz2, and one called xanim2801.tar.bz2.
Ok, now, I have read all about tar files and these threads, but I thought rpm installs avoided this. So what do I do now. Thanks.
 
Old 01-10-2002, 11:02 PM   #3
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Re: rpm install, I've read all the threads!!

Quote:
Originally posted by pekuekfir
...downloaded an xanim rpg file for mandrake called xanim-28010-14mdk.src.rpm
Yes, rpms make things alot easier, but there are rpms that contain the source and rpms that contain a binary that is what you were looking for. The file you downloaded as quoted is a source rpm. .src.rpm
So this is why it extracted a bunch of source instead of installing the binary program. You want one that isn't src if you don't want all the headache.
 
Old 01-10-2002, 11:14 PM   #4
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Original Poster
Rep: Reputation: 15
thanks taz

I think I remember there being 2 mandrake rpms. I chose the src one, I'm gonna head back to rufus.w3 right now and try the other. Thanks again. I'm slowing learning. Hope to be an ex-noob soon.
 
Old 01-10-2002, 11:18 PM   #5
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
No problem, glad to help! Sounds like you are doing plenty of research before you do something which is cool. I know I have little patience for reading manuals and destructions. That's why i've reinstalled four different distributions over 25 times a piece in the last 2 years...I'm a learn it the hard way kinda guy. Break it and then see what I need to do... LOL
 
Old 01-10-2002, 11:42 PM   #6
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Original Poster
Rep: Reputation: 15
one more problem

I wanted to delete the 5 files mentioned above before I re-downloaded the non-src rpm file. I right-clicked on a couple of them and chose Delete... Well, i got a konq window saying Delete progress... 0% and my hard drive light came on steady forever! I mean, 10 minutes later, hd light still on and I can't do ANYTHING in kde. This may be bad, but I pushed restart on my box and rebooted into Windows, which is where I am now. Hope linux boots up next time...?! Why didn't the deletes work? You right-click on a file in windows and its gone in 2secs. Did I do a bad thing?
 
Old 01-11-2002, 12:17 AM   #7
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Original Poster
Rep: Reputation: 15
ok, deleted those files

went into konsole, did su and then rm'd those files. Still would like to know why kde got all locked up when attempted to delete by right-clicking. Would have been nicer to get a prompt for root password or something, not just lighting up my hd light permanently and tying up kde.
 
Old 01-11-2002, 12:26 AM   #8
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Original Poster
Rep: Reputation: 15
this is pissing me off

I re-downloaded the non-source rpm as per taz's recommendation. So now I have the rpm file in a directory of my home. when I click on it to install, it says package already installed cannot proceed. I know I previously installed the other "src" rpm, but I deleted those files and want to install this non-source rpm. Taz or anyone still here?
 
Old 01-11-2002, 01:14 AM   #9
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
When you want to remove an rpm, you don't delete its files. You can run the rpm command in a terminal window and it will remove it for you. Ex: rpm -e <program_name> The <program_name> is not the name of the rpm that you downloaded. You can find out what the name is by running the command rpm -qa | less and then scrolling through the list. In your case, it's probably called xanim. So, rpm -e xanim might uninstall it.
 
Old 01-11-2002, 06:01 AM   #10
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
This is because the rpm management program keeps a database of all installed packages, much like windows with it's ad/remove program, only this is better.

The source rpm file contain source as said earlier. From this source you can make a regular package with the rpm --build or rpm --rebuild, can't remember which is which.
 
Old 01-11-2002, 10:02 AM   #11
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Original Poster
Rep: Reputation: 15
thanks guys

OK, I understand all that. In fact last night I actually read the man rpm and saw that I should do the rpm -e thing. I tried that but didn't do anything or got an error or something. cant remember. I'm at work now, cant do anything till I get home. I deleted all files from the first rpm install (the src rpm files). So now how do I get linux to blow off that first install so I can install the 2nd rpm download? I think what I did last night was rpm -e thewholefilename (not just rpm -e xanim). I'll try again tonight.
 
Old 01-11-2002, 02:46 PM   #12
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
When you get home and to the new package, if you still get the package already installed errors, and rpm -e oldpackagefil.src.rpm doesn't work, you can see if you can trick it and instead of the normal rpm -ivh (i think), use the rpm -U option in place of i to upgrade the package. It's something to try...
 
Old 01-11-2002, 06:59 PM   #13
pekuekfir
Member
 
Registered: Jan 2002
Location: San Antonio, Texas
Distribution: mandrake 8.1
Posts: 90

Original Poster
Rep: Reputation: 15
its fixed

went to command line and did rpm -i --replacepkgs on the 2nd rpm download and it worked!! Boy, this is the first downloaded thing I got installed & working. This stuff is pretty easy once you get the hang of it.
10 years of pointing & clicking in Windoze has turned my brain to mush. Feels good to have to think again...
Thanks for the suggestions everyone.
 
Old 01-12-2002, 05:38 PM   #14
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Congrats...Glad to hear you got it taken care of without too much more headache! Yeah, it does get easier it seems, and I think you're right and that the ease of Windows (sorta =) ) has diced our brains to where we don't have to think about what we are doing on a deeper level.
 
  


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
getchar() problem. Read other threads. jstephens84 Programming 3 11-20-2005 05:10 PM
Java threads listed using kill -3 does not contain all threads found using ps -auxww coneheed Programming 2 11-14-2005 09:57 AM
The funniest threads you've read on LQ Mojojo General 6 09-14-2004 09:32 AM
Redhat font problem (I've read many threads) SwoRDF!sH Red Hat 0 08-29-2004 04:07 PM
Audigy Problems (And yes, I've read all the other threads) gsibble Linux - Hardware 2 08-12-2003 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration