Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


Search this Thread
Old 06-12-2010, 07:39 PM   #1
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
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

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.
Old 06-12-2010, 07:41 PM   #2
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
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.
Old 06-12-2010, 07:41 PM   #3
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,676

Rep: Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441Reputation: 1441
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.
Old 06-12-2010, 07:43 PM   #4
Registered: Nov 2008
Distribution: slackware 13.37 x86_64 desktop, Slackware-current on laptop
Posts: 43

Rep: Reputation: 2
is src2pkg in slackware 13.1?
Old 06-12-2010, 07:45 PM   #5
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 102Reputation: 102
src2pkg whatever-1.0.tar.gz
installpkg [whatever file that produced]
will install the software?
no need to do the manual make install thing?
Old 06-13-2010, 02:46 AM   #6
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
That will work, but it's always a good idea to have a look on 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about makepkg and installpkg Alexvader Slackware 2 12-22-2009 10:18 AM
Question about installpkg jmdlcar Slackware 7 09-03-2007 10:33 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
installpkg question JROCK1980 Slackware 5 11-13-2003 09:02 PM
Installpkg question BittaBrotha Slackware 3 05-28-2003 12:57 AM

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration