Ubuntu – AtoZ Linux https://atozlinux.com Linux News, Tutorials, Freebies & Many More Sat, 22 Nov 2025 16:13:57 +0000 en-US hourly 1 https://wordpress.org/?v=6.9 How To Remove Kernel In Ubuntu : Delete Old Or Unused Kernal https://atozlinux.com/how-to-remove-kernel-in-ubuntu/ https://atozlinux.com/how-to-remove-kernel-in-ubuntu/#respond Thu, 13 Nov 2025 05:21:11 +0000 https://atozlinux.com/?p=125949 How To Remove Kernel In Ubuntu

This post will help you to remove any unused or old Linux kernel from your Ubuntu Linux operating system. It is also good move to remove old or unused Kernels from Linux as it occupies more space in /boot partition on Ubuntu.

How To Remove Kernel In Ubuntu | Delete Old Or Unused Kernal

DISCLAIMER: The following process of Kernels deletion from your systems might affect your Linux. Please be careful before your remove old or unused kernel.

Some of the things that you should do before removing your old or unused kernels are:

  • Backup your files or any important documents.
  • Note down the version of your Linux Kernel.

Linux kernels and their associated files are stored under the /boot directory and the Kernel modules are stored in /lib/modules directory of your system. The Linux kernel files names starting with “vmlinuz-” or “vmlinuz.” and end with the version number.

Run the following  commands to check all installed Linux Kernels in Debian, Ubuntu and its derivatives:

dpkg --list | grep linux-image

You will see the output with the list of installed Linux kernel in your Linux operating systems.

rc  linux-image-5.15.0-25-generic              5.15.0-25.25                            amd64        Signed kernel image generic
ii  linux-image-5.15.0-41-generic              5.15.0-41.44                            amd64        Signed kernel image generic

In above output, “rc” stands for “removed, but the configuration files are still present and  “ii” stands for “installed, and successfully installed.

Run the following command to remove old and unused Kernels automatically. sudo apt-get autoremove --purge command scans Linux system for packages that were installed as dependencies but are no longer needed. It also removes those packages and their associated configuration files. It helps to free up disk space and cleaning up the system by removing unnecessary packages.

sudo apt-get autoremove --purge

How to Purge Old Unused Kernels in Debian-based Systems

Run the following command to remove old unused Linux Kernels and keep only the currently running Linux Kernel.

$ echo $(dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n '/'`uname -r`'/q;p') $(dpkg --list | grep linux-headers | awk '{ print $2 }' | sort -V | sed -n '/'"$(uname -r | sed "s/\([0-9.-]*\)-\([^0-9]\+\)/\1/")"'/q;p') | xargs sudo apt-get -y purge

Or,

Run the following command to remove old or unused Linux Kernel and keep only the currently running Linux Kernel.

$ sudo apt-get purge $(for tag in "linux-image" "linux-headers"; do dpkg-query -W -f'${Package}\n' "$tag-[0-9]*.[0-9]*.[0-9]*" | sort -V | awk 'index($0,c){exit} //' c=$(uname -r | cut -d- -f1,2); done)

How to Delete Old Unused Kernels in RHEL, Fedora, CentOS, Rocky Linux and AlmaLinux

Run the following  commands step by step to remove old unused Kernels in RHEL, Fedora, CentOS, Rocky Linux and AlmaLinux

1. Update your system:

sudo dnf update

2. Check the current kernel version:

This command will display the kernel name and version.

uname -sr

3. List all installed kernels:

sudo rpm -q kernel

4. Remove old kernels:

The following dnf command will keep the latest two kernels  and remove all the others:

sudo dnf remove --oldinstallonly --setopt installonly_limit=2 kernel
]]>
https://atozlinux.com/how-to-remove-kernel-in-ubuntu/feed/ 0
How to Install Linux Kernel 6.15 on Ubuntu 25.04 and Ubuntu 24.10 https://atozlinux.com/how-to-install-linux-kernel-6-15-on-ubuntu-25-04-and-ubuntu-24-10/ https://atozlinux.com/how-to-install-linux-kernel-6-15-on-ubuntu-25-04-and-ubuntu-24-10/#respond Sun, 06 Jul 2025 07:14:16 +0000 https://atozlinux.com/?p=126536 How to Install Linux Kernel 6.15 on Ubuntu 25.04 and Ubuntu 24.10

