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
========================
```sh
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
I ran sh
on terminal, but when I run tar xf glib-*.tar.gz
it throws error:
tar: glib-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
As I understand I have to write something instead of the *
but I don't know what exactly.
tar xf glib-2.76.3.tar.gz
throws the same type of error. Maybe I'm in the wrong directory also?
.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