Showing posts with label Fedora. Show all posts
Showing posts with label Fedora. Show all posts

FTips.3: yum command

  • yum command
  • Fedora的早期使用者可能比較常用rpm來管理套件,而不知何時開始大家都開始使用yum來管理套件(當然你還是可以繼續使用rpm),我把yum比較常用到的指令列出來。

    在安裝完fedora之後建議更新一下yum套件的來源,更新速度會快一點。

    • rpm -ivh http://rpm.livna.org/livna-release-8.rpm

    安裝程式:

    • yum install xxxx

    移除程式

    • yum remove xxxxx

    檢查更新

    • yum check-update

    更新所有套件

    • yum update

    更新並刪除舊的套件

    • yum upgrade

    清除暫存的rpm相關檔案

    • yum clean

    更多更詳盡的使用方式可以參考下面的頁面:

    http://www.cyberciti.biz/faq/rhel-centos-fedora-linux-yum-command-howto/

FTips.2: Guest Additions in Fedora

  • Guest additions in Fedora
  • 在Feodra 8系統一安裝好時基本的linux-headers, build-essential, gcc等編譯時需要使用的套件其實都已經安裝了,但是在VirtualBox環境底下我們要安裝guest additions時卻依然顯示著缺少headers file,原因是因為我們少安裝kernel的開發套件,安裝方式如下:

    • yum install kernel-devel

    裝完後重新run一次 sh VBoxLinuxAdditions.run應該就可以正常安裝了。

    PS. Fedora 8 KDE環境在我的VirtualBox環境下跑的很不順,而且kde本身還crash好幾次。

FTips.1: sudo authentication

  • sudo authentication
  • fedora在預設情況下是不會幫一般帳號打開sudo的使用權限,必須透過以下的設定方式來解決。

    以root權限去編輯/etc/sudoers檔案。

    su root

    nano /etc/sudoers

    在sudoers裡增加如下的參數

    username ALL=(ALL) ALL

    其中username就是你的登入帳號,存儲後離開即生效!

Orange - data analysis tool

Installation pip install orange3 Run orange python -m Orange.canvas