Delete gambas3 and all its depencies

Hi,

I would like to delete gambas3 and all its dependencies.

How can I do that ?

Regards

When you remove an application using a package manager (In your case most likely YaST or zypper), then the package manager is supposed to attempt to remove all parts of the file including dependencies that aren’t required for another application, configuration files and personal files you created. These “other” files I listed have to be removed by hand. And, this all generally assumes that the package manifest is accurate.

So, for example to remove an app named gambas3, you can run the following in a console

zypper rm gambas3

TSU

Will NOT remove any dependencies from the package gamba3. If they are also dependencies from other packages or not.

Removing dependencies is not trivial.

But why would one try to remove a program that one does not need (anymore)? For a few MB of disk space? In any case, removing the package itself and not bothering about some of the dependent packages that may be sit there now unneeded, will make it impossible to run the application by incident, if that is where one is afraid of.
Real clean up can then be done when going to a new openSUSE version in the future by doing an install instead of upgrade.

On 02/24/2017 03:56 AM, hcvv wrote:
>
> tsu2;2813830 Wrote:
>>
>>>
> Code:
> --------------------
> > > zypper rm gambas3
> --------------------
>>>
>>
> Will NOT remove any dependencies from the package gamba3. If they are
> also dependencies from other packages or not.
>
> Removing dependencies is not trivial.
>
> But why would one try to remove a program that one does not need
> (anymore)? For a few MB of disk space? In any case, removing the package
> itself and not bothering about some of the dependent packages that may
> be sit there now unneeded, will make it impossible to run the
> application by incident, if that is where one is afraid of.
> Real clean up can then be done when going to a new openSUSE version in
> the future by doing an install instead of upgrade.
>
>

Being a little aggressive today aren’t we!!


Ken
linux since 1994
S.u.S.E./openSUSE since 1996

On Fri 24 Feb 2017 01:06:01 AM CST, agunet74 wrote:

Hi,

I would like to delete gambas3 and all its dependencies.

How can I do that ?

Regards

Hi
If you can remember the date, you can look at the zypper history file…


cut -d "|" -f 1-4 -s --output-delimiter " | " /var/log/zypp/history | grep -v " radd "

Ref: https://www.suse.com/communities/blog/zypper-equivalent-of-rug-history-command/


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-44-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!