Termux-packages: Do not mark `bash` as essential.

Created on 24 Oct 2018  路  9Comments  路  Source: termux/termux-packages

Firstly, it was not forced in the previous versions.
Secondly, there is already dash, and Android has mksh as a default shell.
Why do you force a bloated shell onto every Termux user?

discussion

Most helpful comment

If you need a posix compliant shell, then do chsh -s dash.


Seems that topic should be called Holy war between POSIX and non-POSIX shells actually.

All 9 comments

Many things are relying on bash, so you will be forced to have bash installed anyway. Bash also is small package ~1.5 mb.

If you don't like bash, use chsh to set default shell.

There is another solution: Make everything POSIX-compilant, so you can use any shell.

What should be POSIX compliant ? You mean that we have to review and patch if needed any package to force use $PREFIX/bin/sh ?

That what you are requesting called customization and shouldn't be done widely.

Bash is a shell no. 1 in all major Linux distributions. In Debian it marked as essential for obvious reasons same as in Termux.

Solutions for you:

  1. If you afraid bash - then you can throw it away with dpkg --purge --force-all bash.
  1. You always can replace it without uninstalling package:
ln -sf /system/bin/sh $PREFIX/bin/bash

If you need a posix compliant shell, then do chsh -s dash.


Seems that topic should be called Holy war between POSIX and non-POSIX shells actually.

I have new issue help plz
Traceback (most recent call last):
File "MBF2.pye", line 1, in
File "

Related issues

divyakutty picture divyakutty  路  3Comments

roalyr picture roalyr  路  3Comments

am11 picture am11  路  3Comments

neitsab picture neitsab  路  3Comments

Zuccace picture Zuccace  路  3Comments