Ubuntu - AtoZ Linux https://atozlinux.com Linux News, Tutorials, Freebies & Many More Wed, 19 Mar 2025 10:07:59 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.2 Install Proprietary Drivers In Ubuntu 24.04 LTS In 2025 https://atozlinux.com/install-proprietary-drivers-in-ubuntu-24-04-lts/ https://atozlinux.com/install-proprietary-drivers-in-ubuntu-24-04-lts/#respond Wed, 19 Mar 2025 05:44:18 +0000 https://atozlinux.com/?p=126424 How To Install Proprietary Drivers In Ubuntu 24.04 LTS These days, you can find the most of the drivers in Ubuntu 24.04 LTS. There are basically two type of driver in Linux. Open and closed source driver. Proprietary driver falls in the closed source driver category. Drivers like Nvidia drivers falls in this category. Ubuntu […]

The post Install Proprietary Drivers In Ubuntu 24.04 LTS In 2025 first appeared on AtoZ Linux.

]]>
How To Install Proprietary Drivers In Ubuntu 24.04 LTS

These days, you can find the most of the drivers in Ubuntu 24.04 LTS. There are basically two type of driver in Linux. Open and closed source driver. Proprietary driver falls in the closed source driver category. Drivers like Nvidia drivers falls in this category. Ubuntu itself identifies and installs drivers on your system but some hardware still needs additional drivers to be installed  In this Ubuntu 24.04 LTS tutorial post, we will show you the two different methods to install Proprietary drivers in Ubuntu.

How To Install Proprietary Drivers In Ubuntu 24.04 LTS

There are basically two methods to install proprietary drivers in Ubuntu 24.04 LTS.

1. How to Install Proprietary Drivers on Ubuntu 24.04 LTS via Command

In this method, we will show you the step by step tutorial to install proprietary drivers on Ubuntu 24.04 LTS. You can easily install Proprietary drivers on Ubuntu via few lines on Command. At First, Run the following commands to get the list of the available drivers in Ubuntu 24.04 LTS.

sudo ubuntu-drivers list
sudo ubuntu-drivers list --gpgpu

Meanwhile, if you know the exact name of the driver that you want to install then run the following command to install the driver.

sudo ubuntu-drivers install driver-name

Run the following command to install the driver If you want to install the drivers for generic use. Below command will install the best-matched drivers for your Ubuntu 24.04 LTS.

sudo ubuntu-drivers install

2. How to Install Proprietary Drivers on Ubuntu 24.04 LTS via GUI

This method is for you if prefer to use GUI method to install driver on Ubuntu 24.04 LTS. In this graphical method, you can easily install Proprietary drivers on Ubuntu 24.04 LTS via GUI. Follow the step by step instruction mentioned below to install proprietary drivers on Ubuntu 24.04 LTS.

  1. Open “Software and Updates“.
  2. Move to the “Additional Drivers” section. Here you will be able to see all the devices you can install drivers for.
  3. Now, select the driver that you want to install from the options and click on “Apply Changes“. After the installation is complete, you will get a restart option. Click on it to restart your system and finish driver installation.

3. Install Nvidia Proprietary Drivers in Ubuntu 24.04 LTS

Run the following command to install proprietary Nvidia GPU Drivers on Ubuntu  24.04 LTS:

Update your system running apt-get command

sudo apt-get update

Now, run the following command to install NVIDIA drivers:

sudo apt install nvidia-driver-535 nvidia-dkms-535” at the CLI

Just incase if you want to know the version of NVIDIA driver installed in your Ubuntu then run one of the following commands.

apt-cache search 'nvidia-driver-'| grep '^nvidia-driver-[[:digit:]]*'
apt-cache search 'nvidia-driver-'| grep'^nvidia-driver-[[:digit:]]*' | sort-k 3 -t '-'
## search for DKMS package too ##
apt-cache search 'nvidia-dkms-' | grep '^nvidia-dkms-[[:digit:]]*'

Step by step guide to install NVIDIA proprietary drivers in Ubuntu using GUI method.

  1. Open “Software and Updates“.
  2. Move to the “Additional Drivers” tab.
  3. There you will see the Nvidia drivers option from where you can select of your choice. Choose nvidia-driver-460 (proprietary, tested) and click on the Apply Changes button.

Summary: In this tutorial post ” How To Install Proprietary Drivers In Ubuntu 24.04 LTS”, we provided you the two ways to install any closed source or proprietary drivers in Ubuntu. Let us know if you have any other methods.

The post Install Proprietary Drivers In Ubuntu 24.04 LTS In 2025 first appeared on AtoZ Linux.

]]>
https://atozlinux.com/install-proprietary-drivers-in-ubuntu-24-04-lts/feed/ 0
How To Make Ubuntu Terminal Look Like Kali Linux In 2025 https://atozlinux.com/make-ubuntu-terminal-look-like-kali-linux/ https://atozlinux.com/make-ubuntu-terminal-look-like-kali-linux/#respond Tue, 18 Mar 2025 00:30:11 +0000 https://itsubuntu.com/?p=124105 Tutorial To Make Ubuntu Terminal Look Like Kali Linux This tutorial is for those people who wants to bring the vibes of Kali Linux on Ubuntu by converting traditional terminal of Ubuntu to Kali Linux terminal.  Ubuntu is popular among the regular users while Kali Linux is mostly used by security enthusiast. Make Ubuntu Terminal […]

The post How To Make Ubuntu Terminal Look Like Kali Linux In 2025 first appeared on AtoZ Linux.

]]>
Tutorial To Make Ubuntu Terminal Look Like Kali Linux

This tutorial is for those people who wants to bring the vibes of Kali Linux on Ubuntu by converting traditional terminal of Ubuntu to Kali Linux terminal.  Ubuntu is popular among the regular users while Kali Linux is mostly used by security enthusiast.

Make Ubuntu Terminal Look Like Kali Linux In 2025

