Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

install package in arch linux: $make?

After i downloaded a linux package from official webpage in *.gz format. (foo2zjs.tar.gz)

After i unpack the gz file by $tar abc.gz; it will create of folder called foo2zjs in my current folder.

After i execute the $make command and "$make install", it will generate some file, and copies files into each individual location where it think it should..

After that, can i simply delete the foo2zjs folder that i have unzipped into my current folder ? Or that folder will be  the folder where the program reside permanently like those of windows software folder ?

thx

Update:

BigE , Good that you have pointed that out.

$tar zxf foo2zjs.tar.gz

2 Answers

Relevance
  • 3 months ago

    Summary

    Download the source tarball of the software to package.

    Try compiling the package and installing it into an arbitrary directory.

    Copy over the prototype /usr/share/pacman/PKGBUILD. ...

    Edit the PKGBUILD according to the needs of your package.

    Run makepkg and check whether the package builds correctly.

  • BigE
    Lv 7
    3 months ago

    First, you commands don't make sense.  A .gz will not be extracted by tar without options.  But since it worked (you were able to issue make and make install and did not see errors).

    Most installs use configure which you run before make to create the makefile and install paths.  The default path is most likely /usr/local.  You can verify this by running "make -n install", -n is echo what it will do without doing it.

    Once make install is completed, the install dir is not referenced or needed.  But I would keep it for a few weeks in case you made a mistake or have to run configure to get different options enabled.

Still have questions? Get your answers by asking now.