LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   pkgtool - where is it (https://www.linuxquestions.org/questions/slackware-14/pkgtool-where-is-it-603399/)

dannemil 11-29-2007 10:40 PM

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?

m3lkor001 11-29-2007 10:45 PM

Quote:

Originally Posted by dannemil (Post 2975198)
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

mrclisdue 11-29-2007 10:52 PM

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,

m3lkor001 11-29-2007 10:56 PM

Quote:

Originally Posted by mrclisdue (Post 2975202)
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

BCarey 11-29-2007 11:11 PM

Quote:

Originally Posted by mrclisdue (Post 2975202)
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

dannemil 11-30-2007 07:41 AM

Many thanks. I can now install. Love this distro.

mrclisdue 11-30-2007 07:51 AM

...

nm

cheers,


All times are GMT -5. The time now is 04:55 PM.