当前位置:网站首页>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 .
边栏推荐
- 曾经的“彩电大王”,退市前卖猪肉
- 中断的顶半部和底半部介绍以及实现方式(tasklet 和 工作队列)
- The top half and bottom half of the interrupt are introduced and the implementation method (tasklet and work queue)
- Flask 轻量web框架
- [proteus simulation] printf debugging output example based on VSM serial port
- 2022 national CMMI certification subsidy policy | Changxu consulting
- 要上市的威马,依然给不了百度信心
- Superscalar processor design yaoyongbin Chapter 5 instruction set excerpt
- 【每日一题】556. 下一个更大元素 III
- Wuzhicms code audit
猜你喜欢

Is it science or metaphysics to rename a listed company?

为啥有些线上演唱会总是怪怪的?
![[test development] software testing - Basics](/img/43/514016f270574fe711e0e15b581022.png)
[test development] software testing - Basics

要上市的威马,依然给不了百度信心

Solve the El input input box For number number input problem, this method can also be used to replace the problem of removing the arrow after type= "number"

蓝桥:合根植物

TCP两次挥手,你见过吗?那四次握手呢?

数学分析_笔记_第7章:多元函数的微分学

机器学习概念漂移检测方法(Aporia)

Superscalar processor design yaoyongbin Chapter 7 register rename excerpt
随机推荐
Redis master-slave replication
通过事件绑定实现动画效果
就在今天丨汇丰4位专家齐聚,共讨银行核心系统改造、迁移、重构难题
celebrate! Kelan sundb and Zhongchuang software complete the compatibility adaptation of seven products
为啥有些线上演唱会总是怪怪的?
补能的争议路线:快充会走向大一统吗?
Flask lightweight web framework
About the pit of firewall opening 8848 when Nacos is started
Load test practice of pingcode performance test
TCP两次挥手,你见过吗?那四次握手呢?
[HCIA continuous update] overview of WLAN workflow
gatling 之性能测试
创业两年,一家小VC的自我反思
Great Wall Securities security does not open a securities account
CocosCreator事件派发使用
我写了一份初学者的学习实践教程!
大厂面试总结大全二
The money circle boss, who is richer than Li Ka Shing, has just bought a building in Saudi Arabia
正则表达式
The controversial line of energy replenishment: will fast charging lead to reunification?