LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2014, 08:32 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Rep: Reputation: 0
Questions about SlackBuilds


I installed SLiM and libdvdcss yesterday. The only problem is that when I search for the package using slackpkg search it returns nothing. How can I put my slackbuild installed packages to where the package updater will find them?
 
Old 06-03-2014, 08:36 PM   #2
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
As far as I know slackpkg only search on the official slackware repository. You could try using slackpkg+ and setting up your own local repository. Or you can go on the command line and type:

ls /var/log/packages | grep "name of the package"
 
Old 06-03-2014, 08:52 PM   #3
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
I tried ls /var/log/packages | grep, and it returned SLim, which is what I wanted. If I wanted to update it easier, how would I go about it?
 
Old 06-03-2014, 10:16 PM   #4
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
You would modify the SlackBuild for the new version, build the package and upgrade it with:

upgradepkg /path/to/package.tgz

For more: http://www.slackbook.org/html/package-management.html
 
Old 06-03-2014, 10:20 PM   #5
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
I wrote a tool called asbt, which may help you..
http://slackbuilds.org/repository/14...t/?search=asbt

A more powerful tool is sbopkg
http://www.sbopkg.org/
 
1 members found this post helpful.
Old 06-04-2014, 02:32 AM   #6
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
If you don't care about being more update to date than the maintainer just follow the ChangeLog.

I do something similar to this:
#Log the date you checked for updates.
head -"$(grep -n '$dateoflastupdate' ChangeLog.txt)" | while read entry ; do sbname=`echo $entry | cut -d: -f1 | cut -d/ -f2` && if [ -n "$(ls /var/log/packages | grep $sbname)" ]; then echo $entry ;fi ;done

It should produce all the info you need when considering an update. just wget the scripts. resolve sources, build and upgrade.

*probably made an error since im on a phone and writing off the top of my head, nevertheless too tedius to double check.. You got the jist I hope
 
Old 06-04-2014, 02:44 AM   #7
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
Yup I think the grep -n out will use a : as a delimeter, pipe the grep to cut -d: -f1

No need for single quptes in that grep -n especially if you'll be setting a var, if you'll just copy and paste keep them.

Also for that date of last update you need to use an existing sbo changelog date, log the current upon updates and use that
 
Old 06-04-2014, 06:39 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Do what aaditya advised, get sbopkg for processing and updating SlackBuilds.

http://www.sbopkg.org/
 
Old 06-04-2014, 08:12 AM   #9
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brianL View Post
Do what aaditya advised, get sbopkg for processing and updating SlackBuilds.

http://www.sbopkg.org/
Just woke up, will give it a try. Also, would it be advisable to move the packages from /tmp?
 
Old 06-04-2014, 08:55 AM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Pinonoir View Post
Also, would it be advisable to move the packages from /tmp?
I suppose you could, if you want. In case you need to reinstall them in the near future.
 
  


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
[SOLVED] SlackBuilds down JWJones Slackware 4 02-03-2014 12:42 PM
Slackbuilds available for 14.0 Mark Pettit Slackware 5 10-03-2012 12:10 PM
[SOLVED] Plan to install SlackBuilds VirtualBox but have some questions first... Robert.Thompson Slackware 10 03-09-2011 04:01 PM
why slackbuilds? icecubeflower Slackware 12 04-11-2010 01:17 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration