find the install path of some software in linux (ubuntu)

find the install path of some software
    like python:    

點擊(此處)摺疊或打開

  1. dpkg -L python
    or the start path:

點擊(此處)摺疊或打開

  1. which python
  2. /usr/bin/python    
    or find all the dir and file use 'locate'

點擊(此處)摺疊或打開

  1. warrior@warrior:~$ locate python | more -10
  2. /etc/python
  3. /etc/python2.7
  4. /etc/python3
  5. /etc/python3.4
  6. /etc/apparmor.d/abstractions/python
  7. /etc/python/debian_config
  8. /etc/python2.7/sitecustomize.py
  9. /etc/python3/debian_config
  10. /etc/python3.4/sitecustomize.py
  11. /home/warrior/.python-eggs
  12. --More--
    or want to display some system environment variable

點擊(此處)摺疊或打開

  1. warrior@warrior:~$ echo $PATH
  2. /usr/local/sbin:/usr/local/bin:
閱讀(11) | 評論(0) | 轉發(0) |
評論熱議
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章