The most recent stable kernel is Linux 6.15, which Ubuntu users can install on their computers by using the official Ubuntu Mainline Kernel PPA archive. Here’s a brief guide on using the GUI and CLI to accomplish it. With new features like Rust support for hrtimer and ARMv7, a new setcpuid= boot parameter for x86 CPUs, support for sched_ext to count and report internal events, improvements to the x86 Intel and AMD PMU, nested virtualization support for VGICv3 on ARM, and more, Linux kernel 6.15 was released on May 25th, 2025.

How to Install Linux Kernel 6.15 on Ubuntu 25.04 and Ubuntu 24.10

The preferred and the most easiest way to install Linux kernel 6.15 on your Ubuntu is by using a graphical tool called Mainline Kernels. You can easily install it from this PPA by running the following commands in the Terminal.

Method 1: Install Mainline Kernels Tool In Ubuntu

Run the following commands.

sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update && sudo apt full-upgrade
sudo apt install -y mainline

Once the Mainline Kernels tool is installed, you can check the availability of all kernel versions from Canonical’s Mainline Kernel PPA. The tool will quickly  archive and will list Linux kernel 6.15 at the top of the list. Click on the “6.15” entry to select it and then click on the big “Install” button. Wait for the installation to complete and then reboot your computer.

Method 2: Install Linux kernel 6.15 on Ubuntu via CLI

This one is for the pro users or those users who love to do things on Ubuntu via Command line.  In this process, you need to manually download  and install the Linux 6.15 kernel packages from the official Ubuntu mainline kernel PPA archive  for your specific architecture (64-bit (amd64), AArch64 (ARM64), ARMhf, PowerPC 64-bit Little Endian (ppc64el), or IBM System z (s390x))

linux-headers-6.15.0-061500-generic_6.15.0-061500.202505260036_amd64.deb
linux-headers-6.15.0-061500_6.15.0-061500.202505260036_all.deb
linux-image-unsigned-6.15.0-061500-generic_6.15.0-061500.202505260036_amd64.deb
linux-modules-6.15.0-061500-generic_6.15.0-061500.202505260036_amd64.deb

Once you have downloaded all the kernel packages in the respective folder, you need to install them all at once by running the sudo dpkg -i *.deb command.

How to revert baack Ubuntu’s default kernel

This steps is important if you experience any issues running Linux kernel 6.15 and you want to go back to Ubuntu’s default kernel. You need to press the Esc key when your computer boots to view the boot menu, then access the “Advanced options” boot entry and select a different kernel version from the list of available kernels. You won’t have any issues onward as it revert back to the default kernel or any other working kernel that you have selected.

]]>
https://atozlinux.com/how-to-install-linux-kernel-6-15-on-ubuntu-25-04-and-ubuntu-24-10/feed/ 0
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 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.

]]>
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 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:

 

]]>
https://atozlinux.com/make-ubuntu-terminal-look-like-kali-linux/feed/ 0
Ubuntu 24.10 “Oracular Oriole” Release Schedule https://atozlinux.com/ubuntu-24-10-oracular-oriole-release-schedule/ https://atozlinux.com/ubuntu-24-10-oracular-oriole-release-schedule/#respond Wed, 08 May 2024 06:29:45 +0000 https://atozlinux.com/?p=126324 Ubuntu 24.10 “Oracular Oriole” Release Schedule

Canonical’s next major Ubuntu release, Ubuntu 24.10 release date has been confirmed as the company is planning to release Ubuntu 24.10 ” Oracular Oriole” on October 10th, 2024.  This is a non-LTS release with 9 months of support (until July 2025). It’s ideal for users who prioritize cutting-edge features over rock-solid stability.

