Find the answer to your Linux question:
Results 1 to 2 of 2
ive been reading that if i wanna install a program without root password i can use a prefix which user has access to can someone please explain this to me ...
  1. #1
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029

    installing programs using prefix

    ive been reading that if i wanna install a program without root password i can use a prefix which user has access to can someone please explain this to me as i cant quite fully understand how to do it thank you

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    During the configure process, you enter the "--prefix=/some/path" flag e.g. to install the package to /home/user/mypackages, you would do something like
    Code:
    $./configure --prefix=/home/user/mypackages
    $make
    $make install
    Some packages like Firefox, Eclipse, RealPlayer etc can be installed in your home directory without any compiling because they are already compiled and include executable files to run the program.

    RPMs, DEBs and other binary packages cannot be installed in your home directory because the path to which they can be installed is fixed and only writable by root.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...