You need 'sudo' for installing the build dependencies, such as:

$ sudo apt-get build-dep upower

But not for getting the source tree, as this is sufficient:

$ apt-get source upower

If you used sudo for that, the source files and their directories it
will be owned by the root user. To change this use:

sudo chown -R mikael:mikael upower-0.9.1

Assuming your user name on this system is 'mikael' and you are in the
directory you downloaded the source tree to.

To install, normally you need once again to use something like:

$ sudo make install

However, there is a whole world of special building environment/tools
that have been created that may be needed by software developers who, it
seem, have too much time on their hands and are not satisfied with 'make
install' doing some copying :(

Finally a warning! Be very careful with chown/chgrp/chmod and the
possibility you can recurs to an unexpected place (e.g. don't use '.*'
or similar as that will include '..' which then goes up a level and -R
takes you down all directors that are parallel to your current one).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/467825

Title:
  Battery state always "fully charged"

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-power/+bug/467825/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to