LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2004, 05:39 PM   #1
friendklay
Member
 
Registered: Jan 2003
Posts: 36

Rep: Reputation: 15
How to use installpkg on .bz2 files???


Dear Gurus,
I am running Slackware 10, and just downloaded all the Gnome 2.8 packages using .bz2 instead of .tgz.

It seems installpkg can only use .tgz and not .bz2 files. What do I do now? Compile them manually? Please help
 
Old 09-19-2004, 06:20 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Yes. First you untar them with tar -xvjf <packagename.bz2>
Then cd to the directory that makes and run as normal user
./configure
make
su -c "make install"

or you can d/l checkinstall and use it. With checkinstall you issue
./configure
make
su -c "checkinstall" (rather than make install)
and it will create a Slack package for you. So if you want to
uninstall the program, you can use removepkg.

Edit: NB: Before installing with ./configure; make; checkinstall (or make install)
you should read the README and INSTALL files in the package directory.

Last edited by Bruce Hill; 09-19-2004 at 06:23 PM.
 
Old 09-20-2004, 04:48 AM   #3
friendklay
Member
 
Registered: Jan 2003
Posts: 36

Original Poster
Rep: Reputation: 15
I seemed to have installed the following packages manually without using checkinstall. I wish to be able to uninstall them easily. Can I just intall it again with checkinstall or do I have to remove these before I use checkinstall? Thanks of the help. The following are the packages that I have alredy installed.

pkgconfig-0.15.0

libxml2-2.6.13

libxslt-1.1.10

gtk-doc-1.2

glib-2.4.6

libIDL-0.8.4
 
Old 09-20-2004, 04:56 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by friendklay
I seemed to have installed the following packages manually without using checkinstall. I wish to be able to uninstall them easily. Can I just intall it again with checkinstall or do I have to remove these before I use checkinstall?
I just had this dialog with a real "Slackware guru" 5 days ago. Here it is:
Quote:
> I guess what I'm wondering is, if I uninstall later will it remove
> what was originally installed, since checkinstall does the same
> thing? In other words, is checkinstall going to "overwrite" the
> original installation?

That's right. Checkinstall basically puts a "wrapper"
around "make install", redirects files to a temporary
directory structure, puts them in a tgz and THEN installs
them where make install put them in the first place.
So the answer is YES, if you install them now issuing "checkinstall"
rather than "make install" then afterwards you can issue
"removepkg <packagename>" to uninstall them.
 
  


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
.bz2 files Mr. Hill Linux - Newbie 4 03-13-2005 04:19 AM
OpenBSD + bz2 files Gsee *BSD 22 01-15-2005 10:13 AM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 08:36 AM
.tar.bz2 files Agileuk Linux - Newbie 7 09-28-2003 12:36 PM
installing bz2 files? MrGardenHoseMan Linux - Software 2 07-03-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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