We will be installing  zsh shell, zshell plugins and some additional tools in your Ubuntu so that we can convert terminal. The Z shell is an interactive shell that incorporates many features like bash, fish, dash, and ksh. 

Installing ZSH on Ubuntu 24.04 LTS

Run the following command to install ZSH on Ubuntu-based operating systems.

sudo apt update
sudo apt install zsh

After installation is complete,  run the zsh command to switch from the bash prompt. You will see a z shell configuration prompt where you need to select option “0” from the prompt and then hit enter.

Install Z shell plugins by running following commands.

sudo apt install zsh-syntax-highlighting zsh-autosuggestions

Run the following command to change your default login shell to the z shell.

chsh -s /bin/zsh

Modifying the zshrc file

Tweak the zshrc file to customize. It is located in your home directory (~/.zshrc). zshrc is a hidden file so you need to configure your system to see the hidden file. Sometimes the file may not be available, so you must create or delete it if it is already available.

To delete the file run the following command:

rm ~/.zshrc

To create a new file simply run this command:

touch ~/.zshrc

After successfully creating the .zshrc file, open it with your preferred text editor and then you need to copy and paste the following content into your .zshrc file, and save.

# ~/.zshrc file for zsh interactive shells.

# see /usr/share/doc/zsh/examples/zshrc for examples

setopt autocd # change directory just by typing its name

#setopt correct # auto correct mistakes

setopt interactivecomments # allow comments in interactive mode

setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’

setopt nonomatch # hide error message if there is no match for the pattern

setopt notify # report the status of background jobs immediately

setopt numericglobsort # sort filenames numerically when it makes sense

setopt promptsubst # enable command substitution in prompt


WORDCHARS=${WORDCHARS//\/} # Don't consider certain characters part of the word


# hide EOL sign ('%')

PROMPT_EOL_MARK=""

# configure key keybindings

bindkey -e # emacs key bindings

bindkey ' ' magic-space # do history expansion on space

bindkey '^U' backward-kill-line # ctrl + U

bindkey '^[[3;5~' kill-word # ctrl + Supr

bindkey '^[[3~' delete-char # delete

bindkey '^[[1;5C' forward-word # ctrl + ->

bindkey '^[[1;5D' backward-word # ctrl + <-

bindkey '^[[5~' beginning-of-buffer-or-history # page up

bindkey '^[[6~' end-of-buffer-or-history # page down

bindkey '^[[H' beginning-of-line # home

bindkey '^[[F' end-of-line # end

bindkey '^[[Z' undo # shift + tab undo last action

# enable completion features

autoload -Uz compinit

compinit -d ~/.cache/zcompdump

zstyle ':completion:*:*:*:*:*' menu select

zstyle ':completion:*' auto-description 'specify: %d'

zstyle ':completion:*' completer _expand _complete

zstyle ':completion:*' format 'Completing %d'

zstyle ':completion:*' group-name ''

zstyle ':completion:*' list-colors ''

zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s

zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'

zstyle ':completion:*' rehash true

zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s

zstyle ':completion:*' use-compctl false

zstyle ':completion:*' verbose true

zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'

# History configurations

HISTFILE=~/.zsh_history

HISTSIZE=1000

SAVEHIST=2000

setopt hist_expire_dups_first # delete duplicates first when HISTFILE size exceeds HISTSIZE

setopt hist_ignore_dups # ignore duplicated commands history list

setopt hist_ignore_space # ignore commands that start with space

setopt hist_verify # show command with history expansion to user before running it

#setopt share_history # share command history data

# force zsh to show the complete history

alias history="history 0"


# configure `time` format

TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P'

# make less more friendly for non-text input files, see lesspipe(1)

#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)

if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then

debian_chroot=$(cat /etc/debian_chroot)

fi

# set a fancy prompt (non-color, unless we know we "want" color)

case "$TERM" in

xterm-color|*-256color) color_prompt=yes;;

esac
# uncomment for a colored prompt, if the terminal has the capability; turned

# off by default to not distract the user: the focus in a terminal window

# should be on the output of commands, not on the prompt

force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then

if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then

# We have color support; assume it's compliant with Ecma-48

# (ISO/IEC-6429). (Lack of such support is extremely rare, and such

# a case would tend to support setf rather than setaf.)

color_prompt=yes

else

color_prompt=

fi

fi

configure_prompt() {

prompt_symbol=㉿

# Skull emoji for root terminal

#[ "$EUID" -eq 0 ] && prompt_symbol=?

case "$PROMPT_ALTERNATIVE" in

twoline)

PROMPT=$'%F{%(#.blue.green)}┌──${debian_chroot:+($debian_chroot)─}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))─}(%B%F{%(#.red.blue)}%n'$prompt_symbol$'%m%b%F{%(#.blue.green)})-[%B%F{reset}%(6~.%-1~/…/%4~.%5~)%b%F{%(#.blue.green)}]\n└─%B%(#.%F{red}#.%F{blue}$)%b%F{reset} '

# Right-side prompt with exit codes and background processes

#RPROMPT=$'%(?.. %? %F{red}%B⨯%b%F{reset})%(1j. %j %F{yellow}%B⚙%b%F{reset}.)'

;;

oneline)

PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '

RPROMPT=

;;

backtrack)

PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{blue}%~%b%F{reset}%(#.#.$) '

RPROMPT=

;;

esac

unset prompt_symbol

}

# The following block is surrounded by two delimiters.

# These delimiters must not be modified. Thanks.

# START KALI CONFIG VARIABLES

PROMPT_ALTERNATIVE=twoline

NEWLINE_BEFORE_PROMPT=yes

# STOP KALI CONFIG VARIABLES

if [ "$color_prompt" = yes ]; then

# override default virtualenv indicator in prompt

VIRTUAL_ENV_DISABLE_PROMPT=1

configure_prompt

# enable syntax-highlighting

