当前位置:网站首页>LD_ LIBRARY_ Path environment variable setting
LD_ LIBRARY_ Path environment variable setting
2022-07-04 18:12:00 【Zi Yan Ruoshui】
LD_LIBRARY_PATH yes Linux environment variable name , This environment variable is mainly used to specify the search of shared libraries ( Dynamic link library ) In addition to the default path .
A lot of software doesn't root Permission installation will be difficult , Mainly because of various system library files , That is to say LD_LIBRARY_PATH The files in this environment variable .
We can do it in ~/.bashrc perhaps ~/.bash_profile Add export sentence , The former in every login and every open shell Read once , The latter is read only once when logging in . My habit is to add ~/.bashrc in , At the end of the file , The following statement can be used to make the setting effective :
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
I put it on ~/.profilel Inside ,
bash as a login shell doesn't parse .profile if either .bash_profile or .bash_login exists. From man bash :
it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable.
After modification , Remember to turn off the current terminal and reopen a new terminal , So that the above configuration takes effect .
边栏推荐
- Superscalar processor design yaoyongbin Chapter 6 instruction decoding excerpt
- New technology releases a small program UNIPRO to meet customers' mobile office scenarios
- mysql5.7安装教程图文详解
- People in the workplace with a miserable expression
- [test development] software testing - Basics
- 大规模服务异常日志检索
- 简单易用的地图可视化
- 国产数据库TiDB初体验:简单易用,快速上手
- With an estimated value of 90billion, the IPO of super chip is coming
- 就在今天丨汇丰4位专家齐聚,共讨银行核心系统改造、迁移、重构难题
猜你喜欢

The money circle boss, who is richer than Li Ka Shing, has just bought a building in Saudi Arabia

DB-Engines 2022年7月数据库排行榜:Microsoft SQL Server 大涨,Oracle 大跌

Offline and open source version of notation -- comprehensive evaluation of note taking software anytype
![[HCIA continuous update] WAN technology](/img/31/8e9ed888d22b15eda5ddcda9b8869b.png)
[HCIA continuous update] WAN technology

一直以为做报表只能用EXCEL和PPT,直到我看到了这套模板(附模板)

用于图数据库的开源 PostgreSQL 扩展 AGE被宣布为 Apache 软件基金会顶级项目

超标量处理器设计 姚永斌 第6章 指令解码 摘录

【华为HCIA持续更新】SDN与FVC

CocosCreator事件派發使用

使用3DMAX制作一枚手雷
随机推荐
The company needs to be monitored. How do ZABBIX and Prometheus choose? That's the right choice!
curl 命令妙用
I2C子系统之适配器的设备接口分析(i2c-dev.c文件分析)
ISO27001 certification process and 2022 subsidy policy summary
Initial experience of domestic database tidb: simple and easy to use, quick to start
Developers, MySQL column finish, help you easily from installation to entry
MVC mode and three-tier architecture
90后开始攒钱植发,又一个IPO来了
Face_recognition人脸识别之考勤统计
Master the use of auto analyze in data warehouse
超标量处理器设计 姚永斌 第5章 指令集体系 摘录
[daily question] 556 Next bigger element III
S5PV210芯片I2C适配器驱动分析(i2c-s3c2410.c)
为啥有些线上演唱会总是怪怪的?
Win32 API access route encrypted web pages
数学分析_笔记_第7章:多元函数的微分学
机器学习概念漂移检测方法(Aporia)
【HCIA持续更新】网络管理与运维
【Proteus仿真】基于VSM 串口printf调试输出示例
【HCIA持续更新】WLAN概述与基本概念