阿就操場啊~
顯示具有
rpm與yum與dnf
標籤的文章。
顯示所有文章
顯示具有
rpm與yum與dnf
標籤的文章。
顯示所有文章
2021年6月11日 星期五
yum列出套件可安裝的各種版本
yum是
CentOS上管理與安裝程式與套件的指令。要看目前有哪些python可安裝
yum
--showduplicates list
python
yum
--showduplicates list
python3
列出來以後,用{package name}-{version}來看詳細內容
Read more »
2019年8月12日 星期一
Linux檢查程式來自那個套件
在Debian/Ubuntu等這系列使用deb package的,檢查程式所屬套件指令如下:
dpkg -S
/bin/cat
dpkg -S
/usr/bin/top
查詢時若沒有用絕對路徑,那上述指令就會把含有這個關鍵字的檔案與指令所屬的套件都列出來。若系統是CentOS/Fedora這一系列使用rpm的,檢查程式所屬套件就要用:
Read more »
2019年1月14日 星期一
在CentOS 7上面安裝R語言
這邊介紹在CentOS 7.6.1810上面安裝R語言:
sudo yum install epel-release
sudo yum install R
which R
/usr/bin/R
R --version
R version 3.5.1 (2018-07-02)
用yum安裝最快速,以上指令的意思是:
Read more »
2018年12月17日 星期一
CentOS 7安裝EPEL擴充資源庫
EPEL (
Extra Packages for Enterprise Linux
) 是Linux的企業擴充套件之簡稱。在CentOS 7上面安裝方式只要在終端機上使用下面這行指令:
sudo yum install epel-release
要驗證有哪些套件資料已經安裝,則是使用下面指令:
yum repolist
Read more »
2017年2月15日 星期三
CentOS 7使用EPEL軟件倉庫
下載EPEL這個套件:
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm
sudo rpm -ivh epel-release-7-9.noarch.rpm
確認EPEL套件資料庫已經安裝:
yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.cs.nctu.edu.tw
* epel: epel.mirror.angkasa.id
* extras: centos.cs.nctu.edu.tw
* updates: centos.cs.nctu.edu.tw
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9,363
epel
/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 11,172
extras/7/x86_64 CentOS-7 - Extras 263
google-chrome google-chrome 3
updates/7/x86_64 CentOS-7 - Updates 814
參考資料:
How to Enable EPEL Repository for RHEL/CentOS 7.x/6.x/5.x
_EOF_
較舊的文章
首頁
訂閱:
文章 (Atom)