Results 1 to 4 of 4

Thread: Package Management in Solaris

  1. #1
    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?

  2. #2
    Join Date
    May 2008
    Posts
    4,570

    Re: Package Management in Solaris

    Hi,
    How to view all the packages that I have installed on my system?
    You can use the command pkginfo and prodreg to do this.
    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.
    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.

  3. #3
    Join Date
    Nov 2009
    Posts
    333

    Re: Package Management in Solaris

    Hi
    Thanks for the useful information provided.
    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.
    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.

  4. #4
    Join Date
    May 2008
    Posts
    4,570

    Re: Package Management in Solaris

    Hi
    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.
    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.
    The current directory is not displayed.
    I think this can be done with ksh shell also.

Similar Threads

  1. App-v package management solution without App-V Server
    By JyotiT in forum Windows Software
    Replies: 3
    Last Post: 05-05-2012, 10:11 AM
  2. What is the placement package given in Birla institute of management technology (BIMTECH)
    By Cavendish in forum Education Career and Job Discussions
    Replies: 4
    Last Post: 10-02-2012, 06:31 PM
  3. Package format in Eee Note Package Manager
    By Sanju!Ekta in forum Portable Devices
    Replies: 6
    Last Post: 11-08-2011, 11:30 PM
  4. Configure Package Management in Ubuntu
    By Carlos16 in forum Operating Systems
    Replies: 3
    Last Post: 10-11-2009, 11:33 PM
  5. Replies: 0
    Last Post: 21-11-2008, 11:49 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,035,082.33454 seconds with 17 queries