LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   installation commands (https://www.linuxquestions.org/questions/solaris-opensolaris-20/installation-commands-598802/)

mahmoud 11-11-2007 11:19 AM

installation commands
 
Hi
i dont have MAN page on my solaris
what kind of help does solaris use
How do i install
an application on solaris like Mysql or bind or apache
in linux i use rpm
what command do i use in solaris

jlliagre 11-11-2007 11:42 AM

Quote:

Originally Posted by mahmoud (Post 2955302)
Hi
i dont have MAN page on my solaris

That is likely because you didn't choose a developer or a full installation.
Quote:

what kind of help does solaris use
manual pages are the primary source of documentation.
You can browse all Solaris documentation including manual pages on http://docs.sun.com
Quote:

How do i install an application on solaris like Mysql or bind or apache
bind and apache are usually already installed (although perhaps not with your machine as you have a limited installation).
Quote:

in linux i use rpm
what command do i use in solaris
pkgadd (System V standard command)
pkg-get (a wrapper to pkgadd which handles dependancies à la apt-get).
pkg (very new, experimental command found in the Open Solaris Indiana preview).

mahmoud 11-11-2007 12:19 PM

thank i tried that but an erro came up saying
pkgadd: eeror: no package were found in </var/spool/pkg>
i also check that folder and its empty

jlliagre 11-11-2007 03:15 PM

Indeed.
You need to specify the location where the package to be installed is present. Those bundled with the O/S are on the installation media (CD or DVD), otherwise, you'll need to download the package from some repository like sunfreeware or blastwave.

mahmoud 11-12-2007 02:02 AM

how do i copy them from my Cd or DVD to my computer to install

swiswire 11-12-2007 03:29 AM

Quote:

Originally Posted by mahmoud (Post 2955930)
how do i copy them from my Cd or DVD to my computer to install

brilliant question..... need to think abt it actually man

copy from CD/DVD is simple thing ...mount the cd and use 'cp' command to copy the file in ur hdisk

jlliagre 11-12-2007 03:25 PM

Actually, there is no need to copy the files from the CD/DVD to the local disk, you can just install from there. You can also install remote packages as pkgadd supports http URLs.

mahmoud 11-12-2007 04:45 PM

ok thanks do i use the same addpkg command or do i have to point to the cd for it to install it from there

jlliagre 11-13-2007 02:48 AM

The pkgadd manual page will tell you the command supports options like "-d" which will be useful in that case.


All times are GMT -5. The time now is 03:24 AM.