Installing software -going insane


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris Installing software -going insane
# 1  
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  
It was probably installed in some custom path. Try doing this:
Code:
find /opt /usr -name gcc

# 3  
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  
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  
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 10:20 AM..
# 6  
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 for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #705
Difficulty: Medium
Confirmation bias is the tendency to search for, interpret, favor, and recall information in a way that affirms what we currently believe or think we already know.
True or False?

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. HP-UX

Trouble installing software with swinst

Hello. I am having issues with my HP-UX 10.20 system. It was a functioning system and I don't know where it went awry. Whenever I attempt to use the swinstall or swlist commands, the system hangs and never comes back. This happens whether I use the CDE GUI or via the SIO console. I sometimes... (1 Reply)
Discussion started by: gtraff68
1 Replies

3. 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

4. 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

5. 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

6. 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

7. 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

8. UNIX for Dummies Questions & Answers

Installing Software on Multiple Systems

I have been given the task of installing subversion on rhe4 32 and 64 bit, suse9 ia64, hpux 11.22 ia64, hpux 11.11 pa_risc, solaris 2.8 sparc, and irix 6.5. How can I do this? I know that rhe5 and debian have things like yum and apt for packages. What are the equivalents for these systems? ... (4 Replies)
Discussion started by: ldb88
4 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

Featured Tech Videos