LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Just a quick installpkg question (http://www.linuxquestions.org/questions/slackware-14/just-a-quick-installpkg-question-813784/)

Cultist 06-12-2010 07:39 PM

Just a quick installpkg question
 
Does installpkg work for any .tar.gz source file, or does it have to be specifically prepared to work with installpkg?

Like, will

Code:

installpkg whatever-1.0.tar.gz
install whatever tarball I happen to download somewhere?

at my work computer so I can't check for myself atm.

damgar 06-12-2010 07:41 PM

No. Installpkg works on slackware packages which are compiled binaries, not source. Run a slackbuild script and it will build the package. Then you use installpkg.

dugan 06-12-2010 07:41 PM

It has to be specifically prepared to work with installpkg.

The program that does what you're describing (build source packages into Slackware packages) is src2pkg.

tmfizzle 06-12-2010 07:43 PM

is src2pkg in slackware 13.1?

Cultist 06-12-2010 07:45 PM

so
Code:

src2pkg whatever-1.0.tar.gz
installpkg [whatever file that produced]

will install the software?
no need to do the manual make install thing?

dive 06-13-2010 02:46 AM

That will work, but it's always a good idea to have a look on slackbuilds.org to see if someone has made a slackbuild script for the software you want to install already. It's always better to do that rather than use src2pkg, as good as it is. JMO.


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