LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2011, 06:19 PM   #1
Damnaged
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Rep: Reputation: Disabled
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?
 
Old 06-06-2011, 06:22 PM   #2
Damnaged
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Damnaged View Post
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.
 
Old 06-06-2011, 06:29 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
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.
 
Old 06-06-2011, 06:41 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

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

http://wiki.linuxquestions.org/wiki/...21.27.27.27.22
 
Old 06-12-2011, 03:18 PM   #5
Damnaged
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Thanks guys. They weren't lying when they said steep learning curve, but I'm getting it.
 
  


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
Problems with instalpkg and pkgtool marine.fran Slackware 21 03-27-2011 09:39 PM
pkgtool: problems with view and remove scorpion77 Slackware 4 08-11-2008 09:27 AM
Problems with pkgtool Pratt Slackware 12 08-18-2007 04:47 PM
pkgtool problems and fix jawkins Slackware 10 07-11-2005 08:36 PM
pkgtool problems (ATI drivers) sant-göran Slackware 1 08-08-2004 07:20 AM


All times are GMT -5. The time now is 10:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration