步驟如下:
$ cd
$ pkg install vim gnupg
$ vim ../usr/etc/apt/sources.list
# The main termux repository:
deb https://termux.net stable main
deb [trusted=yes] https://its-pointless.github.io/files/ termux extras
$ wget https://its-pointless.github.io/pointless.gpg
$ apt-key add pointless.gpg
$ apt-get update
$ apt-get install gcc*
$ gcc-8 --version
gcc-8 (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.