Software installation
Hallo, I'm trying to install a program, but I have a problem:
in the readme file there is this instruction: "Source the .OpenFOAM-1.4.1/bashrc file by adding the following line to the end of your $HOME/.bashrc file: . $HOME/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc Then update the environment variables by sourcing the $HOME/.bashrc file by typing in the terminal: . $HOME/.bashrc " It's the first time I use Linux: what have I to do? |
.bashrc is a hidden file in your home directory. You can make it visible from your desktop menu bar. For example, Gnome has the option under "View".
Open the file and put the line in at the end. Finally, you need to source the file. You can do that from the command line but simply logging out and back in works just as well. |
OK, I added the command line, but when I type $HOME/.bashrc in the shell, I have the following error:
bash: ./.bashrc: Permission denied Why? Furthermor have I to type at end of the file: $HOME/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc or . $HOME/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc as in the istructions? |
No, that's not right. Sourcing is really simple, you just enter this into your terminal:
source .bashrc But you need to make sure that you are not working as root; if you do, you'll source the root's .bashrc instead of your own. That wouldn't break anything but neither would it help to get your application going. As for the other question, I looked it up: Quote:
|
I solved the problem: i had to put the "." (dot) before the command lines!
Now I have another problem: the program says I don't have remote shell available and I need an ssh or rsh. What have I to do? |
If neither is installed yet, install openssh-server/client and/or rsh. Just use Yast to search and install. Btw, rsh is less secure than ssh.
|
I have both installed, but I have always that message! It says that they are not available and that telnet is not running!
|
Have you been able to take a look at Appendix A of the README yet? I'm not sure whether it isn't too much techno babble but it does explain what needs to be done. It would appear that you need rsh-server rather than telnet. Bear in mind that most Linux distributions do not automatically enable a service (such as ssh or rsh) after install - you need to do that yourself. That may explain why your application doesn't find ssh or rsh. And there is some configuration to do as well . As I haven't used Suse for quite a long time, you'd better post any questions on this subject in the Suse forum. Of course, you can also use google. It's often faster than waiting for an answer.
|
All times are GMT -5. The time now is 08:28 AM. |