Ubuntu 22.04 LTS - AtoZ Linux https://atozlinux.com Linux News, Tutorials, Freebies & Many More Mon, 04 Mar 2024 14:48:21 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 How To Install Git On Ubuntu 22.04 LTS In 2024 https://atozlinux.com/how-to-install-git-on-ubuntu/ https://atozlinux.com/how-to-install-git-on-ubuntu/#respond Mon, 04 Mar 2024 00:14:50 +0000 https://itsubuntu.com/?p=124452 How To Install Git On Ubuntu 22.04 LTS In 2024 Git is a free and open-source distributed version control system. Here, You can find the step by step guide to install Git on Ubuntu 22.04 LTS. How To Install Git On Ubuntu 22.04 LTS In 2024 Make sure that all of the packages installed on […]

The post How To Install Git On Ubuntu 22.04 LTS In 2024 first appeared on AtoZ Linux.

]]>
How To Install Git On Ubuntu 22.04 LTS In 2024

Git is a free and open-source distributed version control system. Here, You can find the step by step guide to install Git on Ubuntu 22.04 LTS.

How To Install Git On Ubuntu 22.04 LTS In 2024

Make sure that all of the packages installed on Ubuntu 22.04 are up to date before beginning the Git installation on Ubuntu. To find out if the packages are current, run the following command.

 apt update -y

For the most part, the git package ought to be installed by default on Ubuntu 22.04 LTS. To find out whether you have git installed or not, run the following command. This command will show you the version of git that is presently installed on your system if you already have it installed.

git --version

Output

git version 2.34.1

In case the git package isn’t installed, Run the following command in your Ubuntu.

apt update
apt install git

Enter ‘Y’ to continue the installation.

To verify whether the installation was successful or not, Run the git –version command again.

Just in case if you want to install a different version of Git then run the following command to check which git version is available to install.

 apt-cache policy git

How To Install git from Source On Ubuntu 22.04 LTS In 2024

Installing git from the source will allow you to install the most recent or alternative version of the software. Run the following commands one by one to update the packages and install all the dependencies that is needed.

 apt update
 apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc

 

You can check the webpage https://mirrors.edge.kernel.org/pub/software/scm/git/ if you’re unclear about the version. and you have the option of installing a different version of git.  Once the version check is complete, Run the following command to download Git.

wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.gz

Now unpack the compressed tarball file:

 tar -xzf git-2.9.5.tar.gz

Next move to the git directory:

 cd git-2.9.5

Now, it’s time to install git on Ubuntu.

 make prefix=/usr/local all
 make prefix=/usr/local install
 exec bash

Run the following command to check if the installation was completed or not in your system.

 git --version

The post How To Install Git On Ubuntu 22.04 LTS In 2024 first appeared on AtoZ Linux.

]]>
https://atozlinux.com/how-to-install-git-on-ubuntu/feed/ 0
Multiple Ways To Install Discord On Ubuntu 22.04 LTS In 2024 https://atozlinux.com/install-discord-on-ubuntu-22-04-lts/ https://atozlinux.com/install-discord-on-ubuntu-22-04-lts/#respond Mon, 02 Jan 2023 04:16:11 +0000 https://atozlinux.com/?p=326 Multiple Ways To Install Discord On Ubuntu 22.04 LTS In 2024 Discord is a popular instant communication app where you can do messaging, video, and voice calling. In this discord-ubuntu tutorial article, we will show you the different ways to install Discord on the Ubuntu 22.04 lts in 2024. Multiple Ways To Install Discord On […]

The post Multiple Ways To Install Discord On Ubuntu 22.04 LTS In 2024 first appeared on AtoZ Linux.

]]>
Multiple Ways To Install Discord On Ubuntu 22.04 LTS In 2024

Discord is a popular instant communication app where you can do messaging, video, and voice calling. In this discord-ubuntu tutorial article, we will show you the different ways to install Discord on the Ubuntu 22.04 lts in 2024.

Multiple Ways To Install Discord On Ubuntu 22.04 LTS In 2024

There are two different ways to install Discord on Ubuntu 22.04 LTS:

Method 1:

How To Install Discord from Snap Store On Ubuntu 22.04 LTS

You can easily install Discord on Ubuntu 22.04 LTS from Snap Store.

sudo snap install discord

How To Remove Discord from Snap Store:

You can remove Discord using the following command:

sudo snap remove discord

Method 2:

How To Install Discord on Ubuntu 22.04 Through Debian Package

In this method, you need to download the Discord Debian package using the following command:

wget "https://discord.com/api/download?platform=linux&format=deb" -O discord.deb

Run the following command to install the discord.deb file on Ubuntu 22.04 LTS:

 sudo apt install ./discord.deb -y

Remove Discord from Ubuntu:

Run the following command to remove Discord from Ubuntu 22.04 LTS.

sudo apt --purge remove discord -y

The post Multiple Ways To Install Discord On Ubuntu 22.04 LTS In 2024 first appeared on AtoZ Linux.

]]>
https://atozlinux.com/install-discord-on-ubuntu-22-04-lts/feed/ 0