Solaris - Can it install RPM file?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Solaris - Can it install RPM file?
# 1  
Old 09-14-2005
Solaris - Can it install RPM file?

Currently i just installed solaris 10

now i want to install a package in rpm format which i used to install in Linux

can it install in Solaris 10 as well ?


if yes,what is the command ?

last time in linux i used to type this command #rpm -i xxxxx.rpm

but i tried in linux it not working.
so i assume it not working in linux

anybody have the solution ?
# 2  
Old 09-14-2005
Quote:
Originally Posted by bluefries
last time in linux i used to type this command #rpm -i xxxxx.rpm

but i tried in linux it not working.
so i assume it not working in linux
When you tried it in Linux, what error message did it give ?
# 3  
Old 09-15-2005
In general the answer is no, it won't work in Solaris. There may well be a port of the rpm system for Solaris, I can't say I've every seen one, but then again I've never had any reason to need or look for one. Solaris already has a package management system.

Also if the rpm contains compiled code, it's not going to work anyway.

Last edited by reborg; 09-15-2005 at 08:41 PM.. Reason: conde != code
# 4  
Old 09-15-2005
Solaris has its own package manager. Read the man page for 'pkgadd', 'pkgrm', and 'pkginfo'. If you want to install something that didn't come with Solaris, have a look here:

http://www.sunfreeware.com

There are pre-compiled packages there for almost anything you could want(a lot of things you would take for granted from running Linux). A few sites on the web will have Solaris binary packages available for download, but it isn't as common. If you're not comfortable with downloading and compiling programs from source code, now would be a good time to learn.

Also - yes, you can get the RPM package manager for Solaris -- but as previously stated, you won't be able to install and run precompiled Linux binaries by RPM. I guess you could use it to install source RPMs, or use it to create&install your own Solaris binary RPMs, but it would make a lot more sense to just create&install Solaris packages instead(pkgmk).
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Yum, rpm, apt-get install command not found in Solaris

I am using solaris 10 yum command not found apt-get install command not found rpm command not found how to use yum and apt-get command in solaris how to install dhcp, openldap-servers packages in solaris (4 Replies)
Discussion started by: ainstin
4 Replies

2. Red Hat

INSTALL RPM's IN RHEL 5.5

After checking the dependencies from below command:- yum deplist gcc Update:- Now when I tried to install the very first dependency , it gave the below error, I guess something is wrong with YUM server itself :P ... (1 Reply)
Discussion started by: manish131081
1 Replies

3. UNIX for Advanced & Expert Users

How to install .rpm file from a directory using yum?

Hello Everybody, I am having a cluster which is not connected to internet. I want to check its performance do I downloaded required packages from the internet and copied them in a particular folder. As per the instructions given at http:... (6 Replies)
Discussion started by: albertspade
6 Replies

4. Fedora

Install RPM package after OS Installation

Hi Guys I want to know whether is it possible to automatically Install a RPM package after installing OS. Basically we have have one rpm package which we want to install as part of OS installation . Please Suggest (3 Replies)
Discussion started by: mr_deb
3 Replies

5. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

6. UNIX for Dummies Questions & Answers

RPM install problem

I'm trying to install mysql on a server, but I keep getting an error. Can anyone offer any help? Below I've listed a bunch of info that you might find helpful. Here are the commands I'm using. $ ls MySQL-client-community-5.1.35-0.rhel3.i386.rpm... (2 Replies)
Discussion started by: wsetchell
2 Replies

7. UNIX for Dummies Questions & Answers

RPM uninstall/install

Running FC5 on a Dell desktop. When I compile a LaTex file, it goes fine but only outlines blank boxes where figs should be. When I send the figs.eps and Tex file to a friend, his compiles and imbeds the fig. in the text of the DVI output using my files without add'nl control cards. I conclude... (1 Reply)
Discussion started by: blann
1 Replies

8. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

9. UNIX for Dummies Questions & Answers

how to install rpm to specific directory

Hi, For example, I want to install abc.rpm to /abc directory. How can I do that? Please help. (2 Replies)
Discussion started by: beeloo
2 Replies

10. Shell Programming and Scripting

How to install expect rpm?

Hi , I am tryin to install expect rpm on my linux machine. I have the source file expect-5.42.1-1.src.rpm I am doin this rpm -ivh expect-5.42.1-1.src.rpm But I am gettin this error warning: expect-5.42.1-1.src.rpm: V3 DSA signature : NOKEY, key ID db42a60e error: cannot... (1 Reply)
Discussion started by: eamani_sun
1 Replies
Login or Register to Ask a Question