# Update and cleaning commands

**URL:** <https://forums.suse.com/t/update-and-cleaning-commands/35543>\
**Category:** SUSE Linux Enterprise Desktop\
**Created:** [April 7, 2021, 8:03am UTC](https://forums.suse.com/t/update-and-cleaning-commands/35543 "2021-04-07T08:03:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikos](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@Nikos](https://forums.suse.com/u/Nikos)\
**Post date:** [April 7, 2021, 8:03am UTC](https://forums.suse.com/t/update-and-cleaning-commands/35543/1 "2021-04-07T08:03:32Z")

</div>

Hello everyone. I’m thinking of buying a subscription for SLED and I would like to be informed about the following: **1.** Are **sudo zypper patch** , **sudo zypper update** and **sudo zypper dist-upgrade** the correct commands to update my system? **2.** Except **sudo zypper packages --orphaned** , what other commands should I use to delete unnecessary files? **3.** Do I have to enable **Package Hub** to install **Wine**? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [April 7, 2021, 1:56pm UTC](https://forums.suse.com/t/update-and-cleaning-commands/35543/2 "2021-04-07T13:56:10Z")

</div>

@Nikos Hi, I normally use `zypper -vvv up` to add some verbosity to the output, for SLE there is the `zypper-migration-plugin` to move to the next service pack rather than a dup. For wine, yes that’s available via Package Hub.

---

<div class="post-metadata">

**Author:** ![Nikos](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@Nikos](https://forums.suse.com/u/Nikos)\
**Post date:** [April 7, 2021, 4:17pm UTC](https://forums.suse.com/t/update-and-cleaning-commands/35543/3 "2021-04-07T16:17:11Z")

</div>

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![Andreas1](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Andreas1](https://forums.suse.com/u/Andreas1)\
**Post date:** [April 8, 2021, 4:04pm UTC](https://forums.suse.com/t/update-and-cleaning-commands/35543/4 "2021-04-08T16:04:02Z")

</div>

1.) RTFM =\> [https://en.wikipedia.org/wiki/RTFM](https://en.wikipedia.org/wiki/RTFM)  
 → Upgrade Guide  
[https://documentation.suse.com/](https://documentation.suse.com/)  
2.) → [https://forums.suse.com/discussion/comment/61068/#Comment\_61068](https://forums.suse.com/discussion/comment/61068/#Comment_61068)
