LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pkgtool problems (https://www.linuxquestions.org/questions/linux-newbie-8/pkgtool-problems-884880/)

Damnaged 06-06-2011 05:19 PM

pkgtool problems
 
I'm not entirely sure how to describe this.

I've got a user account set up and I've downloaded a few programs I'd like to install.

When I'm in my account, I go to the terminal and type then get;

$ pkgtool
bash: pkgtool: command not found

However, if I'm in root and do the same thing, it brings up the menu.

What do I have to do to get pkgtool to work from my user account?

Damnaged 06-06-2011 05:22 PM

Quote:

Originally Posted by Damnaged (Post 4378222)
I'm not entirely sure how to describe this.

I've got a user account set up and I've downloaded a few programs I'd like to install.

When I'm in my account, I go to the terminal and type then get;

$ pkgtool
bash: pkgtool: command not found

However, if I'm in root and do the same thing, it brings up the menu.

What do I have to do to get pkgtool to work from my user account?

Oh, right. I'm using Slackware (and the guy who told me to start here said it's just Slackware, nothing special about it) and Gnome, both builds released within the past 24 hours.

TobiSGD 06-06-2011 05:29 PM

Simple as that: Installing, removing or updating packages is an administration task and has therefore to be done as root.
You can change to root with the
Code:

su -
command on the commandline, or run only one command as root with, for example pkgtool, with
Code:

su -c pkgtool
I would strongly recommend to read the Slackbook, it covers all that basic stuff.

brianL 06-06-2011 05:41 PM

And there's loads of information about Slackware, and Linux in general, here:

http://wiki.linuxquestions.org/wiki/...21.27.27.27.22

Damnaged 06-12-2011 02:18 PM

Thanks guys. They weren't lying when they said steep learning curve, but I'm getting it.


All times are GMT -5. The time now is 08:00 PM.