In Fedora, to add a new PATH, add PATH =/todirectory/in front of the/etc/profile file /: $ PATHexportPATH is followed by source/etc/profile. Example: I put Debian/home in the sda7 partition, which contains the main program of maple12, So I mounted/dev/sda7 to/media/debian/(command: s
In Fedora, to add a new PATH, you only need to add it in front of the/etc/profile file.
PATH =/todirectory/: $ PATH
Export PATH
Then you can access source/etc/profile.
Instance used:
I put Debian/home in the sda7 partition, which contains the main program of maple12, So I mounted/dev/sda7 to/media/debian/(command: sudo mount/dev/sda7/media/debian/), the path in Fedora9 is changed:
/Media/debian/myhome/maple12/bin
To use Maple12 in Fedora, you can do this:
1. Add/media/debian/myhome/maple12/bin to/etc/profile and refresh it.
2. link two home directories: sudo ln-s/media/debian/myhome/maple12/home/myhome/maple12
3. Run: Execute xmaple.