It is easiest to install Git on Linux using the preferred package manager of your Linux distribution. If you prefer to build from source, you can find the tarballs on kernel.org.
PROS: super fast boot, highly configurable OpenBox window manager, sensible easy menus, SlitAz Panel access to most required systems info and packages,. Here’s the simple recipe for installing SliTaz from the command line. Note that even if started from the LiveCD headless, this install will install a full GUI and take up around 100MB of space. The first thing to know is that the installer is invoked by the command tazinst.
Debian/Ubuntu
For the latest stable version for your release of Debian/Ubuntu
# apt-get install git
For Ubuntu, this PPA provides the latest stable upstream Git version
# add-apt-repository ppa:git-core/ppa
![Terminal Terminal](https://xakep.ru/wp-content/uploads/2015/05/1431937734_dd69_slitaz_install_step3.png)
# apt update; apt install git
Fedora
# yum install git
(up to Fedora 21)# dnf install git
(Fedora 22 and later) Gentoo
# emerge --ask --verbose dev-vcs/git
Arch Linux
# pacman -S git
openSUSE
# zypper install git
Mageia
# urpmi git
Nix/NixOS
# nix-env -i git
FreeBSD
# pkg install git
Solaris 9/10/11 (OpenCSW)
# pkgutil -i git
Solaris 11 Express
# pkg install developer/versioning/git
OpenBSD
# pkg_add git
Alpine
$ apk add git
Red Hat Enterprise Linux, Oracle Linux, CentOS, Scientific Linux, et al.
RHEL and derivatives typically ship older versions of git. You can download a tarball and build from source, or use a 3rd-party repository such as the IUS Community Project to obtain a more recent version of git.
Slitaz
$ tazpkg get-install git
GCC for Linux (slitaz distribution). (like Debian, Ubuntu, Fedora or OpenSuSE). This lists gcc package form SliTaz.
SliTaz provides a tiny package manager which can easily install more software on the system. Tazpkg is a lightweight package manager for.tazpkg files. Completely written in SHell script, it works well with Busybox ash shell and bash.
Tazpkg lets you list, install, remove, download, extract, pack, search, or get information about available or installed packages. You can also repack an installed package and automatically upgrade all installed packages.
On SliTaz you can type tazpkg usage in a terminal to get a list of all the commands with a short description in English. List of packages.
Tazpkg lets you list all installed packages, installed packages by category or it can display the list of available packages on the mirror. To display a single list of all installed packages on the system, just type: $ tazpkg list To display all categories or packages sorted by category, you must specify cat or category. Examples: $ tazpkg list cat $ tazpkg list base-system Tazpkg can also generate a xHTML list (default: installed-packages.html) in the local directory of all installed packages on the system: $ tazpkg xhtml-list To get a single list of all available packages on the mirror you can use the command list-mirror. You can then examine the list in your favorite editor or use the Web site interface. Install packages. All SliTaz packages are built with a tool named Cookutils and a receipt found in the wok.
Debian Terminal Commands
The receipt provides all the necessary information to build a suitable package for Tazpkg including variables to give us the package name, source tarball format, download URL, etc. Given a receipt, the compilerules function has all of the necessary commands to configure, make, and install the package in a specific directory. After compilation, Cookutils will execute the function genpkgrules to pick up only the needed/wanted files and generate a pkg.tazpkg (cpio archive). On SliTaz you will find all installed package receipts in the directory /var/lib/tazpkg/installed, feel free to examine them or even use one as an example. Cookutils will search by default for a wok in /home/slitaz/wok and put generated packages in /home/slitaz/packages.
These paths are set by a Cookutils configuration file which can be located in /etc/slitaz/cook.conf or in the current directory, which is useful if you want to work with multiple woks. Now, if the Cookutils are setup ( # cook setup) and the slitaz-toolchain is installed, you can start to create and build a package which doesn't need many dependencies. Small example: # cook new pkgname -interactive When a new package tree and receipt has been created in the wok, you can edit the receipt with your favorite editor (Geany provides nicely colored code), modify the rules, functions, add dependencies to the DEPENDS variable if needed and try a first cook: # cook pkgname Note that you can now browse the generated files, modify the cooking receipt again or just rebuild the package.
Debian Install Package
When you are happy with your work you can install the package with tazpkg install and then test the application or library.
..