Handy zypper ‘Quick Ref’ cards (PDF’s):
openSUSE zypper Cheat Sheet | IguanaSuicide
Zypper Cheat Sheet | IguanaSuicide
Note (to Forum mods):
Forum mods might want to bookmark this or put into one of the FAQ’s ‘How-to’ guides.
Handy zypper ‘Quick Ref’ cards (PDF’s):
openSUSE zypper Cheat Sheet | IguanaSuicide
Zypper Cheat Sheet | IguanaSuicide
Note (to Forum mods):
Forum mods might want to bookmark this or put into one of the FAQ’s ‘How-to’ guides.
On 16/09/2009 10:26, zmdmw52 wrote:
> Handy zypper ‘Quick Ref’ cards (PDF’s):
>
> ‘openSUSE zypper Cheat Sheet | IguanaSuicide’
> (http://iguanasuicide.net/node/9)
> ‘Zypper Cheat Sheet | IguanaSuicide’ (http://iguanasuicide.net/node/10)
Simon
pdftk zypper_cheat_sheet_p1_a4.pdf zypper_cheat_sheet_p2_a4.pdf cat output zypper_cheat_sheet_a4.pdf
Since I’m not familiar much with CLI, I combined the 2 docs using ‘pdfsam’; or you can just printout back-to-back.
Nice work, thanks for taking the time to put that lot together.
A handy thing to have laying around :).
On 19/09/2009 15:26, growbag wrote:
> Nice work, thanks for taking the time to put that lot together.
>
> A handy thing to have laying around :).
Simon
This is a neat idea.
I think the commands need to be checked for accuracy. I use the Smart Package Manager a lot more than I use zypper (hence I am not very familiar with zypper) but within seconds of skimming I noted the example syntax for “zypper ar” was not correct.
The example given was:
zypper ar http://download.opensuse.org/distribution/11.1/repos/oss
without assigning a name. Does not one have to assign a name, and hence that should have read something like:
zypper ar http://download.opensuse.org/distribution/11.1/repos/oss OSS
I don’t have the zypper knowledge to note problems in other areas by reading, but IMHO where there is smoke there could be fire.
Hi,
Looks good, and a nice reference to have when you’re new to suse or zypper; however I will be sticking with
man zypper
when I forget something.
Regards,
Barry.
On 01/10/2009 11:56, oldcpu wrote:
> This is a neat idea.
>
> I think the commands need to be checked for accuracy. I use the Smart
> Package Manager a lot more than I use zypper (hence I am not very
> familiar with zypper) but within seconds of skimming I noted the example
> syntax for “zypper ar” was not correct.
>
> The example given was:
>
> Code:
> --------------------
> zypper ar http://download.opensuse.org/distribution/11.1/repos/oss
> --------------------
>
> without assigning a name. Does not one have to assign a name, and
> hence that should have read something like:
>
> Code:
> --------------------
> zypper ar http://download.opensuse.org/distribution/11.1/repos/oss OSS
> --------------------
>
> I don’t have the zypper knowledge to note problems in other areas by
> reading, but IMHO where there is smoke there could be fire.
I just found http://en.opensuse.org/Zypper/Usage#Cheat_sheet which uses
a different example to the above which is correct.
Simon
[QUOTE=Simon Flood;2046360]I just found [(http://en.opensuse.org/Zypper/Usage) , so we have a link in place for new users.](Thanks for pointing out that link!)
Other differences I noted is the reference to "zypper -h [command] " and “zypper [command] -h” were removed. A more complex example of selecting a package by name was given to replace the “zypper in eclipse”. An example was given on how to specify an .rpm, where the old version had only “add example”.
On the “newer” ? sheet you reference from the wiki, I also note reference to zypper version 1.0.9, which I think is a good idea (i.e. good to note what zypper version the cheat sheet was constructed around).
One thing that surprised me was not seeing the command as to how one can instruct zypper not to delete downoaded and installed rpm files. That question is asked a fair amount.
I did not compile them, another openSUSE user did: see here
[opensuse] Zypper Cheat Sheet](http://lists.opensuse.org/opensuse/2009-08/msg00394.html)
Thanks for the links to the cheat sheets. Those will come in very handy!
I think, however, the exact functionality I’m looking for zypper just doesn’t have.
Just to clarify because I think I may not have explained myself well, bash tab-to-completion is working on my system for filesystem tasks. What I was looking for was tab to completion for zypper index searches (e.g. having the tab button essentially do a zypper se switch on whatever I’ve given the command line up to that point.) It would require some logic on zyppers behalf to parse out and query the repository package indexes for the partial package name I’ve supplied once I hit tab. I know Redhats Yum package manager cannot do this either so it may be something exclusive to aptitude.
Its not a show stopper by any means, just definitely something that the debian/aptitude package management system has spoiled me on over the years now that I’ll have to adjust to I think.
If zypper should have tab-to-complete index searches, then its definitely not working on a newly installed and fully patched 11.2 system. I’ll continue to tinker around with it to see if I find it.
Thanks again for everyones help!
-T.