Running zsh Shell on Ubuntu
You can check if zsh shell is installed on your Ubuntu system by typing zsh on your bash shell if you get the below error you need to install it using apt install command,
$ zsh
Command 'zsh' not found, but can be installed with:
apt install zsh
$ apt install zsh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
zsh-common
Suggested packages:
zsh-doc
The following NEW packages will be installed:
zsh zsh-common
0 upgraded, 2 newly installed, 0 to remove and 151 not upgraded.
Need to get 4450 kB of archives.
After this operation, 18.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 zsh-common all 5.8-3ubuntu1 [3744 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 zsh amd64 5.8-3ubuntu1 [707 kB]
Fetched 4450 kB in 10s (449 kB/s)
Selecting previously unselected package zsh-common.
(Reading database ... 47953 files and directories currently installed.)
Preparing to unpack .../zsh-common_5.8-3ubuntu1_all.deb ...
Unpacking zsh-common (5.8-3ubuntu1) ...
Selecting previously unselected package zsh.
Preparing to unpack .../zsh_5.8-3ubuntu1_amd64.deb ...
Unpacking zsh (5.8-3ubuntu1) ...
Setting up zsh-common (5.8-3ubuntu1) ...
Setting up zsh (5.8-3ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
$
Now if you type zsh you should be able to get into it,
$ zsh
LAPTOP-4AHAAKU# print hello zsh world
hello zsh world
LAPTOP-4AHAAKU# exit
$
More Posts related to Ubuntu,
- Install Oh My Zsh on Ubuntu Docker complete steps
- Installing Home-brew on Ubuntu
- Install Golang (Go) on Ubuntu
- Install specific JRE on Ubuntu using apt
- How to stop/start/restart apache server using command [Ubuntu]
- How to install zsh shell on Ubuntu
- Quick steps to install Nginx on Ubuntu Linux
- How to know current Ubuntu Linux version via terminal command
- Add new user in Ubuntu Linux using Terminal Command
- Fix Ubuntu /bin/sh: 1: zsh: not found error
- How to install Python on Ubuntu
- [Fix] Ubuntu E: Unable to locate package sudo error
- How to stop MongoDB Server running on Ubuntu
- Install postgres Client using apt-get command
- How to kill service running on a port on Ubuntu Linux
- [fix] openssl No such file or directory error C++
- Fix - sudo: systemctl: command not found
- Access Windows share folder in Ubuntu Device in Network
- Add or remove users from sudo group - Ubuntu
- Quickly install Apache Server on Ubuntu Linux
- Fix: Ubuntu (Linux) - bash: sudo: command not found error
More Posts:
- Convert JSON to XML using Java Jackson Library - Java
- How to: Docker Remove Image - Docker
- Duplicate id @+id/textView1, already defined earlier in this layout Android Error - Android
- How to add hint text in bootstrap input text field and text area - Bootstrap
- How to reset eclipse layout - Android
- 9 Border to DIV Element in HTML Examples - Html
- Keyboard shortcuts to format Source code in Microsoft Visual Studio Code IDE - Microsoft
- How to Sync Microsoft Teams Calendar with Mac Calendar - Microsoft