if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then

. /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)

ZSH_HIGHLIGHT_STYLES[default]=none

ZSH_HIGHLIGHT_STYLES[unknown-token]=fg=white,underline

ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=cyan,bold

ZSH_HIGHLIGHT_STYLES[suffix-alias]=fg=green,underline

ZSH_HIGHLIGHT_STYLES[global-alias]=fg=green,bold

ZSH_HIGHLIGHT_STYLES[precommand]=fg=green,underline

ZSH_HIGHLIGHT_STYLES[commandseparator]=fg=blue,bold

ZSH_HIGHLIGHT_STYLES[autodirectory]=fg=green,underline

ZSH_HIGHLIGHT_STYLES[path]=bold

ZSH_HIGHLIGHT_STYLES[path_pathseparator]=

ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]=

ZSH_HIGHLIGHT_STYLES[globbing]=fg=blue,bold

ZSH_HIGHLIGHT_STYLES[history-expansion]=fg=blue,bold

ZSH_HIGHLIGHT_STYLES[command-substitution]=none

ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]=fg=magenta,bold

ZSH_HIGHLIGHT_STYLES[process-substitution]=none

ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]=fg=magenta,bold

ZSH_HIGHLIGHT_STYLES[single-hyphen-option]=fg=green

ZSH_HIGHLIGHT_STYLES[double-hyphen-option]=fg=green

ZSH_HIGHLIGHT_STYLES[back-quoted-argument]=none

ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]=fg=blue,bold

ZSH_HIGHLIGHT_STYLES[single-quoted-argument]=fg=yellow

ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=fg=yellow

ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]=fg=yellow

ZSH_HIGHLIGHT_STYLES[rc-quote]=fg=magenta

ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]=fg=magenta,bold

ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]=fg=magenta,bold

ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]=fg=magenta,bold

ZSH_HIGHLIGHT_STYLES[assign]=none

ZSH_HIGHLIGHT_STYLES[redirection]=fg=blue,bold

ZSH_HIGHLIGHT_STYLES[comment]=fg=black,bold

ZSH_HIGHLIGHT_STYLES[named-fd]=none

ZSH_HIGHLIGHT_STYLES[numeric-fd]=none

ZSH_HIGHLIGHT_STYLES[arg0]=fg=cyan

ZSH_HIGHLIGHT_STYLES[bracket-error]=fg=red,bold

ZSH_HIGHLIGHT_STYLES[bracket-level-1]=fg=blue,bold

ZSH_HIGHLIGHT_STYLES[bracket-level-2]=fg=green,bold

ZSH_HIGHLIGHT_STYLES[bracket-level-3]=fg=magenta,bold

ZSH_HIGHLIGHT_STYLES[bracket-level-4]=fg=yellow,bold

ZSH_HIGHLIGHT_STYLES[bracket-level-5]=fg=cyan,bold

ZSH_HIGHLIGHT_STYLES[cursor-matchingbracket]=standout

fi

else

PROMPT='${debian_chroot:+($debian_chroot)}%n@%m:%~%(#.#.$) '

fi

unset color_prompt force_color_prompt


toggle_oneline_prompt(){

if [ "$PROMPT_ALTERNATIVE" = oneline ]; then

PROMPT_ALTERNATIVE=twoline

else

PROMPT_ALTERNATIVE=oneline

fi

configure_prompt

zle reset-prompt

}

zle -N toggle_oneline_prompt

bindkey ^P toggle_oneline_prompt


# If this is an xterm set the title to user@host:dir

case "$TERM" in

xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty)

TERM_TITLE=$'\e]0;${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%n@%m: %~\a'

;;

*)

;;

esac

precmd() {

# Print the previously configured title

print -Pnr -- "$TERM_TITLE"

# Print a new line before the prompt, but only if it is not the first line

if [ "$NEWLINE_BEFORE_PROMPT" = yes ]; then

if [ -z "$_NEW_LINE_BEFORE_PROMPT" ]; then

_NEW_LINE_BEFORE_PROMPT=1

else

print ""

fi

fi

}


# enable color support of ls, less and man, and also add handy aliases

if [ -x /usr/bin/dircolors ]; then

test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"

export LS_COLORS="$LS_COLORS:ow=30;44:" # fix ls color for folders with 777 permissions


alias ls='ls --color=auto'

#alias dir='dir --color=auto'

#alias vdir='vdir --color=auto'

alias grep='grep --color=auto'

alias fgrep='fgrep --color=auto'

alias egrep='egrep --color=auto'

alias diff='diff --color=auto'

alias ip='ip --color=auto'

export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink

export LESS_TERMCAP_md=$'\E[1;36m' # begin bold

export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink

export LESS_TERMCAP_so=$'\E[01;33m' # begin reverse video

export LESS_TERMCAP_se=$'\E[0m' # reset reverse video

export LESS_TERMCAP_us=$'\E[1;32m' # begin underline

export LESS_TERMCAP_ue=$'\E[0m' # reset underline

# Take advantage of $LS_COLORS for completion as well

zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"

zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'

fi

# some more ls aliases

alias ll='ls -l'

alias la='ls -A'

alias l='ls -CF'

# enable auto-suggestions based on the history

if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then

. /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh

# change suggestion color

ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'

fi


# enable command-not-found if installed

if [ -f /etc/zsh_command_not_found ]; then

. /etc/zsh_command_not_found

fi

compinit

To make the changes take effect, run the following command:

$ source .zshrc
$ . .zshrc

Now, Download color schemes and themes with the following command:

git clone https://github.com/linuxopsys/ubuntu-to-kali-terminal.git
cd ubuntu-to-kali-terminal

Now extract the compressed files:

tar -xvf color-schemes.tar
tar -xvf kali-dark-theme.tar

You will notice a new directory name “usr” in your current working directory.

Now you need to remove the qtermwidget5 directory located in the /usr/share directory and replace it with one from the extracted tar file.

