LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 10-05-2003, 11:00 PM   #1
Ikik
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Rep: Reputation: 15
installing rpm and tgz packages??


Hi, i got some questions on installing packages into linux box (mdk), hope someone can help me

usually if i installed rpm packages ex test.rpm into linux after that i run rpm -q test , it will return test packages name, but if i installed it using tgz file .. when i run rpm to query the packages it always return "packges" not installed ??

is there any command i should run to update the database first or it is always like this?

thanks
 
Old 10-06-2003, 08:22 AM   #2
dkloes
Member
 
Registered: Oct 2003
Posts: 66

Rep: Reputation: 15
What is the name of the file you are trying to install? The name indicates the actions and the order. .tgz means it is a tar zipped file.
 
Old 10-06-2003, 08:37 AM   #3
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
what i think he is saying is: he installed an app from source, he has the rpm for it, when he runs the test, the rpm says its not installed.

good question, i dont know, normally if i come across something that has to be installed using rpm and they complain that other rpm packages need to be installed (even tough they are installed from source), i force the installation.

maybe someone else knows the answer to this?
 
Old 10-06-2003, 04:36 PM   #4
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
Wel bro, that's because rpm keeps track of what has been installed in an datebase file. But only stuff that's installed via rpm get in to the database.
That means, say I want to install something with an rpm package, but it has an dependancy on something else. I will have to install that dependency with an rpm as well because else rpm won't know the package has been installed.
Some one pleace correct me if i'm wrong, but I think i'm dead on.

p.s. don't kill me because I spelled dependancy (or who ever the hell you spell it) wrong.

Last edited by schatoor; 10-06-2003 at 04:38 PM.
 
Old 10-06-2003, 08:10 PM   #5
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,472

Rep: Reputation: 154Reputation: 154
"is there any command i should run to update the database first or it is always like this?"

You can use checkinstall to turn a tar.gz install into a rpm install. the command sequence is:

./configure
make
checkinstall

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


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 10-07-2003, 02:57 AM   #6
Ikik
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Original Poster
Rep: Reputation: 15
yes Gill Bates that's what i meant

Thanks Jailbait , the "checkinstall" program really works
i can query any tgz files i installed now

thumbs up to the guru
 
Old 10-07-2003, 08:00 AM   #7
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
u learn something new everyday

tata
 
  


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
Installing .tgz (Slackware packages) on other distros deadjoebob Linux - Newbie 3 06-10-2004 10:54 AM
Hard Time Installing Packages That Don't Already Come in *.tgz Format linguae Slackware 7 05-23-2004 04:09 PM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 12:14 PM
Installing source and RPM DEB or TGZ nny0000 Linux - General 2 11-20-2003 07:53 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM


All times are GMT -5. The time now is 01:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration