@mong when doing a zypper dup look at using zypper -vvv dup for additional information, hard to say what is going on, git has been installed here since install time and hasn’t up and been removed…
zypper se -si git*
S | Name | Type | Version | Arch | Repository
---+-----------+---------+------------+--------+----------------------
i+ | git | package | 2.41.0-1.2 | x86_64 | Main Repository (OSS)
i | git-core | package | 2.41.0-1.2 | x86_64 | Main Repository (OSS)
i | git-cvs | package | 2.41.0-1.2 | x86_64 | Main Repository (OSS)
i | git-email | package | 2.41.0-1.2 | x86_64 | Main Repository (OSS)
i | git-gui | package | 2.41.0-1.2 | x86_64 | Main Repository (OSS)
i | git-svn | package | 2.41.0-1.2 | x86_64 | Main Repository (OSS)
i | gitk | package | 2.41.0-1.2 | x86_64 | Main Repository (OSS)
@hui - If my odd sense of humor and flusteredness came across as rude, I apologize - I’m joking/messing around most of the time. I take my work very seriously, but not myself. I’m sorry if I offended you. Feel free to offend (jokingly) me anytime you like
Oh dear, oh dear – Tumbleweed and distribution upgrade …
Here on Leap 15.5:
> LANG=C zypper search --installed-only git
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-----------+-----------------------------------------------------+--------
i | git | Fast, scalable, distributed revision control system | package
i | git-core | Core git tools | package
i | git-cvs | Git tools for importing CVS repositories | package
i | git-email | Git tools for sending email | package
i | git-gui | Grapical tool for common git operations | package
i | git-svn | Git tools for importing Subversion repositories | package
i | git-web | Git Web Interface | package
i | gitk | Git revision tree visualiser | package
i | perl-Git | perl Bindings for Git | package
>
> LANG=C zypper info git
Loading repository data...
Reading installed packages...
Information for package git:
----------------------------
Repository : Haupt-Repository
Name : git
Version : 2.35.3-150300.10.27.1
Arch : x86_64
Vendor : SUSE LLC <https://www.suse.com/>
Installed Size : 49.9 KiB
Installed : Yes (automatically)
Status : up-to-date
Source package : git-2.35.3-150300.10.27.1.src
Upstream URL : https://git-scm.com/
Summary : Fast, scalable, distributed revision control system
Description :
Git is a fast, scalable, distributed revision control system with an
unusually rich command set that provides both high-level operations and
full access to internals.
This package itself only provides the README of git but with the
packages it requires, it brings you a complete Git environment
including GTK and email interfaces and tools for importing source code
repositories from other revision control systems such as subversion,
CVS, and GNU arch.
>
Conclusion:
On Leap 15.5 the package “git” is installed automatically.
For the case of Tumbleweed, could it be that, somehow in the rolling updates process, the dependency which installs the “git” package and, the related packages, got removed?
If that’s true then, someone should raise a Bug Report – yesterday …
Since we are able to click the Details button in the install, we can select whatever packages we want. Depending on selection of patterns, one may or may not install git. It is pulled in by the Base Development pattern.
BIG THANKS to the developers who gave us the Details option in the installer. So many distros do not allow you to choose what you want or do not want. You get what they want you to have.
Having done many many Tumbleweed and Leap installs over the years, I can assure you, if you’re accepting the defaults when installing, git is not included in the default package selection. If it is there, it’s due to adding the Base Development selection manually, or something else in the package selection that pulls it in as a Requires: or Recommends:
As to why it’s disappeared from the OP’s system? I haven’t a clue. Just reinstall it and move on.
I probably did select a package, one that I don’t think twice about clicking on during install, which subsequently pulled in git.
For a distribution that purports to be:
For Developers, openSUSE Contributors, Gamers and Linux/FOSS Enthusiasts
and not install git by default is, quite frankly, a joke.
For me that wasn’t a solution (see above posts). I had to reinstall TW (it now has git without me selecting it), I can update without it being removed and all is good. Well, good is not how I’m feeling about this silliness but at least I can get on with my work on the distro that I want to use - today at least.
Not everyone needs or knows how to use Developer packages, so I would guess that is why they don’t install the Base Development pattern by default. However, it is a 1 Button click to add that pattern in. This doesn’t make openSUSE a bad OS.
True, but it’s beside the point. The distro itself advertises itself as a “developers” distro. Try being a developer on a team without git. I don’t know how to use gimp, but the bloody thing always tries to install it and I don’t see anywhere that the distro is for graphic designers or photographers
Having a default package list that works for every person is impossible. Add too much and people will complain it is bloated. Make it too lean and people complain it doesn’t include tools they need.
The installer provides a pretty reasonable degree of customization for what you get included in the initial install. More than most distro installers.
Also, as a side note, openSUSE is hardly the only distro that doesn’t ship git by default.
Being “For developers” doesn’t have to mean that the distro includes development tools in the default install.
The YAST installer is the best and most powerful installer I have ever seen. It allows me to install anything I want and not install what I don’t want. I was able to avoid the LibreOffice packages and install it from the flatpak later. It’s impossible for me to complain about the default selection, when I am given the choice to easily change it.