PS:
Though it seems have a ‘perfect’ desktop environment, it can’t show the result of the plot from R and python .
errors
E: Failed to fetch https://10.via0.com/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx/pool/main/libs/libsm/libsm_1.2.3-17_aarch64.deb 521 Origin Down [IP: 172.67.212.200 443]
E: Failed to fetch https://10.via0.com/ipns/k51qzi5uqu5dg9vawh923wejqffxiu9bhqlze5f508msk0h7ylpac27fdgaskx/pool/main/libx/libxext/libxext_1.3.4-11_aarch64.deb 521 Origin Down [IP: 172.67.212.200 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Connection is unstable, try it few more times.
apt install tigervnc
Some other packages
apt install vim vim-gtk vim-python wget
pythonenv
wget http://python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz tar xf Python-3.7.6.tar.xz cd Python-3.7.6 ./configure --enable-optimizations make altinstall rm -rf ../Python*xz
# add a user 'ken' useradd ken # add a password for urser 'ken' passwd ken # use root acount or run with sudo vim /etc/sudoers # siwtch to user ken su ken
Find the line “root ALL=(ALL) ALL” and add a line:
ken ALL=(ALL) ALL
save and quite
pacman -S r tk # tk for matplotlib pip install radian matplotlib docutils pygments pygame
jupyter notebook --generate-config vim ./.jupyter/jupyter_notebook_config.py
#------------------------------------------------------------------------------ # NotebookApp(JupyterApp) configuration #------------------------------------------------------------------------------ ... ## The IP address the notebook server will listen on. #c.NotebookApp.ip = 'localhost' + c.NotebookApp.ip = '0.0.0.0'
jupyter notebook password
blast+
apt install blast2
Trinity-try
dependency
apt install cd autoconf apt install cd automake
# download the trinity. I used the mirror which is more stable in China wget -c https://github.com.cnpmjs.org/trinityrnaseq/trinityrnaseq/releases/download/v2.12.0/trinityrnaseq-v2.12.0.FULL.tar.gz
tar -zxvf trinityrnaseq-v2.12.0.FULL.tar.gz cd trinityrnaseq-v2.12.0
make
problem
Err:1 https://termux.org/packages stable/main aarch64 m4 aarch64 1.4.18-3
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to termux.org:443
Err:2 https://termux.org/packages stable/main aarch64 autoconf all 2.71
OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to termux.org:443
Unable to correct missing packages.
E: Failed to fetch https://termux.org/packages/pool/main/m/m4/m4_1.4.18-3_aarch64.deb OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to termux.org:443
E: Failed to fetch https://termux.org/packages/pool/main/a/autoconf/autoconf_2.71_all.deb OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to termux.org:443
E: Aborting install.
Reason: failed to connect the github
Set a proxy / VPN
Can't locate Autom4te/ChannelDefs.pm in @INC (you may need to install the Autom4te::ChannelDefs module) (@INC contains: /usr/local/share/autoconf /data/data/com.termux/files/usr/lib/perl5/site_perl/5.30.0/aarch64-android /data/data/com.termux/files/usr/lib/perl5/site_perl/5.30.0 /data/data/com.termux/files/usr/lib/perl5/5.30.0/aarch64-android /data/data/com.termux/files/usr/lib/perl5/5.30.0 .) at /data/data/com.termux/files/home/Softwarw/autoconf-2.69/bin/autoheader line 41.
Problem: lack of perl modules
By perldoc perllocal
We can find the module was in /data/data/com.termux/files/usr/lib/perl5/site_perl/5.30.0 directory
This error actually comes form autoheader file: my $autom4te = $ENV{'AUTOM4TE'} || '/usr/local/bin/autom4te';
We need to change it into: my $autom4te = $ENV{'AUTOM4TE'} || '/data/data/com.termux/files/home/Softwarw/autoconf-2.70/bin/autom4te'
sed -i 's=/usr/local/bin/autom4te=/data/data/com.termux/files/home/Softwarw/autoconf-2.70/bin/autom4te=' /data/data/com.termux/files/home/Softwarw/autoconf-2.70/bin/autoheader|grep "{'AUTOM4TE'}"
cd htslib
mkdir -p build
autoheader
autom4te: cannot open < /usr/local/share/autoconf/autom4te.cfg: No such file or directory
autoheader: '/data/data/com.termux/files/home/Softwarw/autoconf-2.69/bin/autom4te' failed with e
- my $pkgdatadir = $ENV{'AC_MACRODIR'} || '/usr/local/share/autoconf'; + my $pkgdatadir = $ENV{'AC_MACRODIR'} || '/data/data/com.termux/files/home/Softwarw/autoconf-2.69/bin/';
autoheader
autom4te: cannot open < /data/data/com.termux/files/home/Softwarw/autoconf-2.69/bin/autom4te.cfg: Not a directory
autoheader: '/data/data/com.termux/files/home/Softwarw/autoconf-2.69/bin/autom4te' failed with exit status: 1
mak