Ubuntu 24.10 “Oracular Oriole” Release Schedule

  • Beta: September 19th, 2024
  • Testing Weeks: June 27th & August 22nd, 2024
  • Feature Freeze: August 15th, 2024
  • Kernel Freeze: September 26th, 2024
  • Final Freeze & Release Candidate: October 3rd, 2024

Ubuntu 24.10 Oracular Oriole Features:

  • GNOME 47 Desktop
  • Linux 6.10 Kernel (mid/late July release)
  • Wayland by Default for NVIDIA GPU
  • Improved Snap App Management
  • Enhanced App Center
  • Flexible Ubuntu Installer: OEMs can customize the installer for Hyper-V and Raspberry Pi.
  • Lubuntu 24.10: Likely to use LXQt 2.x (ideally 2.1 for full Wayland support).
  • Kubuntu 24.10: Expected to come with the latest KDE Plasma 6 desktop environment.

We can tell more about it after we get hand on the Beta version of Ubuntu 24.10.

]]>
https://atozlinux.com/ubuntu-24-10-oracular-oriole-release-schedule/feed/ 0
Install Ubuntu 22.04 LTS On Windows 11 In 2024 https://atozlinux.com/install-ubuntu-on-windows-11/ https://atozlinux.com/install-ubuntu-on-windows-11/#respond Fri, 22 Mar 2024 05:06:43 +0000 https://atozlinux.com/?p=156 Tutorial to install Ubuntu 22.04 LTS On Windows 11.

Ubuntu is one of the most popular Linux-based operating systems. We can say this is one who is leading the race from the side of Linux in the OS market dominated by Windows. Ubuntu 22.04 LTS is the latest version of Ubuntu Linux and Windows 11 is the latest version of the operating system from Microsoft.

It will be interesting to see the performance of these two operating systems in the market. Meanwhile, In this tutorial post, we are going to install Ubuntu 22.04 LTS on Windows 11. It’s not about installing Ubuntu in any virtual desktop environment as we will install Ubuntu on Windows 11 and it will be with the help of Windows Subsystem for Linux (WSL)

Install Ubuntu 22.04 LTS On Windows 11

Windows Subsystem for Linux (WSL) allows you to install Ubuntu on your Windows machine without any complications. At first, you need to enable and install WSL on Windows 11. Before that, you need to verify the Virtual Platform feature. For this,

  1. Search for Windows features.
  2. Open the control panel and scroll down to Virtual Machine Platform and select it.
  3. After installation of the Virtual Machine Platform component,  restart Windows 11.

Install WSL on Windows 11

You can easily install the WSL application from the Microsoft Store by opening it and searching for the Windows subsystem or you can install it by executing the following command in the Powershell.

wsl --install

Download Ubuntu on Windows 11

Open Microsoft Store and search for Ubuntu and install it by clicking on Get button.

Install WSL on Windows 11

Wait for a while and you are ready to use Ubuntu on Windows 11. Now, you will need to create a username and password for the newly installed Ubuntu operating system.

On Windows 11, WSL comes with WSLg that allows you to run graphical Linux applications.

To check that you have the latest package lists, type:

sudo apt update

Then, execute the following command on Ubuntu to start with some basic X11 applications:

sudo apt install x11-apps

Run the following command to run the xeyes, a “follow the mouse” application:

xeyes &

Note: Some of the other Linux operating systems that you can install on Windows 11 with WSL are Debian, Fedora, Kali, Alpine, and Linux Suse.

Meanwhile, if you want to change the Linux operating system on Windows 11 then run the following command.

wsl --install -d <Distribution Name>. Replace <Distribution Name> with the name of the Linux operating system, you would like to install.

]]>
https://atozlinux.com/install-ubuntu-on-windows-11/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 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
]]>
https://atozlinux.com/how-to-install-git-on-ubuntu/feed/ 0
How To Install VirtualBox On Ubuntu 22.04 LTS In 2024 https://atozlinux.com/how-to-install-virtualbox-on-ubuntu/ https://atozlinux.com/how-to-install-virtualbox-on-ubuntu/#respond Mon, 01 Jan 2024 01:00:16 +0000 https://itsubuntu.com/?p=124112 How To Install VirtualBox On Ubuntu 22.04 LTS In 2024