sudo rm -rf /usr/share/qtermwidget5
sudo mv -f usr/share/qtermwidget5 /usr/share

Now its time to Change Qterminal settings

  • Open your Qterminal preferences
  • Change the color scheme to Kali-Dark and then press the Apply button
  • At the bottom of your terminal’s Appearance settings, Adjust the “Application transparency” from “0%” to “5%,”
  • Click apply for the changes to take effect.

Now, it’s time to change the Ubuntu theme. Run the following command to move the Kali-Dark directory from the directory you extracted to /usr/share/themes directory.

sudo mv -f usr/share/themes/Kali-Dark /usr/share/themes

Now, you can tweak your setting by going to the gnome-tweaks by running the following command:

gnome-tweaks

Meanwhile, If you have Gnome Tweak Tool installed in Ubuntu then go through the following article:

 

The post How To Make Ubuntu Terminal Look Like Kali Linux In 2025 first appeared on AtoZ Linux.

]]>
https://atozlinux.com/make-ubuntu-terminal-look-like-kali-linux/feed/ 0
How To Mount Windows 11 Shares On Ubuntu 24.04 LTS https://atozlinux.com/how-to-mount-windows-11-shares-on-ubuntu-linux/ https://atozlinux.com/how-to-mount-windows-11-shares-on-ubuntu-linux/#respond Fri, 03 Jan 2025 00:58:46 +0000 https://itsubuntu.com/?p=122952 Mount Windows 11 Shares On Ubuntu 24.04 LTS This article provides instructions on how to mount Windows shares on Ubuntu. Use the Common Internet File System (CIFS), a network file-sharing protocol, if you wish to mount Windows 11 shares or Windows shares on Ubuntu or any other Linux-based operating system. How To Mount Windows 11 […]

The post How To Mount Windows 11 Shares On Ubuntu 24.04 LTS first appeared on AtoZ Linux.

]]>
Mount Windows 11 Shares On Ubuntu 24.04 LTS

This article provides instructions on how to mount Windows shares on Ubuntu. Use the Common Internet File System (CIFS), a network file-sharing protocol, if you wish to mount Windows 11 shares or Windows shares on Ubuntu or any other Linux-based operating system.

How To Mount Windows 11 Shares On Ubuntu 24.04 LTS

We need to configure a few settings and protocols so that Ubuntu can mount Windows 11 shares.

How To Enable Network Discovery in Windows 11

First, we confirm that Windows 11’s network discovery is turned on. On a private network, you cannot see Windows devices if your network discovery is disabled.

You can easily enable Network Discovery in Windows 11 with the following steps.

  • Use the Windows key + I shortcut for System Settings, you can go to system settings via Start ==> Settings, Or you can use the search box on the taskbar and search for Settings.
  • In Windows Settings Panel, You can see the Network & Internet option on the right side of the pane. You need to click Network & Internet, then select Ethernet on the right pane of your Windows Settings Panel.
  • After clicking on the Ethernet setting, You will have two network profile types.  You need to select the Private network profile. This profile will allow devices in your network to be discovered.

Now you need to turn on Public Folder Sharing in Windows 11.

How To Turn on Public Folder Sharing in Windows 11

In Windows 11, you must first navigate to the Cpanel before choosing Network and Internet. You will notice the Network and Sharing Center option in the right pane after selecting the Network and Internet option. Change advanced sharing settings is located on the left side of the pane in the Network and Sharing Center window. To alter the advance sharing settings, click on it. A list of options will appear; from there, choose Private (current profile) and Turn on file and printer sharing. Save your edits, then close the window.

At this point, Windows ought to activate printer and file sharing on private networks automatically, and you ought to be able to see the Public folder sharing settings. The file sharing feature might be disabled if you are still unable to view shared files or printers.

You can also easily enable the file and print sharing by running following command:

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

Now, you need to have Folders on Windows that you want to share.

How To Create Windows Shares For Linux

To share a folder, you  need to have a folder in Windows. You must make one folder for sharing if you don’t already have one. Right now, sharing the folder is crucial. Use the Start button to navigate to the computer management option.  The Shared Folders option is located in the left pane of the Computer Management panel. Expand the Shared Folders folder, then right-click on Shares and choose New Share. You must choose the folder you created in the previous step or that you wish to share. You can also set the shared folder permissions using this setting wizard.  After creating and configuring the Windows shares, You need to configure Ubuntu or Linux from where you are going to access the Windows share.

Mount Windows shares on Ubuntu Linux

Now, you need to install the CIFS utility package on Ubuntu by running the following commands to install CIFS on Ubuntu.

sudo apt update
sudo apt install cifs-utils

Run the following command to mount a  Windows share to the /mnt/Windows_Share_created directory on Ubuntu Linux.

sudo mount -t <strongcifs -o username=<Windows_User_Name> //Windows_PC_IP/<ShareName> /mnt/Windows_Share_created

It might ask for your Windows account password. If you want to include the password along with the command:

sudo mount -t cifs -o username=<Windows_User_Name>,password=<Windows_Password> //Windows_PC_IP/<ShareName> /mnt/Windows_Share_created

If you don’t want to always type the mount commands to mount Windows shares, you can go through the following steps to automatically mount the shares.

Run the commands:

sudo nano /etc/fstab

Then enter the following commands at the bottom of the file and save.

//Windows_PC_IP/ShareName  /mnt/Widows_Share_created  cifs  credentials=/etc/credentials,file_mode=0755,dir_mode=0755 0   0

Now It will automatically mount the shares.

Run the commands below to unmount the share.

sudo umount /mnt/win_share

