LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-26-2016, 07:39 PM   #1
otl
LQ Newbie
 
Registered: Nov 2013
Distribution: Slackware 14.1
Posts: 2

Rep: Reputation: Disabled
Best practice for running newer version of software than what is available as maintained Slackbuild?


Hi,

I'm new. So far, all the software I've needed have been available as either an official package, at Slackbuilds.org or at Alien Bob's Slackbuilds.

I want to run the software Camlistore. This lists google-go-lang 1.5 as a requirement. The current version at slackbuilds.org is 1.4.3.

I have been googling queries similar to the topic of this post, but have not had any luck. Maybe my lack of knowledge is missing out on some important keywords.

What would be some suggested good procedure in order to run go-lang 1.5, or if applicable, software in general on Slackware in a situation like this? What steps do I typically need to research in order to accomplish it?

Thank you for your time!
 
Old 04-26-2016, 07:49 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Were it I, I would obtain the sources from a reputable location, preferably the maintainer's website, and compile the software from sources, resolving any dependencies as needed.
 
Old 04-26-2016, 07:50 PM   #3
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
You can find the SlackBuild scripts for google-go-lang-1.6.2 here:

https://slackbuilds.org/cgit/slackbu...google-go-lang

Of course you will have to find the sources yourself.

We are at a time where SBo is pretty much frozen pending the release of Slackware 14.2, and this is sort of the holding ground for new SlackBuilds until it is released.

This version should work, but no guarantees.

Last edited by Skaendo; 04-26-2016 at 07:52 PM.
 
1 members found this post helpful.
Old 04-26-2016, 07:53 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Modify the SlackBuild to build the newer version.

In a lot of cases, you don't even have to edit the SlackBuild. You can just do:

Code:
VERSION=0.1.4 ./neovim.SlackBuild
There's an explanation of how SlackBuilds scripts work, here:

http://www.slackwiki.com/Writing_A_SlackBuild_Script

Last edited by dugan; 04-26-2016 at 07:54 PM.
 
5 members found this post helpful.
Old 04-26-2016, 09:36 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by frankbell View Post
Were it I, I would obtain the sources from a reputable location, preferably the maintainer's website, and compile the software from sources, resolving any dependencies as needed.
Yep. If there is a slackbuild for the package, you can normally get away with modifying that.

If there isn't a slackbuild for the package (In the OP's case, there is one so that won't apply for the OP.), then (IMO) you should try the very excellent tool src2pkg (http://distro.ibiblio.org/amigolinux/download/src2pkg/) to do the build for you.
 
1 members found this post helpful.
Old 04-27-2016, 12:34 AM   #6
otl
LQ Newbie
 
Registered: Nov 2013
Distribution: Slackware 14.1
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the help! These were all great replies to me - further reading on SlackBuilds that I needed, and a specific solution to the problem in question.

I tried the version from the slackbuilds.org git repo suggested by Skaendo and it worked well.
 
Old 04-27-2016, 11:05 AM   #7
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
There's a tool called mkslack which can create SlackBuild if you give it a source archive
http://dawoodfall.net/slackbuilds/noversion/mkslack
 
Old 04-27-2016, 08:10 PM   #8
JamesGT
Member
 
Registered: Oct 2009
Location: St. Louis, MO, USA
Distribution: Slackware64 Live
Posts: 300

Rep: Reputation: 51
Quote:
Originally Posted by dugan View Post
Modify the SlackBuild to build the newer version.

In a lot of cases, you don't even have to edit the SlackBuild. You can just do:

Code:
VERSION=0.1.4 ./neovim.SlackBuild
There's an explanation of how SlackBuilds scripts work, here:

http://www.slackwiki.com/Writing_A_SlackBuild_Script
I've done lots of times and it works well!
 
  


Reply



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
Slackbuild scripts I modified for newer versions mralk3 Slackware 5 06-15-2015 07:50 AM
[SOLVED] How to get a newer version of linux-image included when running aptitude update jdkaye Debian 10 03-23-2015 04:28 AM
[SOLVED] modifying Chromium slackbuild script to build newer release? Cultist Slackware 2 03-22-2012 08:40 AM
[SOLVED] How to upgrade software to a newer version? mayursingru Linux - Newbie 8 03-30-2011 11:59 PM
installing newer software from source when older version installed from a slackbuild Cultist Slackware 3 01-04-2011 04:07 PM

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

All times are GMT -5. The time now is 03:57 PM.

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