6

The latest release version of zsh is 4.3.14.

I was wondering what is the easiest way to install it on Ubuntu. Is there a PPA for it? Also, is there a site that lists or collects Ubuntu PPA's for generic packages?

1
  • Don't worry about it and just install (or keep) the zsh version on the Ubuntu repository. Most of us can not tell the difference, if any, between one minor version of our favorite shell and another. And yes, I do use zsh as my default shell.
    – haziz
    Apr 7, 2013 at 23:32

2 Answers 2

7

You might be interested in zsh-beta, it is the Ubuntu repositories (Universe). The advantage is ease of updates. The downside, there may be a bit of a delay (in this case zsh-4.3.14 is not yet in the Ubuntu repositories).

sudo apt-get install zsh-beta

I did not find any more recent version in any ppa.

The other option is to compile zsh yourself.

Install build-essential

sudo apt-get install build-essential

Download and extract the source code. The documentation in the README and INSTALL is most detailed.

cd ~/zsh-3.3.14

# list options
./configure --help 

./configure --prefix=/usr/local

make

sudo make install

Your new zsh should be in /usr/local/bin/zsh

If it is working, you can add it to /etc/shells:

command -v zsh | sudo tee -a /etc/shells

and then use chsh to set your shell:

sudo chsh -s "$(command -v zsh)" "${USER}"

Log out and log in from your user to see the changes. Typing echo $SHELL in your terminal should now yield /usr/local/bin/zsh.

1
3

There is zsh version 4.3.12 available in jbernard's PPA (for Maverick at least).

sudo add-apt-repository ppa:jbernard/ppa
sudo apt-get update
sudo apt-get install zsh
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .