root@hi3798mv100:~# apt-get install language-pack-zh-hans
wget https://ftp.gnu.org/gnu/glibc/glibc-2.32.tar.xz
tar -xvf glibc-2.32.tar.xz
root@hi3798mv100:~# cd glibc-2.32
root@hi3798mv100:~/glibc-2.32# mkdir build
root@hi3798mv100:~/glibc-2.32# cd build
root@hi3798mv100:~/glibc-2.32/build# ../configure --prefix=/opt/glibc-2.32
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in /root/glibc-2.32/build':
configure: error: no acceptable C compiler found in $PATH
See
config.log' for more details
checking for gcc... no好吧,安装这个gcc
又弄了好半天才装好。
重启发现没用,找到这篇文章,依葫芦画瓢吧
版权声明:本文为CSDN博主「黑科技王子」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/zhiboqingyun/article/details/111827621
一、ubuntu 安装中文语言包命令
apt-get install language-pack-zh-hans
据说:一、二,同时满足,才能完成ubuntu的中文转换
二、ubuntu安装glibc
1.下载
wget https://ftp.gnu.org/gnu/glibc/glibc-2.32.tar.xz
2.解压
tar -xvf glibc-2.32.tar.xz
3.配置
cd glibc-2.32 //进入解压目录
mkdir build //新建build目录
cd build
../configure --prefix=/opt/glibc-2.32
root@hi3798mv100:~/glibc-2.32/build# ../configure --prefix=/opt/glibc-2.32
*** These critical programs are missing or too old: gawk bison
*** Check the INSTALL file for required versions.
异常处理
————————————————
apt install bison
root@hi3798mv100:~/glibc-2.32/build# apt-get install gawk
中间有个什么提示,又装这个
apt-get install --assume-yes apt-utils
正式安装这玩意glibc(说实话搞到这里我快忘记我要干嘛了)
make && make install
TMD一片片代码断续刷屏,等了好久,我从来不知道编译安装要这么久。玩会王者先。结果玩了2把,吃了饭,它还在那里跑。。。我有点怀疑1G多点的空间会不会被它跑爆了。