linux下面/usr/local和opt目录有何区别
来源:互联网 发布:成佛网络电影 编辑:程序博客网 时间:2024/05/01 19:51
linux下面/usr/local和opt目录有何区别
/usr/local下一般是你安装软件的目录,这个目录就相当于在windows下的programefiles这个目录 /opt这个目录是一些大型软件的安装目录,或者是一些服务程序的安装目录
/opt
Here’s where optional stuff is put. Trying out the latest Firefox beta? Install it to /opt where you can delete it without affecting other settings. Programs in here usually live inside a single folder whick contains all of their data, libraries, etc.
/opt
这里主要存放那些可选的程序。你想尝试最新的firefox测试版吗?那就装到/opt目录下吧,这样,当你尝试完,想删掉firefox的时候,你就可 以直接删除它,而不影响系统其他任何设置。安装到/opt目录下的程序,它所有的数据、库文件等等都是放在同个目录下面。
举个例子:刚才装的测试版firefox,就可以装到/opt/firefox_beta目录下,/opt/firefox_beta目录下面就包含了运 行firefox所需要的所有文件、库、数据等等。要删除firefox的时候,你只需删除/opt/firefox_beta目录即可,非常简单。
/usr/local
This is where most manually installed(ie. outside of your package manager) software goes.It has the same structure as /usr. It is a good idea to leave /usr to your package manager and put any custom scripts and things into /usr/local, since nothing important normally lives in /usr/local.
/usr/local
这里主要存放那些手动安装的软件,即不是通过“新立得”或apt-get安装的软件。它和/usr目录具有相类似的目录结构。让软件包管理器来管理/usr目录,而把自定义的脚本(scripts)放到/usr/local目录下面,我想这应该是个不错的主意。
- linux下面/usr/local和opt目录有何区别
- linux下面/usr/local和opt目录有何区别
- linux下面/usr/local和opt目录有何区别
- linux下面/usr/local和opt目录有何区别
- Linux下目录 /opt 和目录 /usr/local 的区别
- linux 程序安装目录/opt目录和/usr/local目录
- Linux下/opt目录和/usr/local目录
- Linux下目录 /opt 和目录 /usr/local 的区别(网络搜集整理)
- 【Linux目录】远离 /usr/local, /opt
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- Linux 软件安装到 /usr,/usr/local/ 还是 /opt 目录?
- /opt目录和/usr目录的区别
- Leetcode: Longest Substring Without Repeating Characters
- /lib,usr/lib,/usr/local/lib区别
- Python 学习笔记(三) 使用字符串
- C/C++中const关键字详解
- 采用指针访问方式从键盘给数组a[N]输入数据,然后对元素值重新按逆序存放并输出
- linux下面/usr/local和opt目录有何区别
- Leetcode: 题目难度等级分布 by peking2@mitbbs
- 第十五周 多门课程的学生成绩单
- 风雨同舟
- Vector基本用法
- 第一次接触nginx
- Web.config文件
- 男孩装配智能仿生机械手蛹
- 大数据和广告技术(Big Data and Ad-tech)