Helpful Information
 
 
Category: UNIX Help
installing cc without root access

Hello friends.

I am in a server that didn't installed cc compiler, and I need to install some perl module that needed to be compiled. I checked gcc download page and that itself needs a cc to compile. I running around the loops here. I know cc may install using root to add from Solaris optional package, but I am not root. Am I able to to install the cc compiler without root access to the server?

Thanks.

Originally posted by digitsnake
Hello friends.

I am in a server that didn't installed cc compiler, and I need to install some perl module that needed to be compiled. I checked gcc download page and that itself needs a cc to compile. I running around the loops here. I know cc may install using root to add from Solaris optional package, but I am not root. Am I able to to install the cc compiler without root access to the server?

Thanks.
You should be able to just download and install anything you want in your own home directory. With no compiler, you'll have to find pre-compiled binaries (and since it's not your system, statically linked ones would be best so you don't have to worry about library versions of things cc may need). I don't know where you'd get statically-linked cc binaries, but you may be able to Google for them successfully. I'd suggest installing any binaries in ~/bin, and adding that to the end of your path. Then you should be able to compile whatever you need.










privacy (GDPR)