The post How To Mount Windows 11 Shares On Ubuntu 24.04 LTS first appeared on AtoZ Linux.

]]>
https://atozlinux.com/how-to-mount-windows-11-shares-on-ubuntu-linux/feed/ 0
11+ Best Ubuntu Themes In 2024 https://atozlinux.com/best-ubuntu-themes/ https://atozlinux.com/best-ubuntu-themes/#respond Fri, 01 Nov 2024 00:10:13 +0000 https://atozlinux.com/?p=126100 List of best Ubuntu themes in 2024. Looking for some of the amazing Ubuntu themes then you are at the right place. We have the massive collection of Best Ubuntu themes that you can use in 2024.  Let us know which one is your favorite one. Top 11+ Best Ubuntu Themes In 2024 1. Canta […]

The post 11+ Best Ubuntu Themes In 2024 first appeared on AtoZ Linux.

]]>
List of best Ubuntu themes in 2024.

Looking for some of the amazing Ubuntu themes then you are at the right place. We have the massive collection of Best Ubuntu themes that you can use in 2024.  Let us know which one is your favorite one.

Top 11+ Best Ubuntu Themes In 2024

1. Canta Theme

Flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell.

Install Canta Theme On Ubuntu

Run the following command using snap to install Canta theme on Ubuntu.

sudo snap install canta-themes

2. Pop Theme

Pop theme an Adapta-inspired theme that is pretty much beautiful theme. It has adapted the Unity’s color scheme with its brown and orange color settings.

How To Install Pop Theme On Ubuntu

Run the following commands  to Install Pop theme using the PPA in Ubuntu.

sudo add-apt-repository ppa:system76/pop
sudo apt update
sudo apt install pop-theme

3. Paper Theme

  • A modern freedesktop icon theme.

How To Install Paper Theme On Ubuntu/Linux Mint

Run the following command to install the Paper theme using  PPA in Ubuntu.

sudo add-apt-repository -u ppa:snwh/ppa
sudo apt-get update
sudo apt install paper-icon-theme

sudo apt-get install paper-icon-theme
sudo apt-get install paper-cursor-theme

4. Flat Remix Gnome Theme

Shell theme that is modern and beautiful  theme and it is inspired by material design, available in Light and Dark versions

How To Install Flat Remix Gnome Theme on Ubuntu/Linux Mint

Run the following command to install the Flat Remix Gnome theme using the PPA.

sudo add-apt-repository ppa:daniruiz/flat-remix
sudo apt update
sudo apt install flat-remix-gnome

How To Install Flat Remix Gnome Theme on Fedora

For Fedora users, Run the following command to install Flat Remix Gnome Theme

sudo dnf copr enable daniruiz/flat-remix
sudo dnf install flat-remix-gnome

5. Sierra Gtk Theme

Sierra is a shell theme GTK 3, GTK 2, and Gnome-Shell theme that supports GTK 3 and GTK 2-based desktop environments.

How To Install Sierra Gtk Theme On Ubuntu

Run the following commands to install the Sierra theme using the following PPA on Ubuntu and its derivatives.

sudo add-apt-repository ppa:dyatlov-igor/sierra-theme
sudo apt update
sudo apt install sierra-gtk-theme       
sudo apt install sierra-gtk-theme-git   

6. Arc Theme

Arc theme is one of the popular and modern flat GTK Theme. It has transparent elements and available in 3 variants that is Arc, Arc-Darker, and Arc-Dark.

How To Install Arc Theme On Ubuntu

Run the following commands to install Arc Theme on Ubuntu.

git clone https://github.com/horst3180/arc-theme --depth 1 && cd arc-theme
./autogen.sh --prefix=/usr
sudo make install

7. Materia-Theme or Flat-Plat

Materia formerly known as a Flat-Plat is a beautiful Material Design theme with support for Ripple effect animations. It is available in  3 color variants and 2 size variants.

How To Install  Materia-Theme In Ubuntu/Linux Mint

Run the following command to install the Materia Remix Gnome theme using the following PPA in Ubuntu and Linux Mint.

sudo apt install materia-gtk-theme

For Fedora-based distributions users, Run the following command to install Materia theme.

sudo dnf copr enable tcg/themes
sudo dnf install materia-theme

If you want to install three variants Materia, Materia-dark, Materia-light via Flathub then run the following commands.

flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.gtk.Gtk3theme.Materia
flatpak install flathub org.gtk.Gtk3theme.Materia-dark
flatpak install flathub org.gtk.Gtk3theme.Materia-light

8. WhiteSur Gtk Theme

The WhiteSur Gtk Theme is inspired by the popular macOS Big Sur release. If you want to make your Ubuntu a macOS-like appearance then you can use this theme.

How To Install WhiteSur Gtk Them On Ubuntu

Run the following command to install the theme by cloning the Git repository and installing:

git clone https://github.com/vinceliuice/WhiteSur-gtk-theme.git --depth=1
cd WhiteSur-gtk-theme/
./install.sh
./install.sh --help 

The post 11+ Best Ubuntu Themes In 2024 first appeared on AtoZ Linux.

]]>
https://atozlinux.com/best-ubuntu-themes/feed/ 0
How To Install And Set Up Auto-GPT On Ubuntu https://atozlinux.com/how-to-install-and-set-up-auto-gpt-on-ubuntu/ https://atozlinux.com/how-to-install-and-set-up-auto-gpt-on-ubuntu/#respond Tue, 26 Mar 2024 05:45:06 +0000 https://atozlinux.com/?p=125698 How To Install And Set Up Auto-GPT On Ubuntu Auto-GPT  is an open-source project that uses the same GPT language model used in the popular ChatGPT. If you would like to harness the power of GPT in the form of an AI assistant, it might interest you to try out Auto-GPT. Here’s how you can […]

The post How To Install And Set Up Auto-GPT On Ubuntu first appeared on AtoZ Linux.

]]>
How To Install And Set Up Auto-GPT On Ubuntu

Auto-GPT  is an open-source project that uses the same GPT language model used in the popular ChatGPT.

If you would like to harness the power of GPT in the form of an AI assistant, it might interest you to try out Auto-GPT. Here’s how you can install and set up Auto-GPT on Ubuntu.

