Bug 412506

Summary: Quick install using CLI is no convenient
Product: [openSUSE] openSUSE 11.0 Reporter: Benjamen Aceler <aceler>
Component: UsabilityAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: benji
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Benjamen Aceler 2008-07-27 15:45:38 UTC
If I want to install some package quickly, I will not use Yast2 GUI - it's too long. Instead of this, I'll use 'yast2 -i package' in CLI from root.
To do it _very_ quick, I'll use 'sudo yast2 -i package' from non-root, but sudo will not resolve yast2 name, and say 'sudo: yast2: command not found'.
Comment 1 Benjamin Weber 2008-07-27 15:49:09 UTC
You can add /sbin to your user's path, then it will. 
You can use su -c "yast" which will have the appropriate path. 
You can also use zypper which is in the user's path already "sudo zypper in foo"
Comment 2 Benjamen Aceler 2008-07-27 16:14:21 UTC
Oh, well, there are many ways. Sudo zypper in pacjage is good, thanks. Sorry for inconvinience, this is not really a bug, maybe I should use forum for such things.
Comment 3 Cyril Hrubis 2008-07-31 10:51:03 UTC
IMHO this is a duplicate, but the original bug is WONTFIX either.

*** This bug has been marked as a duplicate of bug 409228 ***