You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
# zsh Custom Build
|
|
|
|
>
|
|
|
|
- The latest version of Zsh.
|
|
- Works virtually everywhere.
|
|
- Takes seconds to install.
|
|
- Doesn't require root access.
|
|
- Does not have prerequisites.
|
|
|
|
>
|
|
|
|
## Building
|
|
|
|
building on debian sistem
|
|
|
|
# Table of Contents
|
|
|
|
- [From root shell](#root)
|
|
|
|
- [From build user shell](#user)
|
|
|
|
## From root shell
|
|
|
|
- apt install dpkg-dev devscripts
|
|
|
|
- cat /etc/apt/source.list
|
|
|
|
- if not enabled add additional line for source packages ( deb-src )
|
|
|
|
- apt update
|
|
|
|
- apt build-dep zsh
|
|
|
|
## From build user shell
|
|
|
|
- apt source zsh
|
|
|
|
- cd to zsh source dir
|
|
|
|
- wget -O .env "https://git.zfs.mx/zsh/build/raw/branch/master/config/env.empty"
|
|
|
|
- adjusting .env
|
|
|
|
- wget -O .env.lib "https://git.zfs.mx/zsh/build/raw/branch/master/config/env.lib"
|
|
|
|
- adjusting .env.lib
|
|
|
|
- wget -O configure.gen "https://git.zfs.mx/zsh/build/raw/branch/master/config/configure.gen"
|
|
|
|
- chmod +x configure.gen
|
|
|
|
- ./configure.gen > configure.own.tmp
|
|
|
|
- cat configure.own.tmp (checking configure.own.tmp)
|
|
|
|
- bash configure.own.tmp
|
|
|
|
- make
|
|
|
|
- make install ( or make DESTDIR=path install )
|