摘要:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak //备份 sudo vim /etc/apt/sources.list //修改 ##阿里云源 deb http://mirrors.aliyun.com/ubuntu/ bionic m 阅读全文
摘要:
使用Ubuntu 进行开发绕不开的就是环境变量的配置,由于Linux系统严格的权限管理,造成Ubuntu系统有多个环境变量配置文件,如果不了解其调用顺序,很有可能遇到配置了环境变量,而没有其作用的问题。本文将介绍Ubuntu Linux系统的环境变量。 一、Ubuntu Linux系统环境变量配置文 阅读全文
摘要:
/etc/ld.so.conf 此文件记录了编译时使用的动态库的路径,也就是加载so库的路径。 编辑这个文件 sudo gedit /etc/ld.so.conf。 默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件,而通常通过源码包进行安装时,如果不指定--prefix会将库 阅读全文