Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Package Management in Solaris

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 25-11-2009
Member
 
Join Date: Nov 2009
Posts: 333
Package Management in Solaris
  

Hi
For a few years now I have been using slackware, so decide to move on to Solaris. I have recently purchased a new computer and installed solaris 10 on it. Now I am working with solaris, but I have some issues in that.
1) Package Management in Solaris - Solaris uses pkgadd to install the packages. I just downloaded the packages from the repository, unzipped and installed. Are there any better way to do this task? How to view all the packages that I have installed on my system? How can i remove and upgrade a package.
2) How can I sort my PATH properly? I think it is currently showing to /usr/sbin. I know there more than this to add. wget works when I am adding some a path. But I think there is some thing more and how can I make this permanent?
3) I always like bash but the default shell is /bin/sh. Is there a way to make the bash shell default? Where to set the bashrc file?

Reply With Quote
  #2  
Old 25-11-2009
Member
 
Join Date: May 2008
Posts: 4,562
Re: Package Management in Solaris

Hi,
Quote:
How to view all the packages that I have installed on my system?
You can use the command pkginfo and prodreg to do this.
Quote:
How can i remove and upgrade a package.
for doing the same you can use pkgrm then pkgadd to add a software. You can also use pkg-get which handles the version check, dependencies and updates.
Quote:
I always like bash but the default shell is /bin/sh. Is there a way to make the bash shell default? Where to set the bashrc file?
Firstly switch to the root account and then change the user shell by using the command "passwd -e". My advice to you is set the root shell as bash and create an alias account instead. You said you are scared by the /etc/profile, what scares you in the file. Also if you do not know about this file do not make changes in the file you may mess your system.
Reply With Quote
  #3  
Old 25-11-2009
Member
 
Join Date: Nov 2009
Posts: 333
Re: Package Management in Solaris

Hi
Thanks for the useful information provided.
Quote:
You can use the command pkginfo and prodreg to do this.
That works really very well, I have not tried the pkg-get but I will soon try it.
Quote:
You said you are scared by the /etc/profile, what scares you in the file.
I think this is the problem of the shell. When I press the back space to delete ^H is displayed. Event the delete button displays ^[[3~. To complete any command name I can not use the tab button. The current directory is not displayed. These are some of the problems. Lot of the programs that I was looking for were in /usr/swf/bin. But when I install any packages it is installed to the /usr/local/ by default. Any advice or suggestion on that.
Reply With Quote
  #4  
Old 25-11-2009
Member
 
Join Date: May 2008
Posts: 4,562
Re: Package Management in Solaris

Hi
Quote:
But when I install any packages it is installed to the /usr/local/ by default
The /usr directory is only for all the software's with the solaris operating system. If you want to store the file at your desired location then create a directory /pot/local and make /usr/local a symbolic link. Additionally the /opt directory is for storing add-on software to the system.
Quote:
To complete any command name I can not use the tab button.
I am sorry for that but it is the feature of a bash shell.
Quote:
The current directory is not displayed.
I think this can be done with ksh shell also.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Package Management in Solaris"
Thread Thread Starter Forum Replies Last Post
App-v package management solution without App-V Server JyotiT Windows Software 3 05-05-2012 10:11 AM
What is the placement package given in Birla institute of management technology (BIMTECH) Cavendish Education Career and Job Discussions 4 10-02-2012 05:31 PM
Package format in Eee Note Package Manager Sanju!Ekta Portable Devices 6 11-08-2011 11:30 PM
Configure Package Management in Ubuntu Carlos16 Operating Systems 3 10-11-2009 10:33 PM
Study Diploma in Tourism & Hospitality Management from Nanyang Institute of Management – BMA INDIA Educated Education Career and Job Discussions 0 21-11-2008 10:49 AM


All times are GMT +5.5. The time now is 11:03 PM.