OpenSolaris Solaris Forum  
     

Left Nav Register FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum » Solaris General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-07-2010, 06:09 PM
Junior Member
 
Join Date: Jul 2010
Posts: 3
Default start off with installer package

Hello;
I am an experienced linux user. I am in a solaris 10, which i downloaded quite a few years ago, around 2005 or 2006.
I would like to explore a little. The install dvd I acquired was missing the solaris 10 documentation, and also the Enterprise java package. So I am just kind of working in the dark.

I have followed a few links. This is a vm by the way, which should not matter too much. I would like to install some basic beginner documents to go through, so I can at least read my to some competency. The help files I have read assume to have a package manager in place. I don't want to hve to install a whole new .iso to acquire and re-install the whole of solaris. I would just like to get this one going a little more.
I have pkgadd. I don't seem to have a gui package

I have found OpenSolaris/Install Download
and
Package Catalog

I have installed the packages from /dlc.sun.com/osol/ at the bottom of the page. They are in the correct datastream format for pkgadd. I can't utilise any package from the catalog site, everything is not in a format for pkgadd to use. The install link assumes the presence of this pacakge manager.

These links I found only lead me to this opensolaris catag page.
I get the impression there is a distinction between opensolaris and solaris 10.

How do I acquire and install a comprehensive package manager, utilising pkgadd?

thanks

idella
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 07-10-2010, 06:27 AM
Administrator
 
Join Date: May 2008
Location: http://www.google.com
Posts: 50
Default

Why are you trying to install the opensolaris stuff ? just go to the Java download page and you should be able to download package for Solaris 10 which can be installed by pkgadd
you should be able to get the docs by installing the SUNWdoc package


and If you looking for something like apt-get or yum for Solaris 10 ?
prodreg might be an option, have you tried it?
Reply With Quote
  #3 (permalink)  
Old 07-10-2010, 08:18 AM
Junior Member
 
Join Date: Jul 2010
Posts: 3
Default getting started

How do I acquire and install a comprehensive package manager, utilising pkgadd?

Now it looks as if I'm derailed by opensolaris. I shall look for prod reg. What I really needed was a link to the repository page. I've made an attempt and ended up at opensolaris instead of solaris 10.

I shall have to re-check, but the instructions I followed referred to what has to be a gui package manager. That said, I really don't mind using pkgadd in a console. All I know at this point is pkgadd is an installer, and it can install directly from repos. You mention a java download page as if it's a package download page.


I am still in a root userspace. How do you create a user?
I use adduser and a couple of arguements. log out, and the system is missing creating a home directory and everything else by /etc/skel_????. Theere is no home directory made to log into. I just can'tt get going.

In this gnome-like java desktop, there is no user and groups admin tool.

I try to make a home directory, mkdir /home/idella, and the system doesn't do it.

I've got a package called pkg-get which is good. I still need to create a user.

edit:
next day.
admin,

I'm making some progreses, but have these next questions as a result.
This pkg-get script is like you suggested, like apt-get or yum. It draws directly from the repository sites and installs. However, it is installing into
/opt/csw
and thus creating a whole new set of directory paths. I have;

# echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin:/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin
#
# which nano
no nano in /usr/sbin /usr/bin /usr/openwin/bin /bin /usr/ucb /usr/openwin/bin /usr/dt/bin
# whereis nano
nano:
# ls /opt/csw/bin/nano
/opt/csw/bin/nano


Now

# PATH=$PATH:/usr/local/bin:/opt/csw
# echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin:/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin:/usr/local/bin:/opt/csw
# whereis nano
nano:
# which nano
no nano in /usr/sbin /usr/bin /usr/openwin/bin /bin /usr/ucb /usr/openwin/bin /usr/dt/bin
# export PATH=$PATH:/usr/local/bin:/opt/csw
PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin:/usr/local/bin:/opt/csw: is not an identifier
# PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin:/usr/local/bin:/opt/csw
# echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin:/bin:/usr/ucb:/usr/openwin/bin:/usr/dt/bin:/usr/local/bin:/opt/csw
# which nano
no nano in /usr/sbin /usr/bin /usr/openwin/bin /bin /usr/ucb /usr/openwin/bin /usr/dt/bin


and


# echo $MANPATH
/usr/dt/man:/usr/man:/usr/openwin/share/man
# ls /opt/csw/man
fr man1 man1m man3 man5 man7 man8
# man pkg-get
No manual entry for pkg-get.
# man nano
No manual entry for nano.


Any attempt to re-nominate $PATH doesn't stick. How is it done? It should be done via a script in /etc/rc something. Which one? I would anticipate the system will be broken with two separate non-communicating system paths. pkg-get is not updating PATH or MANPATH.

Regular linux gnome has a package called system-config-users, the gui to manage users and groups. What is it called in solaris 10 packages?

The solaris web pages are not so 'user friendly'. I've tried several times to access and acquire this SUNWdoc. Google included, I end up at the sun sites that offer to browse the docs, which are very copious, download pdf versions, which I've done a couple of, but no way do they lead to what is sought; a package site where I can download and /or install the package. I cannot find SUNWdoc.

Also, I think the inital package manager I found reference to is in fact for opensolaris, not solaris 10. I can only deduce they are similar but distinct. I probably don't need a gui manager; as long as this pkg-get doean't break the system completely by utilising an alternate PATH. A CLI installer is fine; it's more like gentoo's emerge.

I finally found the smc. Admin tool. Solves re users.

Last edited by idella; 07-11-2010 at 03:27 PM. Reason: extra info
Reply With Quote
  #4 (permalink)  
Old 07-15-2010, 01:39 PM
Junior Member
 
Join Date: Jul 2010
Posts: 3
Default

admin,

There are a number of questions I have cited in the previous reponse, I may have made some progress, but it was confounded by so many issues.
Can you address the above?
The setting of PATH, the setting of MANPATH.
Is there a link to a website with solaris 10 packages beginning with SUNW?

I installed a few packages and promptly ran out of space.
I finally found the smc, annd the user package was completely missing from the installation

How on earth does solaris list other drive devices
I tries adding another virtual volume to the solaris 10, and aalthough investing much time in it, could not figure ooout what was the other device.
Reply With Quote
  #5 (permalink)  
Old 07-16-2010, 07:20 AM
Administrator
 
Join Date: May 2008
Location: http://www.google.com
Posts: 50
Default

Hi
for solaris packages you can try Sunfreeware - Free and Open Source Software (FOSS) for Sun Microsystem's Solaris

for setting the path, please check
Set PATH permanently in Solaris
the path has to be added in /etc/profile

and I am not sure why you were unable to create the home directory of the user
have you tried with the -d switch ?

try this command
Quote:
useradd -c leo -d /home/leo -m leo
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:28 PM.


Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.