Click to See Complete Forum and Search --> : Trouble Using "pkgtool" in Slackware 9.0
templest
08-01-2003, 05:43 PM
Ahh... I was doing all my stuff as root for a long but due to everyone says in was horribly wrong to use root as a current user and ect ect I decided to run as a normal user "templest";) and blah! I want to get wine installed and I downloaded the slackpack so I tried typing "pkgtool" in the console and nothing happened. "installpkg" doesn't work either. It was working fine when I was using "root". :mad: . Or is it something I can only run as root?:confused: :confused: :confused:
DerekKraan
08-01-2003, 05:58 PM
When you open up a terminal to do an administrator function(like running pkgtool), you need to use the 'su' command. It'll (kind of) log you in as root for that particular program. Then you will be able to do whatever you were able to do as root but not as a regular user.
pkgtool can only be run as root. Only root user can manage packages in your system, that's in any distro.
templest
08-02-2003, 12:54 AM
That will install anything FOR root user. And after installing... ohh... let's say WINE ;) and I try to run it as normal user "templest" not "root" it will say "bash- command not found." Any suggestions? :)
EDIT: I know I got 2 threads running almost simultaniously and they sorta tie in together but IF I get the .tgz running I can forget about configuring the tardball.
psi42
08-02-2003, 01:21 AM
That will install anything FOR root user. And after installing... ohh... let's say WINE and I try to run it as normal user "templest" not "root" it will say "bash- command not found." Any suggestions?
I wouldn't worry about that. I have never installed wine with binary packages, but the package creaters will be sure that you will be able to run it as a normal user.
If it says "command not found" try providing an absolute path like:
/usr/local/bin/wine (or wherever it is).
~psi42
Run this command to check where the wine executable is:
whereis -b wine
If you installed it recently you may need to update the slocate db, running "updatedb", as root.