You have to set up Git, so that commit messages have the correct information. Now, we have Git installed on Debian 11 Server. Install the file from the source using the following commands: $ sudo make prefix=/usr/local allĪfter the installation, you can verify that you now have the latest version of Git. Navigate into the uncompressed directory with the following command - $ cd git-2.33.0 On the Debian 11 server, download the zip file using the wget command - $ wget -O git.zip You can select the latest release mentioned on the menu.įor this tutorial, we use Git v2.33.0, which we install on Debian.Ĭlick on the 'Code' button and then copy the 'Download ZIP' link as shown below. It is a beta version which may not be that stable. Go to the 'Master' branch and select the 'Tags' link.Ĭhoose the latest Git option from the top of the panel.Īvoid selecting the release candidate version that has the suffix rc. $ sudo apt install make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzipĪfter the installation is complete, go to the Git project hosted on Github. Install all the Git dependencies - $ sudo apt update It allows you to have the latest version of the Git repository. You can also install Git from the source, which is a more flexible method. The output can show that you have installed Git version 2.30.2 Method 2: Installing Git from Source Once the installation is done, check the Git version- $ git -version Now, you can install Git package from Debian's APT repository $ sudo apt install git Run the following command- $ sudo apt update Method 1: Installing Git using APT Package Manager
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |