※ 引述《suspect1 (嫌犯)》之銘言:
: 我的Linux沒有ddd
: 請問在.bashrc 或 .cshrc 中該如何設定它的path?
: 謝謝!
Please make sure if "ddd" is installed in your Linux. You can test it by:
> rpm -q ddd
If it is NOT installed, it is no use setting up the path variable. You need
to install it. You can either:
(1) Download the rpm from your Linux distributor, or google it.
(2) Use the command "up2date" (for RedHat/Fedora) or "apt-get" (for Debien)
it will download the rpm automatically.
Any question, please "man rpm" or "man up2date".
Once the rpm is download, you can do "rpm -U <rpmName>". Normally you don't
need to modify the "path" variable because it is installed in the default
path (e.g. /usr/bin/ddd).
You can use "which ddd" to see if it is properly installed. (Note: you may
need to "source .cshrc" beforehand to update the hash).
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.21.240