LinuxQuestions.org
Review your favorite Linux distribution.
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, 07:32 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 163

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, 07:36 PM   #2
moisespedro
Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware and LFS
Posts: 940

Rep: Reputation: 108Reputation: 108
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, 07:52 PM   #3
Pinonoir
Member
 
Registered: May 2014
Posts: 163

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, 09:16 PM   #4
moisespedro
Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware and LFS
Posts: 940

Rep: Reputation: 108Reputation: 108
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, 09:20 PM   #5
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 87

Rep: Reputation: Disabled
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, 01:32 AM   #6
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 95

Rep: Reputation: 29
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, 01:44 AM   #7
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 95

Rep: Reputation: 29
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, 05:39 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,039
Blog Entries: 52

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

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

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, 07:55 AM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,039
Blog Entries: 52

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


All times are GMT -5. The time now is 10:15 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