当前位置:网站首页>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 .
边栏推荐
- The controversial line of energy replenishment: will fast charging lead to reunification?
- "In Vietnam, money is like lying on the street"
- 国产数据库TiDB初体验:简单易用,快速上手
- 俄罗斯 Arenadata 发布基于PostgreSQL的产品
- Cocoscreator event dispatch use
- regular expression
- 通过事件绑定实现动画效果
- [test development] software testing - Basics
- Master the use of auto analyze in data warehouse
- You should know something about ci/cd
猜你喜欢
Developers, MySQL column finish, help you easily from installation to entry
78 year old professor Huake impacts the IPO, and Fengnian capital is expected to reap dozens of times the return
With an estimated value of 90billion, the IPO of super chip is coming
CocosCreator事件派发使用
Superscalar processor design yaoyongbin Chapter 6 instruction decoding excerpt
Superscalar processor design yaoyongbin Chapter 7 register rename excerpt
华为云ModelArts的使用教程(附详细图解)
如何提高开发质量
[HCIA continuous update] overview of WLAN workflow
RecastNavigation 之 Recast
随机推荐
shell脚本的替换功能实现
TCP两次挥手,你见过吗?那四次握手呢?
你应该懂些CI/CD
Great Wall Securities security does not open a securities account
【系统分析师之路】第七章 复盘系统设计(结构化开发方法)
Dynamic programming stock problem comparison
I wrote a learning and practice tutorial for beginners!
Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
Is BigDecimal safe to calculate the amount? Look at these five pits~~
补能的争议路线:快充会走向大一统吗?
mysql5.7安装教程图文详解
[daily question] 556 Next bigger element III
Blood spitting finishing nanny level series tutorial - play Fiddler bag grabbing tutorial (2) - first meet fiddler, let you have a rational understanding
Open source PostgreSQL extension age for graph database was announced as the top-level project of Apache Software Foundation
股价大跌、市值缩水,奈雪推出虚拟股票,深陷擦边球争议
gatling 之性能测试
90后开始攒钱植发,又一个IPO来了
To sort out messy header files, I use include what you use
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"
爬虫初级学习