LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-30-2015, 07:23 AM   #1
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Rep: Reputation: 3
How to install a bz2 package?


I downloaded some source files in xxxxx.tar.bz2 format.
How would I install a package that is in that format
on slackware?
 
Old 01-30-2015, 07:27 AM   #2
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
you should extract the source and compile it yourself. It might be easier to search for this software at SlackBuilds.org for a ready build script that will do this for you:

http://slackbuilds.org/
 
Old 01-30-2015, 07:29 AM   #3
koloth
Member
 
Registered: Jun 2004
Location: Athens, Greece
Distribution: Slack@Home - RHEL@Work
Posts: 150

Rep: Reputation: 29
Actually, this file most likely is not a package, but contains the source code of the SW you want to install. I would suggest extracting it on a directory (ie /usr/src) and then read the README or INSTALL file usually contained in the pack.
Quote:
tar xvf xxxxx.tar.bz2
cd xxxxx
vi README
 
Old 01-30-2015, 07:54 AM   #4
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I think I tried this and it did not work --> slackpkg install seamonkey.tar.bz2

So I did this (specified current directory) --> slackpkg install ./seamonkey-2.32.tar.bz2



5 minutes of garbage on screen

then please wait for a minute

then 5 minutes of stuff about grep like:
grep: Unmatched [ or [^
grep: Invalid range end
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Invalid range end
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Unmatched [ or [^
grep: Unmatched
then 5 minutes of rotating the characters - / | \
so that it looked like a spinning bar.

then 2 minutes of more grep stuff.

then the rotating bar again for minutes

then more alternating grep stuff and rotating bar forever
I finally did a control-C to get aborted the rotating bar
after about 20 minutes.

To my surprise it got installed, and seems to work.

What a puzzling mess!

Last edited by EldonCool; 01-30-2015 at 07:55 AM.
 
Old 01-30-2015, 07:59 AM   #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
Slackware comes with seamonkey, if you did a full install.

From where did you get that tar file?
 
Old 01-30-2015, 08:01 AM   #6
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I will check out the slackbuilds.org

Thanks all for the help. I guess the problem is fixed, maybe?
 
Old 01-30-2015, 08:07 AM   #7
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I did the full install, and had seamonkey but it was an older
version, but I wanted an update, because they said there was
some security issues with what I had.

I also uninstalled the older version.

I got the newer from this site:
http://www.seamonkey-project.org/releases/

I downloaded the first one at the top of the page version 2.32

...

Last edited by EldonCool; 01-30-2015 at 08:09 AM.
 
Old 01-30-2015, 08:10 AM   #8
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
do you know how to work with slackpkg, how to install and uninstall packages, pkgtool, etc?

may be we start from here
 
Old 01-30-2015, 08:14 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Quote:
Originally Posted by EldonCool View Post
I will check out the slackbuilds.org

Thanks all for the help. I guess the problem is fixed, maybe?
Probably seamonkey was already installed, as Richard Cranium said: it's part of Slackware. That's why you can run it.

You won't find it in slackbuilds.org that ships only packaging material for software not already included in Slackware.

The slackpkg install command is only for Slackware package, and seamonkey.tar.bz2 is not a Slackware package but a source tarball as koloh said, hence the errors.
 
Old 01-30-2015, 08:19 AM   #10
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Quote:
Originally Posted by EldonCool View Post
I downloaded some source files in xxxxx.tar.bz2 format.
How would I install a package that is in that format
on slackware?
As previously mentioned it is better to use the Sea Monkey that ships with Slackware. However, if you must have the latest package you could try to use gnashley's utility called src2pkg. His utility takes source files and creates a Slackware package that you can install using the installpkg command. That may work for you.

Src2pkg
 
Old 01-30-2015, 08:25 AM   #11
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
Well I guess it is not really fixed. I am using it right now,
but I have to run it as root.

It will not run as a simple user, it gives the following errors when
running it as an ordinary user:

bash-4.2$ seamonkey
1422627568044 addons.manager WARN Application shipped blocklist has an unexpected namespace (http://www.mozilla.org/newlayout/xml/parsererror.xml)
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
Segmentation fault
bash-4.2$

========================
 
Old 01-30-2015, 08:27 AM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Before beginning to use src2pkg or similar tools, it would be better that EldonCool learn to use the Slackware tools.

And in this specific cas, Seamonkey 2.32 has already been provided as an upgrade, so the good way to upgrade is:
Code:
slackpkg update
slackpkg upgrade-all
No need to remove the older version first, slackpkg takes care of that.

Last edited by Didier Spaier; 01-30-2015 at 08:29 AM.
 
Old 01-30-2015, 08:31 AM   #13
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I checked the release notes, and it says I am running version 2.32 so it is the
current one I installed.

Also I uninstalled the original.

But I still have this problem, that it only runs if I am logged in as root.

I have to get on to other things, will get back to this tomorrow, or later
today.

Last edited by EldonCool; 01-30-2015 at 08:36 AM.
 
Old 01-30-2015, 08:38 AM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Quote:
Originally Posted by EldonCool View Post
I checked the release notes, and it says I am running version 2.32 so it is the
current one I installed.

Also I uninstalled the original.

But I still have this problem, that it only runs if I am logged in as root.
You have messed your system, the software was not properly installed.

To check, please provide output of following commands:
Code:
ls -l /var/log/packages/seamonkey-2*
ls -l /var/log/removed_packages/seamonkey-2*

Last edited by Didier Spaier; 01-30-2015 at 08:39 AM.
 
Old 01-30-2015, 11:10 AM   #15
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
For most things I just go to a mirror and go into Current and grab the latest version of what I want. So for Sea Monkey I would go to: http://slackware.cs.utah.edu/pub/sla...slackware/xap/ or for 64 bit: http://slackware.cs.utah.edu/pub/sla...ackware64/xap/

And download: seamonkey-2.32-i486-1.txz or seamonkey-2.32-x86_64-1.txz then install it with pkgtool. Sure you could run into an issue where a library needs upgraded or something before the current version will work (haven't seen that yet), but in all these years I have never had an issue getting upgraded versions of software for Slackware right out of current. Quick, simple and flawless. Works for me!

Last edited by Fred-1.2.13; 01-30-2015 at 11:17 AM.
 
  


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
error - No package libusb-1.0.19.tar.bz2 available. on cent os 7 pravinthorushe CentOS 2 10-12-2014 03:49 AM
How do I launch Firefox 7.0a1 Nightly Build from a .bz2 package theif519 Linux - Newbie 6 07-05-2011 10:23 PM
how to install package in tar.bz2?helpp georgie99 Linux - Newbie 5 02-18-2010 03:55 AM
build a debian package deb from tar.bz2 cccc Debian 6 09-17-2009 03:44 PM
How to install ntfs-3g.tar.bz2 Slackware package spiffytech Slackware 6 07-11-2007 11:12 PM

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

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