LinuxQuestions.org
Review your favorite Linux distribution.
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 05-31-2004, 03:15 AM   #1
andy753421
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
Installing packages


ok so maybe this is a really stupid questiona but oh well, how do you install packages? ive been using slackware for a couple months now but i've never been able to figure this out ive just compiled sources up untill now but its really starting to bother me not knowing how to do this....
 
Old 05-31-2004, 03:21 AM   #2
rkef
Member
 
Registered: Mar 2004
Location: bursa
Posts: 110

Rep: Reputation: 15
Check this thread. Specifically, my post (post #8) gives a complete sequence (but always check any README or INSTALL files in case the author gives specific instructions).

Also, for upgrading via binary packages (official Slackware packages) I've found 'slackpkg' to be satisfactory.
 
Old 05-31-2004, 08:25 PM   #3
andy753421
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 65

Original Poster
Rep: Reputation: 15
no, i can install from sources great, ive done that with everything so far, i just want to know how to install .tgz things
 
Old 05-31-2004, 09:12 PM   #4
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 32
Quote:
Originally posted by andy753421
I just want to know how to install .tgz things
Assuming they're proper slack packages (not just gzipped tarballs of something else):

installpkg whatever.tgz

...and you're away! However, if you already have a version of that package installed and you're just upgrading to a new version, use:

upgradepkg whatever.tgz

If you aren't sure if there's a version installed or not, try upgradepkg, then installpkg.
 
Old 05-31-2004, 09:14 PM   #5
sadatx
LQ Newbie
 
Registered: May 2004
Location: Houston
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
You can use the following.

installpkg packagename.tgz (installs)
upgradepkg packagename.tgz (upgrades)
removepkg packagename.tgz (removes)

You can might to use the -warn flag when using installpkg. This generates a report to the standard output about which files and directories would be removed or overwritten if you install the package, but do not actually install it.
 
Old 05-31-2004, 10:03 PM   #6
rkef
Member
 
Registered: Mar 2004
Location: bursa
Posts: 110

Rep: Reputation: 15
Quote:
Originally posted by andy753421
no, i can install from sources great, ive done that with everything so far, i just want to know how to install .tgz things
Ok, well my building method was one way to generate binary packages, which, as the others said, can be installed/upgraded/removed conveniently. I thought you were asking how to install things properly, from source. My bad .

Compiling sources at random, without regard to management, can get ugly. Building your own packages is the best of both worlds. You can tweak/alter anything in the source, compile, and build a package which can be dealt with cleanly.

Check out the slackware book if you want more info. Specifically, Chapter 16.

HAND!

Last edited by rkef; 05-31-2004 at 10:21 PM.
 
  


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
Packages aren't installing Qwirt Linux - Software 5 07-31-2004 01:25 AM
installing packages spadeyboy *BSD 2 07-21-2004 12:43 AM
installing new packages nebloof Linux - Software 1 05-19-2004 09:11 PM
Installing packages ... how to Llamaman Linux - Newbie 2 01-27-2004 11:16 AM
installing packages JAGwar1803 Linux - Newbie 3 01-01-2004 09:12 PM

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

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