Installing software -going insane


 
Thread Tools Search this Thread
Operating Systems Solaris Installing software -going insane
# 1  
Old 08-29-2013
Tools Installing software -going insane

I have Solaris 10 update 11 installed on a virtual machine which I use for my lunix class (I'm studying I.T. but have little unix experience). So I have root access*

I'm also do C programming in my course and would love to do it on my Solaris machine.

So I looked into installing GCC and Emacs, but both seems to require HEAPS of prerequisite programs to even install.

So I got the Solaris 10 u11 companion cd (which has both). After a long while working out how to actually install all the software on there (none of the guides steps worked) I some how managed it.

I created a file called 'admin' in /var/tmp/ as per guides as to what I wrote in it and went to the ISO's packages directory and ran a similar command to the one mentioned in the install guide.

The installer ran through and installed all 100 bits of software...at least seemed to.

Thing is: typing emacs or gcc does nothing, and I can't seem to prove I even installed any of the other software either.

Did I miss something? I've been searching for ages but there's no info anywhere. I wish software was less complex to install on Solaris ugh.

I hope this post isn't too long winded, I just wanted to give details on what I'd actually done and tried so far. Thanks!
# 2  
Old 08-29-2013
It was probably installed in some custom path. Try doing this:
Code:
find /opt /usr -name gcc

# 3  
Old 08-29-2013
The good news is, in Solaris 11, they greatly simplified the installation of software through the use of Oracle support repositories. Now installing GCC is as simple as this:
Code:
#pkg install gcc-3-runtime

# 4  
Old 08-29-2013
Quote:
Originally Posted by goformickey
So I looked into installing GCC and Emacs, but both seems to require HEAPS of prerequisite programs to even install.
gcc is already present in most installations outside the minimized ones in /usr/sfw/bin/gcc.
emacs is however missing so must be installed should you really need it.
Quote:
So I got the Solaris 10 u11 companion cd (which has both). After a long while working out how to actually install all the software on there (none of the guides steps worked) I some how managed it.
SVR4 packaging doesn't automatically handle dependancies, that's one of the reason Solaris switched to a new packaging system with Solaris 11.
Quote:
Thing is: typing emacs or gcc does nothing, and I can't seem to prove I even installed any of the other software either.

Did I miss something?
Yes, you very likely miss to set the PATH variable for the installed commands to be reachable.
Code:
PATH=$PATH:/usr/sfw/bin:/opt/sfw/bin:/usr/local/bin

would be a good start.
Again, Solaris 11 has simplified this area.
# 5  
Old 08-29-2013
Quote:
Originally Posted by jlliagre
gcc is already present in most installations outside the minimized ones in /usr/sfw/bin/gcc.
emacs is however missing so must be installed should you really need it.
SVR4 packaging doesn't automatically handle dependancies, that's one of the reason Solaris switched to a new packaging system with Solaris 11.

Yes, you very likely miss to set the PATH variable for the installed commands to be reachable.
Code:
PATH=$PATH:/usr/sfw/bin:/opt/sfw/bin:/usr/local/bin

would be a good start.
Again, Solaris 11 has simplified this area.
Sorry my knowledge is limited to the last few weeks, what exactly is the course of action I take now to get emacs and gcc working via commands?

Do I need to add
Code:
PATH=$PATH:/usr/sfw/bin:/opt/sfw/bin:/usr/local/bin

to the passwd file or something?

EDIT: It should be worth noting that I'm wanting to get the command line version of emacs working, is this installed along with the gui version? I was able to open the gui version by finding the install with the find command mentioned above.

Thanks!

By the way is Solaris 11 significantly better than 10 u11 or should I just keep on using 10?

Last edited by goformickey; 08-29-2013 at 09:20 AM..
# 6  
Old 08-29-2013
Quote:
Originally Posted by goformickey
Sorry my knowledge is limited to the last few weeks, what exactly is the course of action I take now to get emacs and gcc working via commands?

Do I need to add
Code:
PATH=$PATH:/usr/sfw/bin:/opt/sfw/bin:/usr/local/bin

to the passwd file or something?
Just type these commands on the CLI but the effect would be limited to the current terminal windows. For a persisting change, you can add this line in your .profile file ($HOME/.profile).
Quote:
By the way is Solaris 11 significantly better than 10 u11 or should I just keep on using 10?
It is significantly better and different than Solaris 10. If you have no experience with previous Solaris versions, starting with Solaris 11 would certainly be a better option.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Installing software other than default directory

Hi, I'm using the command(swinstall -s product.pkg product1.cbin) to install software(product1). Here by default the installation is happening on the location(/opt/). Whereas I want the installation directory to be a different one (eg. /sw/). Is there any specific command which will help me to... (1 Reply)
Discussion started by: Thunderbird288
1 Replies

2. Solaris

Help installing WINE and other software

ive installed the open solaris 9 and i have downloaded wine but i dont have a clue how to install it ive unzipd the file but when i click it it just does nothing it opens but its just files im new to solaris i would realy like to know how to install and run programs like vlc player and things any... (19 Replies)
Discussion started by: drdex
19 Replies

3. Solaris

Problem installing the software HDLM

I'm trying to install the software HDLM (Hitachi Dynamic Link Manager) and is presenting the following message: -Bash-3.00 #./Installhdlm In KAPL09187-W parameter is specified. I do not know which parameter is that? (3 Replies)
Discussion started by: to.brunoaugusto
3 Replies

4. Solaris

Problem installing the software HDLM

Estou tentando instalar o software de HDLM ( Hitachi Dynamic Link Manager ) e está apresentando a seguinte mensagem: -bash-3.00# ./installhdlm KAPL09187-W No parameter is specified. Não sei que parameter é esse ? (1 Reply)
Discussion started by: to.brunoaugusto
1 Replies

5. Solaris

How to decide installing a Software group

Hello, I need to install a Jboss AS 4.2 asap. But I dont want to use the GUI. I need to install a solaris 10 server with the minimal packages but I dont know how deep I should customize and select the packages. You guys , how you decide to select a package installation level ? Each server's... (7 Replies)
Discussion started by: shadowfaxxxx
7 Replies

6. UNIX Desktop Questions & Answers

Installing software

Greetings, all. I'm a newcomer here, and I appreciate the forum to ask questions. Here is the situation: I am installing software on a network hard-drive (NAS), to add functionality to it. The OS is in a read-only flash partition. Someone else hacked the firmware to install Busybox on this... (1 Reply)
Discussion started by: jhansen
1 Replies

7. UNIX for Dummies Questions & Answers

Installing Software

Hi all, So I remotly log on to one of the unix boxes we have at work. I want to use a software that is not installed on the server. What's better? to install it locally in my home folder and use it, or to ask the system admin to install it on the server? and what's the main difference? I asuume... (1 Reply)
Discussion started by: Rachel Ross
1 Replies

8. SuSE

installing software

hi, i have installed suse linux (10) at my home. can anyone tell me how do i install the softwares like players , messengers etc. i am new to linux ,i am learning now. can anyone suggest or post any material so that i can easily go through and learn. thanks in advance. vishwa. (6 Replies)
Discussion started by: viswareddy.32
6 Replies

9. UNIX Desktop Questions & Answers

installing new software

Hello, I recently downloaded and installed fedora core 3, and I am triyng to install other software like movie players and so on, when ever I download software for this operating system, I recieve with the software a text file explaining how to install it. The installation instrucions are allways... (1 Reply)
Discussion started by: st_matan
1 Replies

10. UNIX for Dummies Questions & Answers

installing software

when i d/l files from net "/usr/port/editor/koffice then make" i don't know what excactly have to do after when it finnished d/l it and configure i guess what its done downloading file it configures :confused: the file what do i have to do next I use FREEBSD 4.5 (3 Replies)
Discussion started by: challenger
3 Replies
Login or Register to Ask a Question