Prerequisites to Install Auto-GPT

To install Auto-GPT, you first need to install the latest Python3 and Git packages on your computer.

Python is extensively used in Auto-GPT. To install the latest version of Python on Ubuntu, open up a terminal and upgrade and update the packages using:

sudo apt update && sudo apt upgrade

Now, add the deadsnakes PPA with the following command:

sudo add-apt-repository ppa:deadsnakes/ppa

Install the latest version of Python with:

sudo apt install python3.11

Replace “python3.11” in the above command with the latest Python version at the time.

After installation, check if pip is already installed on your machine:

pip --version

If you’re using Python 3.4 or above, pip should already be installed. But in case it’s missing, install pip with:

sudo apt install python3-pip

Now that you’ve installed the latest Python version and pip on Ubuntu, install Git and clone the Auto-GPT repository using git clone:

sudo apt install git
sudo git clone https://github.com/Significant-Gravitas/Auto-GPT.git

Change the directory to the newly created Auto-GPT code folder using the cd command:

cd Auto-GPT

Configure Auto-GPT on Ubuntu

You must put up your OpenAI API key as an environment variable after properly configuring the Auto-GPT environment.  Go to platform.openai.com and create an account to obtain an OpenAI API key. To utilize OpenAI’s GPT product, make sure your payment method is configured.  Once you’ve logged in, choose View API Keys by clicking on your profile picture in the upper right corner.

Press Ctrl + C or click the copy icon to copy the API key after selecting the Generate new secret key button and giving it any name. This key serves as your AI assistant’s login information for OpenAI’s GPT technology.  After copying, insert the key into the .env file. The env file will store all the API keys that you use with Auto-GPT. If you don’t need a backend vector database like Pinecone, your OpenAI API key should be enough to use Auto-GPT.

Open the .env file using nano to set your API key:

nano .env.template

To locate the OpenAI API key variable.

Hold CTRL + W, search for “OPEN_API_KEY=”, and then hit Enter.

The post How To Install And Set Up Auto-GPT On Ubuntu first appeared on AtoZ Linux.

]]>
https://atozlinux.com/how-to-install-and-set-up-auto-gpt-on-ubuntu/feed/ 0
How To Install Grub Customizer On Ubuntu 22.04 LTS In 2024 https://atozlinux.com/how-to-install-grub-customizer-on-ubuntu-22-04-lts/ https://atozlinux.com/how-to-install-grub-customizer-on-ubuntu-22-04-lts/#respond Fri, 22 Mar 2024 09:02:52 +0000 https://atozlinux.com/?p=286 How To Install Grub Customizer On Ubuntu 22.04 LTS If you want to customize the GRUB boot menu in Ubuntu 22.04 LTS then this GRUB tutorial post is for you. With the help of Grub customizer, you can easily customize the GRUB boot menu in your Linux. Let’s have a look into the process of […]

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

]]>
How To Install Grub Customizer On Ubuntu 22.04 LTS

If you want to customize the GRUB boot menu in Ubuntu 22.04 LTS then this GRUB tutorial post is for you. With the help of Grub customizer, you can easily customize the GRUB boot menu in your Linux.

Let’s have a look into the process of installing GRUB customizer on Ubuntu 22.04 LTS.

How To Install Grub Customizer On Ubuntu 22.04 LTS

This step is also applicable to the other version of Ubuntu like Ubuntu 18.04 LTS & Ubuntu 20.04 LTS.

1. Install Grub Customizer On Ubuntu 22.04 LTS

Run the following commands one by one to install the Grub customizer in your Ubuntu 22.04 LTS.

sudo add-apt-repository ppa:trebelnik-stefina/grub-customizer
sudo apt update
sudo apt install grub-customizer

Bonus:

2. How To Install Grub Customizer On Linux Mint

It’s pretty easy to install GRUB customizer on Linux Mint operating system. Run the following commands to install Grub customizer on Linux Mint.

sudo add-apt-repository ppa:trebelnik-stefina/grub-customizer
sudo apt update
sudo apt install grub-customizer

3. How To Install Grub Customizer On RedHat

This command is for the RedHat. If you are a RedHat user then run the following command to install the Grub customizer.

sudo dnf install grub-customizer

4. How To Install Grub Customizer On Fedora

Like RedHat, You need to run the following command to install GRUB customizer on Fedora.

sudo dnf install grub-customizer

5. How To Install Grub Customizer On CentOS

Run the following command to install Grub customizer on CentOS Linux operating system.

sudo dnf install grub-customizer

6. How To Install Grub Customizer On AlmaLinux

Run the following command to install Grub customizer on AlmaLinux operating system.

sudo dnf install grub-customizer

7. Install Grub Customizer on Arch Linux and Manjaro:

Run the following command to install the Grub customizer on Arch Linux users and Manjaro Linux.

sudo pacman -S grub-customizer

8. Install Grub Customizer On Debian-based operating system.

Run the following commands to install Grub customizer on Debian

sudo add-apt-repository ppa:trebelnik-stefina/grub-customizer
sudo apt update
sudo apt install grub-customizer

After installation, you can open the Grub Customizer from the Linux’s app launcher or by typing the following command in terminal

grub-customizer

Summary: In this post, you can find the easy way to install Grub customizer in Ubuntu along with other Linux based operating systems. Let us know if there is any improvement that you think need to be done in this post.

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

]]>
https://atozlinux.com/how-to-install-grub-customizer-on-ubuntu-22-04-lts/feed/ 0
GNOME 46 “Kathmandu” Desktop Environment Released https://atozlinux.com/gnome-46-kathmandu-desktop-environment-released/ https://atozlinux.com/gnome-46-kathmandu-desktop-environment-released/#respond Thu, 21 Mar 2024 03:59:12 +0000 https://atozlinux.com/?p=126241 GNOME 46 “Kathmandu” Desktop Environment Released GNOME 46 “Kathmandu” Desktop Environment is now officially released. This is the latest version of the GNOME desktop environment which made available for the public use after 6 month of development. According to the team behind GNOME , Code name  “Kathmandu” was given in recognition of the amazing work […]

