Add Personal Package Archive (PPA) to Install Fish Shell 3.x

AuthorCreatedModifiedFormat
Xin Li[2022-08-13 Sat 17:05:03][2022-08-17 Wed 02:24:38]org-mode

Table of Contents

  1. Install software-properties-common
  2. Add APT repository
  3. Install release-3 of fish shell

Install software-properties-common

apt install software-properties-common
Bash

After the installation is completed, add-apt-repository and apt-add-repository will be added to /usr/bin, where the latter is a link file and points to the former, so you can use any of the two in actual use.

ls -l /usr/bin | grep repository
-rwxr-xr-x 1 root   root        7415  127 06:30 add-apt-repository
lrwxrwxrwx 1 root   root          18  127 06:30 apt-add-repository -> add-apt-repository
Bash

Add APT repository

add-apt-repository ppa:fish-shell/release-3
apt update
Bash

Install release-3 of fish shell

apt install fish
Bash