LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ./INSTALL Permission Denied (https://www.linuxquestions.org/questions/linux-newbie-8/install-permission-denied-524506/)

metadox 01-31-2007 05:58 PM

./INSTALL Permission Denied
 
Hey I'm kinda new to Linux and I was doing a search on LQ. I just could not find anything that was relative to what I was doing. Every time I try to ./INSTALL, it says to me Permission denied. I have also tried it under root, sudo, and su, but no go. If anyone can point me to the right direction I would be grateful.

colucix 01-31-2007 06:04 PM

I guess you are trying to install from a .tar.gz and the INSTALL file is contained in the directory you have just untarred. Hmmm... usually INSTALL is a text file containing instruction on how to install the software. You can try
Code:

more INSTALL
or open it with your preferred editor.

jschiwal 01-31-2007 06:15 PM

It sounds like you are trying to install something from source.
The INSTALL file is a text file with instructions on installation, along with the README file.

There probably is a ./configure file you should run instead.
  1. Read the README and INSTALL files.
  2. Optionally run "./configure --help" to learn of options you might want to add when building the package, such as including mp3 support when building xmms or fbdev support building lynx.
  3. run "./configure" plus any optional build options you learned from the last stop.
  4. run "make". This will build the package.
  5. run "sudo make install". This will copy the various files to where you want to put them.

On of the configure options that is very common is to change the base directory of the installation. Often people prefer to use /usr instead of the /usr/local default.

dudeman41465 01-31-2007 06:19 PM

It's a permissions issue, as root run:
Code:

chmod a+x install
That should allow you to run it.

Although the previous post is relevant, if it has files like configure and makefile etc., then you need to follow those instructions on compiling.


All times are GMT -5. The time now is 04:14 AM.