LinuxQuestions.org
Help answer threads with 0 replies.
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 02-05-2012, 11:52 PM   #1
kvm1983
Member
 
Registered: Jul 2009
Posts: 47

Rep: Reputation: 1
How to update third-party software


Hi all,
How to you update third-party software on slackware? I recently installed Libreoffice and since it is not a part of the official slackware packages, slackpkg wont update it. So how should I keep such packages updated?

Thanks.
 
Old 02-05-2012, 11:57 PM   #2
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
Why wouldn't you use the same mechanism that you used to get/create the package you installed in the first place?
 
Old 02-06-2012, 01:59 AM   #3
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
The usual way is to run upgradepkg whateverlatestpackage.tgz as root. You need to either do this from the same directory or give the full path to the package. Where you get the package from depends. If you are using Eric's build then you either wait for him to do a new pkg or use his slackbuild or the slackbuild from slackbuilds.org to build the source. Read this

http://www.slackbook.org/html/packag...utilities.html

As your question indicates that you haven't read the documentation that comes on the slackware dvd, I suggest that you do that.

You may want to take a look at sbopkg. It provides an lazy way of using slackbuilds.org and has an update feature.

Last edited by Phorize; 02-06-2012 at 02:03 AM.
 
1 members found this post helpful.
Old 02-06-2012, 02:03 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by kvm1983 View Post
Hi all,
How to you update third-party software on slackware? I recently installed Libreoffice and since it is not a part of the official slackware packages, slackpkg wont update it. So how should I keep such packages updated?

Thanks.
If you used a SlackBuild from slackbuilds.org, you can use sbopkg to check for updates and rebuild packages. On the first screen of the curses interface, see the "Updates" option. Alternatively use the '-c' switch on the command line to view a list of packages that are out of date.

Edit: For these to work you will need to have run "Sync" (or '-r') occasionally to ensure the local copies of the build scripts are up to date.

Last edited by ruario; 02-06-2012 at 02:10 AM. Reason: Added links to slackbuilds.org and sbopkg.org and some info about syncing
 
Old 02-06-2012, 02:16 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by kvm1983 View Post
Hi all,
How to you update third-party software on slackware? I recently installed Libreoffice and since it is not a part of the official slackware packages, slackpkg wont update it. So how should I keep such packages updated?

Thanks.
If you used my package, you can subscribe to the repository RSS feed which will keep you informed of any updates: http://slackware.com/~alien/slackbuilds/ChangeLog.rss

Eric
 
Old 02-06-2012, 09:53 AM   #6
vrp
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by kristizz View Post
As your question indicates that you haven't read the documentation that comes on the slackware dvd, I suggest that you do that.
He clearly has read the official documentation, and then rightly noted that it doesn't apply to third-party packages.


Quote:
Originally Posted by kvm1983
How to you update third-party software on slackware? I recently installed Libreoffice and since it is not a part of the official slackware packages, slackpkg wont update it. So how should I keep such packages updated?
The Slackbuilds website also has a RSS feed for updates if you decide not to use the excellent sbopkg tool.
 
Old 02-06-2012, 10:32 AM   #7
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Quote:
Originally Posted by vrp View Post
He clearly has read the official documentation, and then rightly noted that it doesn't apply to third-party packages.
The link I provided explains that the slackware package utilities can be used to install, remove or upgrade a correctly built slackware package-it doesn't qualify this on the grounds of, or even mention, package origin.
 
Old 02-06-2012, 10:38 AM   #8
kvm1983
Member
 
Registered: Jul 2009
Posts: 47

Original Poster
Rep: Reputation: 1
So I have to download an updated third-party software package and then upgrade it using upgrade-pkg? Is there something similar to slackpkg where I can do

slackpkg update
slackpkg upgrade-all
 
Old 02-06-2012, 10:58 AM   #9
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Quote:
Originally Posted by kvm1983 View Post
So I have to download an updated third-party software package and then upgrade it using upgrade-pkg? Is there something similar to slackpkg where I can do

slackpkg update
slackpkg upgrade-all
Slackpkg checks a repository (set in /etc/slackpkg/sources) and compares installed package versions to the ones on the repo. As your upgrade is for a package that was installed locally, not from a repo in your sources list, you can't use slackpkg to upgrade it.

I recommend that you either manage upgrades individually (this is ok if you only have a few 3rd party packages installed) or get to know slackbuilds.org

You can get sbopkg from here:

http://code.google.com/p/sbopkg/

This will allow you to install/remove packages built from slackbuilds.org. It has an update tool that updates all packages from the slackbuilds.org repo. That said, not all of the packages in slackbuilds are updated quickly, so this is not a reliable way of getting updates on time. To be sure of the latest version you would need to check manually and inevitably learn to use a slackbuild to build packages locally, I strongly recommend that you read the slackbook pages on package management if you haven't already.
 
1 members found this post helpful.
Old 02-06-2012, 11:54 AM   #10
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60
How did you install libreoffice? If you went through slackbuilds.org or Alien Bob's packages, you should have a libreoffice file in /var/log/packages. Acquire a new package the same way then use 'upgradepkg.'

If you used a different installation method you should uninstall it first if that's possible, then build or download a new slackware package and run 'installpkg' on it.
 
1 members found this post helpful.
Old 02-06-2012, 01:38 PM   #11
kvm1983
Member
 
Registered: Jul 2009
Posts: 47

Original Poster
Rep: Reputation: 1
Thank you all. I will look at slackbuilds and sbopkg. That answers my question.
I had installed Libreoffice by getting the source, and not through slackbuilds.
 
Old 02-06-2012, 01:41 PM   #12
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Quote:
Originally Posted by kvm1983 View Post
Thank you all. I will look at slackbuilds and sbopkg. That answers my question.
I had installed Libreoffice by getting the source, and not through slackbuilds.
If you installed it from a source without using a slackbuild script then you'll need to uninstall it before doing anything else.
 
1 members found this post helpful.
Old 02-06-2012, 04:03 PM   #13
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Slackware and Debian
Posts: 139
Blog Entries: 1

Rep: Reputation: 20
Here is how i installed-upgraded LibreOffice ;

download packages from LibreOffice ;

tar -xzvf version of libreoffice;

su - ;

cd /home/myname/ version of just downloaded untarred , libreoffice;

ls;

cd RPMS ;

rpm2tgz *.rpm ;

installpkg *.tgz ;
or;upgradepkg *.tgz if previous version installed.

So far so good...busby

Last edited by nutronix; 02-06-2012 at 04:14 PM. Reason: for clarity
 
  


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
Third Party Software? JM Aggie08 Linux - Desktop 2 10-08-2006 11:42 PM
Lan Party software Zuggy Linux - Software 0 11-27-2004 01:15 PM
Installing new third party software from a CD jackpotrobot Linux - Newbie 1 03-09-2004 03:43 PM
SUSE 8.1 installing 3rd party software wingmaker Linux - Newbie 1 11-26-2002 11:00 PM
Installing third party software. marksstroud Linux - Newbie 1 11-09-2001 06:23 PM

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

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