The post GNOME 46 “Kathmandu” Desktop Environment Released first appeared on AtoZ Linux.

]]>
GNOME 46 “Kathmandu” Desktop Environment Released

GNOME 46 “Kathmandu” Desktop Environment is now officially released. This is the latest version of the GNOME desktop environment which made available for the public use after 6 month of development. According to the team behind GNOME , Code name  “Kathmandu” was given in recognition of the amazing work done by the organizers of GNOME.Asia 2023.

GNOME 46 “Kathmandu” Desktop Environment Released

Let’s have a look into the feature that you can find on GNOME 46 “Kathmandu”.

What To Expect In GNOME 46 “Kathmandu”?

    1. Search Everywhere: A new global search feature that lets you find files across your entire system from a central location. Files comes with a new global search feature in GNOME 46.
    2. Enhanced Files App: Improved performance, a dynamic progress section to track file operations, the ability to search within Files preferences, and more.
    3. Upgraded Online Accounts with OneDrive Support: You can now add your Microsoft 365 account and access your OneDrive files directly from the Files app.
    4. Remote Login with RDP: GNOME 46 allows remote desktop connections to other GNOME systems.
    5. Improved Settings App: The Settings app has been reorganized for easier navigation, with new sections for System and Apps. It also includes new touchpad settings, a vast amount of polish, and accessibility improvements.
    6. Accessibility Improvements: Orca screen reader received a significant modernization effort, including a new sleep mode, new commands, and experimental support for Spiel. There’s also a new high contrast mode and a setting to show on/off symbols in switches.
  1. System Enhancements: GNOME 46 includes several small improvements to the core GNOME experience, including beautiful fallback avatars, enhanced notifications with improved layouts and the ability to expand, new app launching shortcuts, and a tap-to-click option by default.
  2. Better Apps: Many of GNOME’s core apps have been upgraded, including the Software app (which now shows verified badges for Flathub apps), Maps (with improved routing and support for dark mode), Calendar (with improved visuals and performance), Clocks (with quick timers), Contacts (with the ability to import multiple VCard files), and Disks (with a new resource graph for disk I/O).
  3. Improvements Under the Hood: GNOME 46 boasts performance and resource usage improvements, security improvements, rendering improvements with crisper fonts and clearer UIs, and experimental support for variable refresh rates.

Download GNOME 46 Kathmandu

It will be available with Ubuntu 24.04 LTS on April 25  but if you want to use it now then you can try GNOME OS image as a virtual machine, using the Boxes app.

Summary:
Let us know your experience of using GNOME 46 Kathmandu desktop environment.

The post GNOME 46 “Kathmandu” Desktop Environment Released first appeared on AtoZ Linux.

]]>
https://atozlinux.com/gnome-46-kathmandu-desktop-environment-released/feed/ 0
How To Install Steam On Ubuntu 22.04 or Ubuntu 20.04 https://atozlinux.com/how-to-install-steam-on-ubuntu/ https://atozlinux.com/how-to-install-steam-on-ubuntu/#respond Mon, 18 Mar 2024 01:46:58 +0000 https://atozlinux.com/?p=126023 How To Install Steam On Ubuntu 22.04 or 20.04 Steam is a gaming platform or a video game digital distribution service. It is framework on which you can play the games. It is  developed by Valve Corporation. Today, we will show you the process to install Steam on Ubuntu and it’s derivatives. How To Install […]

The post How To Install Steam On Ubuntu 22.04 or Ubuntu 20.04 first appeared on AtoZ Linux.

]]>
How To Install Steam On Ubuntu 22.04 or 20.04

Steam is a gaming platform or a video game digital distribution service. It is framework on which you can play the games. It is  developed by Valve Corporation. Today, we will show you the process to install Steam on Ubuntu and it’s derivatives.

How To Install Steam On Ubuntu 22.04 or Ubuntu 20.04

Steam has the game collection of more than 30,000 game. You can easily play all those games on Ubuntu.  There are multiple ways to install Steam on Ubuntu and it’s derivatives.

Let’s start our installation process by updating Ubuntu and it’s packages.

update all your system packages, run the following command:

sudo apt update &&sudo <apt upgrade

At first, Run the following command to install additional packages.

sudo apt install software-properties-common apt-transport-https curl -y

and now, run the following command to enable 32-bit support on your Ubuntu system:

sudo dpkg --add-architecture i386

Install Steam on Ubuntu 22.04 Or 20.04 via Steam APT Repository

In this step, we will install Steam on Ubuntu using steam apt. You need to import Steam GPG Key on Ubuntu. Run the following command to import Steam GPG key. The following command will downloads the GPG key and it will stores GPG key in your system’s keyring.

curl -s http://repo.steampowered.com/steam/archive/stable/steam.gpg | sudo gpg --dearmor -o /usr/share/keyrings/steam.gpg > /dev/null

Now, run the following command to add Steam APT Repository on Ubuntu

echo deb [arch=amd64 signed-by=/usr/share/keyrings/steam.gpg] http://repo.steampowered.com/steam/ stable steam |sudo tee /etc/apt/sources.list.d/steam.list

Update APT Cache in your Ubuntu by running the following command.

sudo apt update

Now, It’s time to install steam on on Ubuntu 22.04 or 20.04 via following command:

sudo apt-get install \
  libgl1-mesa-dri:amd64 \
  libgl1-mesa-dri:i386 \
  libgl1-mesa-glx:amd64 \
  libgl1-mesa-glx:i386 \
  steam-launcher

