LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

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

Rep: Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415Reputation: 1415
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
tmfizzle
Member
 
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
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 101Reputation: 101
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?
 
Old 06-13-2010, 02:46 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,203

Rep: Reputation: 292Reputation: 292Reputation: 292
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.
 
  


Reply


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 03:37 PM.

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