I downloaded glib-2.76.3.tar.xz from https://download.gnome.org/sources/glib/2.76/
Extracted the file and opened the INSTALL.md inside of it.
Here's an excerpt of it:
Simple install procedure
========================
tar xf glib-*.tar.gz # unpack the sources
cd glib-* # change to the toplevel directory
meson _build # configure the build
ninja -C _build # build GLib
# Become root if necessary
ninja -C _build install # install GLib
</code></pre>
<p>I ran <code>sh</code> on terminal, but when I run <code>tar xf glib-*.tar.gz</code> it throws error:</p>
<pre><code>tar: glib-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
</code></pre>
<p>As I understand I have to write something instead of the <code>*</code> but I don't know what exactly.</p>
<p><code>tar xf glib-2.76.3.tar.gz</code> throws the same type of error. Maybe I'm in the wrong directory also?</p>
.xz
compressed archive rather than the.gz
compressed archive, your need to modify the filename in thetar
command accordingly i.e.tar xf glib-*.tar.xz
– steeldriver May 31 '23 at 13:01