Re: install from user

Eric Koldeweij <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
Installing RPM's is not possible without root permission. However, any 
user can compile and use anything from source as long as:

- The application tries not to open privileged network ports (i.e. ports 
< 1024)
- The application does not access files not readable for that user
Well, in short, anything the user is allowed to.

As a mortal user, you're probably best off downloading the source 
tarballs instead of source RPMs. Most of them come with a configure 
script, which makes installing pretty easy
What I always used to do was to execute those configure scripts with 
option "--prefix=$HOME"
This will usually create a bin directory in your home dir where the 
applications get installed. Just add that dir to your $PATH and you'll 
be able to use the apps with ease.

To point out the possibilities, I can remember installing and using my 
own-compiled gcc, mysql, xmms, glib, gtk, mozilla, window manager, 
snavigator and many more. I even used to run apache from port 8080. All 
as non-root user.

Eric.

upendra wrote:

>Hi all
>Is it possible for any ordinary user to install
>
>1.any rpm file with rpm command (playin around with
>switches and w/o sudo and root permission)
>2.compile a source distribution with gcc and install
>it for his own use
>
>in both cases he will be the only one to use the
>installed application
>
>thanking you,
>upendra
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.