I just downloaded intel's fortran compiler, ifort. However, I seem to have to add it to path for every single terminal I open using:
Code:
source <install-dir>/bin/ifortvars.sh <arg>
I immediately think that there should be a way of doing this automatically at startup. However, this isnt just pointing to where ifort is, but running a shell script, which evidently only affects a single terminal session.
After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.
Select a starter package from the table at the top of this page and download it to your development computer. To install the SDK, simply unpack the starter package to a safe location and then add the location to your PATH.How do I add a location to PATH?
I have made the installation of Qt4 in my Fedora/MacBookPro. It also got a first compiling and running a simple program. The point is that for the compiler to run I need to point out every time where the bin is located, as that:
$ /home/threader/kinetic/bin/qmake -project
I have tried the following, but it still doesn't work:
# script #-----------------------------------------------------------# # /etc/bashrc or /home/threader/.bash_profile # config to Qt compiler
I've followed the guide here for installing MATLAB. The installation completed successfully, however, the launcher created doesn't launch MATLAB as MATLAB isn't installed anywhere pointed to by $PATH. What's the best way of solving this - adding MATLAB's directory to $PATH (in which case how do I go about doing so), or (re)installing MATLAB to somewhere already in $PATH?
I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?
I have added the smbd file location to the path of root. I can now execute it from any location. I noticed after reboot of the machine (RHEL 5) that this file location is no longer in the path. How do I make this permanent?
I've installed rubygems on ubuntu, but it has a known issue that the rubygems' bin/ directory is not in the PATH. I know about exporting the PATH variable, and adding it to .bashrc, but I'd like to configure it so that every user has it on his PATH, even if he tries to run it with sudo. Where should I export the PATH variable then?
I need to set PATH environment variables so they will be set every tie I startup ubuntu. Is there a startup script that will do this, and where is it located?
I installed a new program called the "Android Notifier Desktop 0.2.1" and within the program it say to use the systems startup manager to start the program with every system boot.I have no idea where to begin looking for the programs file and main start up link.
I am new to XFCE and I'd like to ask few question about usage: 1. How can I disable dragging windows through workspaces? I like them to stay at one. 2. How do you configure startup applications? 3. Why XFCE menu doesn't show some of my custom icons? (png, tried more than one, for custom launcher - eclipse) 4. How do I add custom keyboard? (ALT+SHIFT switching) 5. I restarted laptop and all my applications re-opened after restart. I do not want that. How to disable this?
I am completely new to linux and am trying to run a Fortran program for class. I typed in "make C=R" and it ran through a long list of things and then came up with that error.
I just installed tomcat server in linux and for shutdown and startup, i have to run the script inside $tomcat/bin folder (startup.sh and shutdown.sh) manually.
I want to add tomcat as service and i want to execute as service commands like /sbin/service tomcat start/stop.
I'm running Ubuntu maverick meercat 10.10. I don't think it's very necessary to mention my hardware to get an answer to this question.I found out about the Cairo-Dock and fell in love with it. It annoys the hell out of me to have to start it every time I boot. I navigate to- System> Preferences> Startup ApplicationsUnder the startup programs tab I click on add... Now what??? Put the name as Cairo... what about the command. I don't know what file to navigate to.
Regarding the gnome-panel in Ubuntu (64 bit).... I discovered some time ago that I wasn't the only one who routinely (every login) had their gnome-panel appear butchered, for which Alt-F2 then 'killall gnome-panel' would easily fix.
Having become impatient with this over the past 8 months, I decided I would automate the process and so cofiguring the startup applications seemed like a perfectly logical choice to me. Turns out I was wrong. After adding 'killall gnome-panel' to the startup applications not only does the panel fail to load altogether now, but Alt-F2 doesn't even work.
I tried Ctl-Alt-F1 and working with the graphics-free mode thinking I could somehow navigate to the startup apps config file and edit it, but I don't know where it is or how to edit it without logging in as root and I certainly don't know of any 'root password'.
I have just upgraded to 11.4 in two steps from 11.2, and it works,except for two problems.
1. I have Intel Fortran installed, but now when I try to compile, I get the message that "ifort" is not a known command. It is present in the man files and I checked that the folder fortvars.sh is present in the directory that the login file .bashrc points to. What might have happened, and what can I do to restore "ifort" without reinstalling Fortran?
2. When I type a text now, the system stops regularly accepting what I type, and I have to click on the place where I am typing in order to continue. This happens aboput once or twice in a given line. What causes this?
I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:
Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server
I have a program that takes a relative path as input appends it to a some path string to get the actual path.
Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.
If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.
Is there some path string syntax that I am not aware of but can achieve this?
Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.
how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.
I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup
prefix=user@my-server: find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do ( cd "$path" || exit $?
[code]....
How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?
I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.
Does anyone know how to get the path with a inode number by C programming? Or can I get the absolute path without giving a "path" but a inode number by C?
like this: get_path(unsigned inode); not such this function: getcwd(".", xxx); taowuwen@gmail.com
running Windows 7 64bit with VMware Workstation 7.01-build 227600. I have some knowledge of Linux, I have installed f12 and have updated the system as of 03/22/2010. All updates completed successfully.
1) How do I install VMTools on the f12 (after mounting the CD/DVD tool package)
2) How do I update the gcc files it says are dependencies?
Here's what I get on installation:Before you can compile modules, you need to have the following installed...
make gcc kernel headers of the running kernel
and then I am prompted for this input from the install script:
Searching for GCC... The path "" is not valid path to the gcc binary. Would you like to change it? [yes]
and this is where I get stuck. How do I get around this or satisfy the requirements for the install?