Meanwhile, One important point that you need to remember while installing Steam through this step to fix Steam extra sources list or Steam PPA on Ubuntu. It is necessary to fix source list because Steam sometime might add two extra new sources.list files for stable clients and the beta clients.

Fix Steam Extra Sources List (Steam PPA) on Ubuntu

You need to remove two extra new sources.list files for the stable and beta clients otherwise you cannot update and upgrade your packages. Now, In your terminal, Run the following command to list all current Steam sources lists. The following command will display the Steam sources lists present in your /etc/apt/sources.list.d directory.

ls /etc/apt/sources.list.d/steam*

Now, Run the following commands to remove the excess sources:

sudo rm /etc/apt/sources.list.d/steam-beta.list
sudo rm /etc/apt/sources.list.d/steam-stable.list

Next, run an APT update to ensure your package list works correctly now:

sudo apt update

This command updates your system’s package information to reflect the removal of the extra Steam sources lists.

In another method,

Install Steam using Ubuntu default repository

In this method, run the following command to install Steam using the Ubuntu default repository:

sudo apt install steam-installer steam-devices

How to Launch Steam on Ubuntu 22.04 LTS or 20.04 LTS

Run the following command in your terminal to start Steam on Ubuntu:

steam

Or, you can start it from the application center.

Summary:

This tutorial helps you to “Install Steam On Ubuntu 22.04 or Ubuntu 20.04”.

Let us know if you have anything to add in this article.

The post How To Install Steam On Ubuntu 22.04 or Ubuntu 20.04 first appeared on AtoZ Linux.

]]>
https://atozlinux.com/how-to-install-steam-on-ubuntu/feed/ 0
Best Way To Install Canon Printer Driver In Ubuntu 22.04 LTS https://atozlinux.com/install-canon-printer-driver-in-ubuntu-22-04-lts/ https://atozlinux.com/install-canon-printer-driver-in-ubuntu-22-04-lts/#respond Sun, 17 Mar 2024 14:39:04 +0000 https://atozlinux.com/?p=278 How To Install Canon Printer Driver In Ubuntu 22.04 LTS In this tutorial, we will show you the best way to install the Canon Printer driver in Ubuntu 22.04 LTS. There are several ways to install the Canon printer drivers in Ubuntu-based operating systems.  In this Canon printer tutorial post, we will see how to […]

The post Best Way To Install Canon Printer Driver In Ubuntu 22.04 LTS first appeared on AtoZ Linux.

]]>
How To Install Canon Printer Driver In Ubuntu 22.04 LTS

In this tutorial, we will show you the best way to install the Canon Printer driver in Ubuntu 22.04 LTS. There are several ways to install the Canon printer drivers in Ubuntu-based operating systems.  In this Canon printer tutorial post, we will see how to install the Canon Printer Driver in Ubuntu 22.04 LTS.

How To Install Canon Printer Driver In Ubuntu 22.04 LTS

Canon printers are one of the most widely used Printers these days. Thanks to the Linux ecosystem as Ubuntu comes up with the default compatible driver for Canon printers. Ubuntu 22.04 LTS is loaded with the default preinstalled PostScript Printer Description or PPD which is enough for most of the Canon printers. . But sometimes you need to download and install the Canon drivers for your Canon printer.

Method 1:

1. Add Canon Printer Driver via GUI in Ubuntu 22.04 LTS

In this method, we will show you the steps to add Canon printer driver via GUI in Ubuntu 22.04 LTS. For this, You need to visit the setting menu first and find the “Printers” menu. Now plug in your Canon printer and click on the search printer button on the “Printers” window. You will find the model of your printer and start adding it to your Ubuntu 22.04 LTS.

Method 2:

2. Download Canon Software From Canon Website

If you want to download the Canon printer driver from the Canon website then you can visit  Canon’s website. Download the required Debian driver package for your printer and install it on Ubuntu 22.04 LTS.

Method 3:

3. Install Canon Printer Driver Via PPA In Ubuntu 22.04 LTS

This is one of the most preferred and best ways to install the Canon printer driver in Ubuntu 22.04 LTS. There are multiple PPA sources for Canon printer drivers.

Run the following command to add the PPA in Ubuntu 22.04 LTS

sudo add-apt-repository ppa:michael-gruz/canon
sudo apt-get update

Alternative PPA.

sudo add-apt-repository ppa:thierry-f/fork-michael-gruz

Now, open your browser and run the following address in the URL section.

http://localhost:631/

You will see a Printer installation wizard from where you can add the printer from the web application and start using it.

Method 4:

4. Install Canon Printer Driver Via Synaptic Package Manager on Ubuntu 22.04 LTS

If you don’t have the Synaptic package manager installed on your Ubuntu 22.04 LTS, run the following command on your terminal to install it.

sudo apt-get install synaptic

Run the following aptitude command lines on your terminal shell to install the Canon printer driver via the synaptic packages manager on Ubuntu 22.04 LTS.

sudo apt install scangearmp2
sudo apt install cnijfilter2

Install a few library files required for Canon printers with the following command.

cnrdrvcups-lipslx
cnrdrvcups-ufr2-uk
cnrdrvcups-ufr2-us

Method 5:

5. Install Canon Printer Driver Via Foomatic DB In Ubuntu 22.04 LTS

In this method, you can install the Canon printer driver via foomatic DB. First, run the following command line to install the Foomatic DB.

sudo apt-get install cups cups-client "foomatic-db*"

or,

sudo apt-get install -y foomatic-db

Now, you are ready to use your Canon printer driver on Ubuntu 22.04 LTS.

Summary: In this post, You can find the multiple ways to install Canon Printer driver on Ubuntu 22.04 LTS. This tutorial is also applicable for the other version of Ubuntu.

The post Best Way To Install Canon Printer Driver In Ubuntu 22.04 LTS first appeared on AtoZ Linux.

]]>
https://atozlinux.com/install-canon-printer-driver-in-ubuntu-22-04-lts/feed/ 0
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