-1

I know there's a lot of questions about downloading .tar.gz files, but I haven't found any that explain my problem. When I'm trying to install these files, using the

./configure
make
sudo make install.

But when I use ./config, it returns bash: ./config: No such file or directory. Same with make and sudo make install. Am I doing wrong, or is there just an error with my computer? As I said, this is not the same question as "how to download .tar.gz files" because I tried their solution and it didn't work. There is no ./configure file to cd into.

James
  • 311

1 Answers1

1

Yes you're doing it wrong. First of all, tar.gz is simply a compressed archive. Think of it as a zip file. There is no guarantee that it will have a configuration script. That said, the default name for the configuration script is configure, not config.

So, the standard operating procedure to install from a source tarball is:

tar xvzf foo.tzr.gz
cd foo
./configure
make
sudo make install
terdon
  • 104,119