VirtualBox is a popular system virtualization software. VirtualBox is a powerful x86 and AMD64/Intel64 virtualization cross-platform virtual software. It is available in both free and professional editions. VirtualBox is available for almost all operating systems and it can run smoothly on Linux, Windows, macOS, and Solaris-based operating systems.

How To Install VirtualBox  On Ubuntu 22.04 LTS In 2024

Download the latest version of VirtualBox 7 for Ubuntu 22.04 LTS from the official website of VirtualBox. You can download it from this link. You need to download the VirtualBox 7 DEB package file. After downloading the file, run the update command to update your Ubuntu and move towards the download directory.

sudo apt update
cd ~/Downloads

Now, run the following command to install VirtualBox 7 on Ubuntu 22.04 LTS. Press Y to confirm the installation and wait for a while.

sudo apt install .virtualbox-7.0_7.0.4-154605~Ubuntu~jammy_amd64.deb

Wait for a while, your installation will be completed.

How To Start VirtualBox On Ubuntu?

Now you need to search VirtualBox in the application menu of Ubuntu 22.04 LTS to access VirtualBox 7. Click on it and start configuring your Virtual box according to your need.

Summary: Tutorial to How To Install VirtualBox 7 On Ubuntu 22.04 LTS In 2024

]]>
https://atozlinux.com/how-to-install-virtualbox-on-ubuntu/feed/ 0
Install Ubuntu along With Windows 11 in Dual Boot (Complete Guide) https://atozlinux.com/install-ubuntu-along-with-windows-11-in-dual-boot-complete-guide/ https://atozlinux.com/install-ubuntu-along-with-windows-11-in-dual-boot-complete-guide/#respond Sun, 24 Dec 2023 03:55:48 +0000 https://atozlinux.com/?p=58 Install Ubuntu along With Windows 11 in Dual Boot (Complete Guide)

Ubuntu 24.04 LTS is the upcoming version.  Ubuntu is one of the most popular and widely adopted Linux based operating system. It is often considered as a perfect alternative to Windows operating system. At the parallel tech universe, Windows 11 is the latest Windows operating system from Microsoft. Microsoft is betting high on Windows 11 and it is creating massive buzz too.

In this post, we will be discussing about the process of installing Ubuntu 20.04  along with Windows 11.  This tutorial post helps you to install Ubuntu 20.04 in dual boot with Windows 11.

Install Ubuntu along With Windows 11 in Dual Boot (Complete Guide)

Ubuntu 24.04 LTS  hardware requirements

  1. 2 GHz dual core processor.
  2. 4 GB RAM (system memory)
  3. 25 GB (8.6 GB for minimal) of hard-drive space
  4. VGA capable of 1024×768 screen resolution.
  5. Either a CD/DVD drive or a USB port for the installer media.

 

Windows 11  hardware requirements

  1. Processor 1 gigahertz (GHz) or faster with 2 or more cores
  2. RAM 4 gigabyte (GB)
  3. 64 GB or larger storage device
  4. UEFI, Secure Boot capable
  5. Compatible with DirectX 12 or later with WDDM 2.0 driver.
  6. High definition (720p) display that is greater than 9” diagonally, 8 bits per color channel.
  7. Trusted Platform Module (TPM) version 2.0

At first, Remember to backup your data in a separate hard drive and also you need to charge your laptop or should have 80-90% battery backup.

To install Ubuntu along with Windows 11 in dual boot mode, you need to create a partition for Ubuntu. Let’s start by creating  a partition to dual boot Ubuntu.

  • In Windows 11, Open Disk Management by using Windows + X and selecting Disk Management.
  • Select a drive, right-click on it and choose Shrink Volume.
  • Then, Set the Enter the amount of space to shrink 60000MB or more and click Shrink.
  • Now, click the space that you just created and choose New Simple Volume for it
  • Finally, use a drive letter and label and click Finish.

Meanwhile,you can also use  any unallocated space that is big enough for the Ubuntu installation. Now, you need to download the Ubuntu ISO file if you haven’t done it yet. You can go to the official website of Ubuntu and get your copy of Ubuntu 20.04 LTS.

