I installed PowerTOP but;
sudo powertop
In terminal returns;
sudo: powertop: command not found
Is my syntax wrong?
I installed PowerTOP but;
sudo powertop
In terminal returns;
sudo: powertop: command not found
Is my syntax wrong?
On 2013-04-10 01:56, fleamour wrote:
>
> I installed PowerTOP but;
As you know the rpm name, list its contents by “rpm -ql package”. The
program will be in a “bin/” directory.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On Tue, 09 Apr 2013 23:56:02 +0000, fleamour wrote:
> I installed PowerTOP but;
>
> Code: --------------------
> sudo powertop
> --------------------
>
> In terminal returns;
>
> Code: --------------------
> sudo: powertop: command not found
> --------------------
>
> Is my syntax wrong?
Try:
sudo /sbin/powertop
or
sudo /usr/local/sbin/powertop
(The latter is where it’s installed on my laptop)
The problem is that the command isn’t in the path, so you need to specify
the path to the executable. You can determine the path definitively by
using “rpm -ql [packagename]”, replacing [packagename] with the name of
the RPM you installed (minus the RPM version and extension). “rpm -ql
powertop” will probably give you a list of the files from the powertop
package.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
After typing those command press “tab” key on your konsole/terminal and it should “autocomplete” the right path.
Thanks guys. I’ve only ever used Ubuntu before now. Tab auto complete was just the job!
Never used Ubuntu but does it work in Ubuntu without providing the path?
Pretty sure it does, I was used to it working that way, thought I’d broken my SUSE machine!
rotfl!
I don’t know as to why it is working that way in Ubuntu.
Probably they export those paths by default.
From what i have seen in openSUSE,most of these command line tools need that “tab” thing to auto complete the entire path.
On 04/10/2013 01:56 AM, fleamour wrote:
> Is my syntax wrong?
yes…there is a fundamental difference between Ubuntu and openSUSE
in the way root vs sudo works…
Ubuntu requires you to use sudo instead of allowing you to actually
become root…while openSUSE takes the more traditional *nix stance
of allowing the person(s) with the root password to BE root…
with sudo you get root powers, but not root’s environment (including
path)…so, you can only execute those things in your user
path…but if you instead become root (by using “su -”) you can then
execute powertop without adding its full path…try
su -
powertop
when you do the “su -” and give the password you “become root” and
the prompt changes and is RED…and you are really root, with all
root powers and environment…and that terminal will remain a root
terminal until you issue an ‘exit’ or close it…
more at http://tinyurl.com/ubuntu-to-openSUSE
–
dd
openSUSE®, the “German Engineered Automobile” of operating systems!
How would I invoke qpowertop (QT GUI for PowerTOP?)
On 04/12/2013 08:26 AM, fleamour wrote:
>
> How would I invoke qpowertop (QT GUI for PowerTOP?)
does your system include an executable named “qpowertop”?
if not, to invoke it you would need to first install it…
have you looked in YaST Software Management for it in the standard repos?
if not there, you can stick your neck out and venture into
experimental software obtainable via
http://software.opensuse.org/search
some people around won’t install experimental/un-released software
from there [fearing problems], others do so all the time…i guess it
depends on how important your data is to you, and/or how confident
you are in your backup scheme, and/or how much you are willing to put
at risk only to change the looks of the presentation!! some test it
first in a sandbox machine… ymmv…
–
dd
openSUSE®, the “German Engineered Automobile” of operating systems!
qpowertop is not present in standard/official repos
I found a version in a “test” repo. Use it at your own risk. software.opensuse.org: