LinuxQuestions.org
Review your favorite Linux distribution.
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 11-29-2007, 10:40 PM   #1
dannemil
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
pkgtool - where is it


OK, total newb here. I have had slackware running for about a week now, and I love it. The speed is incredible compared to Ubuntu which feels bloated compared to this. One big problem. I tried to install a package, and I keep getting this:

bash-3.1$ installpkg dropline-installer-2.18-i686-3dl.tgz
bash: installpkg: command not found

I try to invoke pkgtool, and I get the same thing - command not found. I must be missing the pkgtool package, so how do I install it?
 
Old 11-29-2007, 10:45 PM   #2
m3lkor001
LQ Newbie
 
Registered: Jun 2006
Location: Elk Grove, CA
Distribution: Slackware 12.0
Posts: 27

Rep: Reputation: 15
Quote:
Originally Posted by dannemil View Post
OK, total newb here. I have had slackware running for about a week now, and I love it. The speed is incredible compared to Ubuntu which feels bloated compared to this. One big problem. I tried to install a package, and I keep getting this:

bash-3.1$ installpkg dropline-installer-2.18-i686-3dl.tgz
bash: installpkg: command not found

I try to invoke pkgtool, and I get the same thing - command not found. I must be missing the pkgtool package, so how do I install it?


it's not missin, i ran into the same thing already, that $ by your name means your logged into the non super user account.
type su at the prompt then your root password and try again. should work
 
Old 11-29-2007, 10:52 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,030

Rep: Reputation: 160Reputation: 160
Actually, do su -, to switch to root *with* root's path - if you leave the '-' out when you su to root, you retain the path of the user, and neither of those commands are in it's path....

cheers,
 
Old 11-29-2007, 10:56 PM   #4
m3lkor001
LQ Newbie
 
Registered: Jun 2006
Location: Elk Grove, CA
Distribution: Slackware 12.0
Posts: 27

Rep: Reputation: 15
Quote:
Originally Posted by mrclisdue View Post
Actually, do su -, to switch to root *with* root's path - if you leave the '-' out when you su to root, you retain the path of the user, and neither of those commands are in it's path....

cheers,
if he does that is he going to have to type in the full path of the package he wants to install?

wouldn't just typing su keep the directory he's su'ing from (which probably is the directory the file is in as well)

just curious and thanks
 
Old 11-29-2007, 11:11 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,452

Rep: Reputation: Disabled
Quote:
Originally Posted by mrclisdue View Post
Actually, do su -, to switch to root *with* root's path - if you leave the '-' out when you su to root, you retain the path of the user, and neither of those commands are in it's path....

cheers,
This is not true. If you leave out the '-' the path will be set to the path defined by the ENV_SUPATH variable set in /etc/login.defs, which definitely will (unless you have edited the login.defs file) include the path to pkgtool etc.

If you include the '-' the path will be set to whatever path would be set if you _logged in_ as root.

Brian
 
Old 11-30-2007, 07:41 AM   #6
dannemil
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Many thanks. I can now install. Love this distro.
 
Old 11-30-2007, 07:51 AM   #7
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,030

Rep: Reputation: 160Reputation: 160
...

nm

cheers,

Last edited by mrclisdue; 11-30-2007 at 07:57 AM. Reason: couldn't verify, for now....
 
  


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
using pkgtool steveel Slackware - Installation 3 02-22-2006 01:47 PM
pkgtool does nothing?! alienDog Slackware 8 10-31-2004 05:11 PM
Pkgtool Corallis Slackware 6 09-01-2004 11:49 PM
pkgtool sio Linux - General 0 07-30-2003 12:47 PM
using pkgtool ivans Slackware 2 05-28-2003 09:37 PM


All times are GMT -5. The time now is 07:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration