LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-25-2003, 09:07 PM   #1
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Rep: Reputation: 42
RPM Package Question.


If I have an RPM package, can I use it with Peanut Linux, Alt Linux or Debian ? In other words are RPM packages common for all systems ? Or does each type of Linux have its own RPM system ? Thanks.

Vijay
 
Old 09-25-2003, 09:16 PM   #2
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
Debian doesn't use RPM, but there is a utility called alien that can convert rpms into a Debian package.

Steve
 
Old 09-25-2003, 09:16 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
In some cases yes you can install RPM's on other systems besides like Redhat or Mandrake, etc. But keep in mind, you will need RPM/Database installed to install RPM's... etc.

In some cases though, if it states its an RPM built for lets say Redhat 9, might be a good chance it will only work on Redhat 9, either that or you might run into some problems installing.
 
Old 09-25-2003, 09:18 PM   #4
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Debian uses something call aptget. RPM stands for Redhat Package Manager. RPMs will work in Redhat based distros. So you can use them on Redhat, Mandrake and I think even slackware supports RPMs. To install a program on an linux distrobution just download the source and compile it. Learn more about compiling here
 
Old 09-25-2003, 09:32 PM   #5
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 42
Quote:
Originally posted by darin3200
Debian uses something call aptget. RPM stands for Redhat Package Manager. RPMs will work in Redhat based distros. So you can use them on Redhat, Mandrake and I think even slackware supports RPMs. To install a program on an linux distrobution just download the source and compile it. Learn more about compiling here
Thanks. This is very good to know. However, I had severe problems with compiling packages for Vector Linux from Source. Several error messages, libraries didn't install well etc., So, I am very discouraged in this regard.

Once I have a package compiled for Vector Linux, can all other users of VL use it or will the package work only on my PC ? Thanks.

Vijay
 
Old 09-26-2003, 08:35 PM   #6
Rodzilla
LQ Newbie
 
Registered: Sep 2003
Location: Easton, PA
Distribution: Right now? Mepis
Posts: 25

Rep: Reputation: 15
Quote:
[i]Learn more about compiling here [/B]
This seems to be a great little "how-to". However, it states in the third paragraph ...

""You will want to download the source to the following directory: /usr/local/src "

When I attempt to do this the system tells me, "Access Denied"

I'm using Mandrake 9.1 with KDE and logged on as a "normal" user. What am I missing here? Can anyone enlighten me?

Thanks a bunch!!
 
Old 09-26-2003, 08:46 PM   #7
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
well the reason you don't have access is because you aren't root. what i would do is just download the file to your home directory and then move it with your terminal

$ su
:enter password:
$ mv file /usr/local/src

and carry out your installation from there ^_^
 
Old 09-26-2003, 08:53 PM   #8
Rodzilla
LQ Newbie
 
Registered: Sep 2003
Location: Easton, PA
Distribution: Right now? Mepis
Posts: 25

Rep: Reputation: 15
you are THE MAN, GT!

Thanks a million!!!

By the way, other than the /home/<user name> folder, where else "should" a non-root user have read/write privileges?
 
Old 09-26-2003, 09:03 PM   #9
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
i dont have any folders (other than those in my /home directory) open to normal users, and i have absolutely no problems. i would recommend you keep it like that for safety reasons (you wouldn't want to accidently delete important files ^_^) the only time ive changed something is so i could edit some shell scripts i made that were in my /usr/bin directory (so i wouldn't have to become root to make changes to it).
 
Old 09-26-2003, 09:05 PM   #10
Greyweather
Member
 
Registered: Aug 2003
Distribution: Ubuntu 4.10
Posts: 311

Rep: Reputation: 30
"Once I have a package compiled for Vector Linux, can all other users of VL use it or will the package work only on my PC ?"

Vector 4.0 and 3.2 use different binary formats, but if they have the same version of Vector as you they should be able to use it if you did it right. Also, someone with a compatable version of Slackware (9.x and 8.x repectively) should be able to use them.
 
  


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
RPM package DanielTan Linux - Software 7 10-12-2005 02:39 AM
building rpm package question hct224 Linux - Newbie 2 09-02-2004 05:41 AM
AS 2.1 RPM package dvong3 Linux - Software 0 11-07-2003 03:47 AM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM
RPM Package Linux_ss Linux - General 2 01-27-2003 12:27 PM


All times are GMT -5. The time now is 12:23 PM.

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