LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-25-2004, 10:05 PM   #1
reedlinux
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
installing an rpm in mandrake 10?


i am trying to make a clean break from windows and am using mandrake 10. it's an amazing OS but i have no idea what happens when i install an RPM (kaffeine).

1. i save it to my desktop.
2. i double click on it and get the gmessage "You are about to install the following software package on your computer:/home/chris/Desktop/kaffeine-0.4-1.i386.rpm
You may prefer to just save it. What is your choice?"
3. i click on the install button and then it says it is installed. where did it go?

i've tried this with the same result with other rpms's. please give me a few consecutive steps to follow.

thank you
 
Old 03-25-2004, 11:12 PM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
The program binary (like and exe file) will have gone into one of the searchable $PATHS.

type

echo $PATH

to see where the computer looks when you type a command.


a way to find where the binary is, is to type

rpm -ql thePackageName

do not put the .rpm at the end for example if I has a package called apache-1.4.3-i386.rpm I might type

rpm -ql apache-1.4.3

and it will display all the files associated with apache. Look through the listing and find the names of the files that are in /bin or /sbin or something like that because these are the programs which will load the program you have installed.

after that you can just the the name of the file into the command prompt and it will load up. Somethimes they will automatically add to the main menu but a lot of the time thry wont.

-jax
 
Old 03-26-2004, 01:07 AM   #3
reedlinux
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
now for tarballs...

the rpm instructions worked perfectly. thanks. what steps do take when you download a tarball to the desktop? similar?

many many thanks!
 
Old 03-26-2004, 05:16 AM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
A tarball usually contains a programs source. There are installation instructions in an Install file in the tarball. The general procedure is ./configure , make, make install.
Rpms are packaged compiled source.
 
Old 03-26-2004, 09:39 PM   #5
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
download checkinstall

http://asic-linux.com.mx/~izto/checkinstall/

this program allows you to install source code in rpm format so that you do not have to fill your dirve with the uninstall programs and waste space on you PC. This also allows you to manage you system easier as you can use all the rpm functionality on the program such as upgrading, removing etc.

-jax
 
Old 03-26-2004, 09:42 PM   #6
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
oh and to answer your question about tarball files use this proceedure

use -zxf for .tar.gz and -jxf for .tar.bz2

tar -zxf mytarballfile.tar.gz

this will extract the contents.

then go into the newely created directory and type

./configure

make

checkinstall make install

this is assuming you have downloaded and installed checkinstall.

otherwise juse use

make install
 
  


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
newbie in linux-mandrake; installing .rpm vmware for linux jet_espinal Mandriva 2 11-02-2006 06:06 AM
Trouble installing packages using rpm on Mandrake 10.0 Harry Seldon Linux - Software 2 08-05-2005 02:21 PM
Installing from non rpm in Mandrake 10.0 Blazta Linux - Newbie 6 09-11-2004 07:05 PM
Problem installing Mandrake kernel source rpm Gibson Linux - Newbie 4 07-30-2004 01:42 PM
Installing RPM-4 ugge Linux - General 5 04-09-2001 12:43 AM

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

All times are GMT -5. The time now is 04:47 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