Now you need to create a bootable USB drive for Ubuntu on Windows 11 To dual boot Windows 11 and Ubuntu. To create a bootable USB flash drive, you can use an app Rufus. It’s an easy process of making bootable USB drive using Rufus. You just need to connect the USB drive to your PC, and find it on rufus and click the Select button and select the downloaded Ubuntu ISO file and Click Start to begin the process, follow the onscreen instruction and you are ready to go.

 

Now, let’s start our process of installing Ubuntu along with Windows 11 in dual boot. Ubuntu will be installed on the new partition that you created. Restart your computer or laptop, plug your bootable USB drive and boot it from there.Sometime you might need to change the booting option from the BIOS setting. You will be greeted with the options.

  • Now, in the new window that opens, select Install Ubuntu.
  • Now Select a language and a keyboard layout for your Ubuntu.
  • Then, from the options, select Normal installation or Minimal Installation and click Continue.
  • Installation type: Select Something else.
  •  In the next window, select the partition that you have created for the Ubuntu and format it to the ext4 file system.
  • Create the partition and start the installation of Ubuntu
  • Now follow the onscreen instruction like selecting keyboard layout, timezone, use settings and so on.

 

]]>
https://atozlinux.com/install-ubuntu-along-with-windows-11-in-dual-boot-complete-guide/feed/ 0
How To Install digiKam on Ubuntu 22.04 or 20.04 https://atozlinux.com/install-digikam-on-ubuntu/ https://atozlinux.com/install-digikam-on-ubuntu/#respond Sun, 19 Nov 2023 10:04:16 +0000 https://atozlinux.com/?p=126012 How To Install digiKam on Ubuntu

digiKam is considered as an alternative to Adobe Lightroom for Linux based operating system.

How To Install digiKam on Ubuntu 22.04 or 20.04

There are multiple ways to install digiKam on Ubuntu and it’s derivatives.

Method 1:

Install digiKam on Ubuntu 22.04 or 20.04 via APT

Run the following command to update Ubuntu. It is always good to make sure that Ubuntu system is up-to-date to avoid conflicts during the installation.

sudo apt update && sudo apt upgrade

Now, it’s time to install digiKam on Ubuntu. Run the following command to install digiKam from the Ubuntu repository, enter the following command in the terminal:

sudo apt install digikam

Method 2:

Install digiKam on Ubuntu 22.04 or 20.04 via Flatpak and Flathub

In this method, we will install digiKam on Ubuntu using Flatpak and Flathub. To install digiKam via Flatpak, you need to add the Flathub repository with digiKam package.

Run the following command to add the Flathub repository. The following command ensures that the Flathub repository is added to your Ubuntu if it isn’t already present.

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Now, Run the following command to install digiKam  using the Flatpak:

flatpak install flathub org.kde.digikam -y

Method 3:

Install digiKam on Ubuntu 22.04 or 20.04 via Snapcraft

In this method, we will show you the method to install digiKam on Ubuntu using Snapcraft. Snapcraft is typically pre-installed on Ubuntu systems. Run the following command to install snap core to avoid future conflicts or errors.

sudo snap install core

Now, It’s time to install digiKam. Run the following command to install digiKam on Ubuntu using Snapcraft.

sudo snap install digikam

After installation, you can easily launch digiKam by going through the following command:

digikam

For Flatpak users, Run the following command to launch digiKam:

flatpak run org.kde.digikam

Lastly, if you installed digiKam on Ubuntu via Snapcraft, run the following command to launch digiKam:

snap run digikam

Or, you can also launch digiKam from the application dashboard.

How to Remove digiKam From Ubuntu 22.04 or20.04

Just in case if you don’t wantto use digiKam then you can simply run the following commands to remove or uninstall digiKam from Ubuntu:

Using apt command:

sudo apt remove digikam

Using Flatpak:

flatpak remove  --delete-data org.kde.digikam -y

Using Snap command:

sudo snap remove digikam
]]>
https://atozlinux.com/install-digikam-on-ubuntu/feed/ 0