General :: Cant Find Executables To Update Paths?

Nov 24, 2010

How do I find paths on ubuntu. I have installed redcar(ide written in ruby similar to textmate) and rvm for ruby. However I cannot locate where the executables are to update my .bashrc.

View 2 Replies


ADVERTISEMENT

General :: Bash 'can't Find' Binary Executables

Apr 16, 2009

I am working on a custom hand-held device which runs a variant of Ubuntu Linux, 2.6.18. I have a set of 4 binary files (for oprofile) which have been known to run in this environment, but when I copy them to /usr/bin, I can't run them: I get this message;root@ldogberry:/usr/bin# ./ophelp-sh: ./ophelp: not foundThis happens when I specify the full path, when I run from the /usr/bin directory -- it happens no matter what. Bash even does command-line completion on the file -- and then turns around and instantly claims the file is not found.

View 7 Replies View Related

Ubuntu :: Can't Find Executables With 'which'?

May 13, 2009

I have a 'bin' directory in my home that contains executables. For example: scandirs.sh.It's in my PATH, so I can just type 'scan{tab}{tab} to run it. But 'which scandirs.sh' returns nothing.

View 8 Replies View Related

Ubuntu :: How To Find Location Of Executables

Feb 23, 2011

I just installed the xubuntu-desktop package on my netbook (running UNR), and I've got one major complaint about xfce.

I can't right-click on icons in the Applications menu and add them to the launcher!Instead I have to know the location of the executable for the application, so that I can right-click the panel, add a launcher, and then type the location of the executable in and manually select an icon for it...Of course it probably wouldn't be a pain if I could find everything. In Windows, if I want to know the location of a program that's running, I just open Task Manager, right-click the application, and select Properties.

Is there some equivalent or command-line way of finding the location of a running application in Linux?

A few I'd like to know the location of are:
1) Gnome System Monitor
2) Terminal
3) Swiftfox
... and I'll probably think of others.

Even though I'm using XFCE, I figured this fell under the "all variants" category since my main question is just how to find the locations of executables...

View 7 Replies View Related

General :: Run 64-bit Executables On A 32-bit?

Feb 22, 2010

run 64-bit executables on a 32-bit?If yes, how?

OS: 32-bit Red Hat Enterprise Linux Client release 5.4 (Tikanga)

View 3 Replies View Related

General :: Call Other Executables From Cpp Code?

Jan 18, 2010

I want to launch other executable from my cpp code. I am aware that system() call may do this , But, problem is that , I want my cpp code to capture the standard hat "called" program is writing to stdout.

View 2 Replies View Related

General :: Excluding Executables In A Sub-directory From Tar Backups?

Jul 29, 2010

Just trying to set up a new backup using tar, but there are a few things I dont want to include. Using --exclude I can exclude sub-directories, but how do I exclude specific files in a subdirectory that are (for instance) executables or have a specific extension?

View 5 Replies View Related

General :: Not Getting Access To The Needed Paths?

Jun 18, 2011

I have not been on in about a month or 2. I have no idea how to list this thread. I am hoping that someone like tex can help out. Being lazy with ubuntu seems to have been badong. Ok, I had 2 physical machines and 3 vms. VM's ran under Vbox-ose via a bridge. OS's are buntu x2 and one centOS box. I installed webmin to make things easy ( i thought ).However, after setting webmin, my I have been randomly loosing PATH's. I mean, one minuet i can run sudo apt-get and the next the whole PATH is gone. I tried a compare of my "home" box's bashrc and bash_profile against the other machins, and outside of some alias for colr and the like nothing seems to stand out. Even if I su - to root I am not getting access to the needed paths. Now, while I could export the correct path, I am more conserned with the why of it all.

I would have thought that as long as my group setting on my ssh users were all correct AND the environment had not been changed, all would be good. I can provide more info if someone wants to help me out with this. HOwever, it drove me to a six pack. 8SI have read the man pages. I have used google. I have checked the logs. The logs by the way showed a lil hammering on one of the boxes for root access. [I]t wasnt me. However, I dont seem to be able to see a time stamp.

View 3 Replies View Related

General :: Standard File Paths?

Aug 23, 2010

Is there some sort of standards file path convention for installing softwares that I could follow through? For example, I just learnt how to build Nginx from source. But the default binary path set by nginx is "/usr/local/nginx/sbin". I have seen a couple of tutorials which they specify the location of the installed binary and it is very different from those usual default paths. Thus, got me thinking whether is there some form of file path convention that I should follow?Is there some kind of list which states where do those packages on Debian.org Repository usually installed to?

View 6 Replies View Related

General :: Check If Two Paths Are Pointing To The Same File

Oct 6, 2010

I've got a script to recursively create symlinks in my home directory to my settings directory, to keep the files under version control. I would like it to skip files which are already symlinked via a parent directory. That is, if I have these files/directories:

~/foo/ -> ~/settings/foo/
~/settings/foo/
~/settings/foo/bar

, how do I check that ~/foo/bar and ~/settings/foo/bar are the same file?

Edit: D'oh, another few minutes of searching revealed the answer: readlink -f $path

View 3 Replies View Related

General :: Ruby / Gem Installation Paths Scattered All Over

Apr 11, 2011

Trying to understand my ruby folder structure? Why my gems are scattered all over and why they aren't recognised commands. I'll explain how my installation looks like first:
/usr/bin/ruby
/usr/bin/ruby1.8
/usr/bin/ruby1.9.1

The first is a soft link to ruby1.9.1 because the "ruby" command didn't work in the terminal. I did the same with "gem". I installed rubygems through downloading, extracting and then running setup.rb here: (I created the "ruby" folder)
/home/pc/ruby/rubygems-1.7.2/setup.rb
/usr/bin/gem
/usr/bin/gem1.8
/usr/bin/gem1.9.1

I installed a few gems with "sudo gem install"
> gem list
*** LOCAL GEMS ***
compass (0.10.6)
haml (3.0.25)
mustache (0.99.3)
rake (0.8.7)

So far so good? Well not quite, as it turns out the command "compass version" doesn't seem to exist. My confusion grows with each folder I look into. The following path doesn't make any sense to me, for example. Why would it be hidden? Why is mustache the only gem inside this folder?
/home/pc/.gem/ruby/1.9.1/cache/mustache-0.99.3.gem

First of all, here is "gem environment", which makes even less sense, because I have definately installed rubygems-1.7.2 like I told you in the first paragraph, but here it shows an ancient version 1.3.7. Why? I installed Ubuntu the day before yesterday.
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /var/lib/gems/1.9.1
- RUBY EXECUTABLE: /usr/bin/ruby1.9.1
- EXECUTABLE DIRECTORY: /var/lib/gems/1.9.1/bin
- RUBYGEMS PLATFORMS: .....
Ruby --version returns "ruby 1.8.7"...........

Also, as it turns out, all gems are installed into this folder (mustache too! even though it already is inside the other folder), just as "ruby environment" claims:
/var/lib/gems/1.9.1/gems. But none of these gems work. I can't call any of these, except rake. So here is where I probably made the mistake, I think I used "apt-get install rake" in addition to "gem install rake", because the command "rake" wasn't recognised, and the command prompt suggested it. I may have done so with rubygems too... I'm new to Linux, and I figured that the command prompt knew how to install this stuff properly. It can't be normal that I have to create syslinks all over, right? In Windows I didn't run into this problem.

View 1 Replies View Related

General :: Use ZFS On Linux Easily - Without Paths Like /var/run/zfs - Or As Non-root

Sep 3, 2011

When I asked about filesystems with compression I got recommendation to try ZFS. Looks like it worth trying, however I find tools that manage ZFS (zfs, zpool) quite overcomplexified - you need to create some volume, then add it, then create filesystem on it. And finally it suddenly created things in root directory like /qqq/test and it uses /var/run/zfs/zfs_socket (strange for a filesystem).

How to use ZFS (with FUSE) without it's complicated things with volumes, just as good filesystem with compression, something like mount -o loop image.zfs /mnt/qqq -t zfs-fuse?

How to setup ZFS as non-root? FUSE usually means "user can use it too" (example: ntfs-3g). I expect something like this:

Can ZFS be more usual FUSE filesystem that I can add to /etc/fstab and user can install and use on its own?

View 1 Replies View Related

General :: Using Locate - All Paths That Contain Element /bin/ But Only One Instance Of Each One

Jun 18, 2010

I want to print, using locate, all the paths that contain the element /bin/ but only one instance of each one. If I issue 'locate /bin/' then I have many screens of text with, for example,

/usr/bin/foo1
/usr/bin/foo2
/home/me/bin/foo3
whereas I want to see only
/usr/bin/foo1
/home/bin/foo3

That is to say, if in two lines /bin/ appears with the same prefix (in the example above the prefixes would be /usr and /home/me) I only want to print the first line. Can I pipe locate to grep to do this? I've mentioned locate because it does not scan the whole disk.

View 5 Replies View Related

General :: Run The Script From A Different Directory The Paths Are Not Read?

Nov 29, 2010

I have written a script which reads a text file and takes out absolute and relative paths embedded in the text file.Then the script looks for a string in some text files mentioned in those paths. The problem I am facing is that since these paths are from my working directory,if I try to run the script from a different directory the paths are not read.

View 7 Replies View Related

General :: What Application / Daemon Converts File Paths To Inodes

Nov 4, 2010

The Linux File system uses the file path notation to abstract how data is accessed. Path really must be an environmental variable for the applcication that converts the path name to an inode so what is this application/Daemons name?

View 7 Replies View Related

General :: Command Line - Get Relative Path From Two Absolute Paths In Shell?

May 13, 2010

We have two paths. First one is directory, second either dir or file.

/a/b/c and /a/d/e.txt

Relative path from first path to second will be: ../../d/e.txt

How to get it in linux terminal?

PS: For those who ask "what is use case?" - creating lots of relative symlinks (just as an example)

View 1 Replies View Related

General :: Update Cannot Find Transmission-common

Apr 5, 2010

I can no longer update Fedora because it fails and hangs on trying to update package "transmission-gtk" due to a dependency "transmission-common" whose source cannot be found. How do I fix this and how can linux update break itself so badly that it adds dependencies to itself without checking for their sources first?

View 5 Replies View Related

General :: VirtualBox On Wubi Ubuntu Can't Start VMs Due To Incorrectly Handling Absolute Paths?

Jun 27, 2011

I mostly do .Net development in a Windows 7 virtualbox. I use the host for simple things such as web browsing, skype, chat, etc. All things that are fantastically available on Ubuntu which I in many ways prefer. So this has been begging the question for a while: why even use Windows on the host, seems like a Linux host would use less resources (untested) and allow my Windows VMs to run better while allowing me to do my non-development stuff in an interface I prefer.

So easiest way to do this - I downloaded wubi and installed Ubuntu. I installed in it Virtualbox, and then start add and start my VM to get this message: Failed to open a session for the virtual machine VS2010, Could not open the medium '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; VD: error VERR_FILE_NOT_FOUND opening image file '/host/Users/George Mauer/Virtualbox VMs/VS2010/C:/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi; (VERR_FILE_NOT_FOUND).

You see what's going on? With wubi, the windows drive gets mounted at /host/ but virtualbox is for some reason appending an absolute path! I would very much like to use the same exact VM file since it would retain Snapshots and I would be able to use it in either windows or Ubuntu mode. However, even if I try to simply mount the drives into a new VM I get an error: Failed to open the hard disk /host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi. Cannot register the hard disk '/host/Users/George Mauer/.VirtualBox/HardDisks/VS2010.vdi' {guid...} because a hard disk '/host/Users/George Mauer/VirtualBox VMs/VS2010/C:/Users/George Mauer.VirtualBox/HardDisks/VS2010.vdi with UUID {guid...} already exists.

This is especially odd since this worked fine with my recently created Android VM, though this might have something to do with the fact that VirtualBox recently changed their default VM storage locations. Any idea how to fix this? My Linux-fu is weak but I seem to remember from CS class something about symbolic links that might be relevant here?

View 1 Replies View Related

General :: E: Couldn't Find Package Libboost-all And Cmake Update?

Feb 20, 2011

I'm trying to install libboost-all and libboost-all-dev, but it says the package couldn't be found! Any idea how to install this via putty now? Also, how can I update my cmake to 2.6.x ? it's at 2.4.7

View 11 Replies View Related

General :: Direction To Find A List Of Update Releases For Redhat System V5?

Feb 7, 2011

Would someone be able to point me in the direction to find a list of update releases for Redhat Linux v5?

View 1 Replies View Related

Ubuntu Installation :: Update Manager Doesn't Find Update?

Apr 20, 2011

Normally Update Manager always finds the update to the next version of Ubuntu. It still hasn't given me any notion whatoever. I allready changed the settings from regular to LTS, but nothing changes. There are updates to the kernel, but I cannot download them, so I'm kinda stuck here.

View 5 Replies View Related

General :: Application Called Impact - Paths In Java Application ?

Apr 14, 2010

So, I have this application called Impact, it is an explicit time integration Finite Elements code written in Java...

[url]

I untar the pack, and launch the application calling a script, from within the untarred folder,

Code:

This launches a gui which allows me to setup a case, which needs some setup file, tipically some *.in and a mesh file, tipically some *.msh.

Other mode of executuion consists of calling the setup file as argument to Impact.sh script ( CLI execution mode, for g33k5 )

My problem is : I have packed the whole stuff into a Slackware .tgz, that places it in /usr/local/Impact, and placed a calling script in /usr/local/bin,

Code:

Code:

I decided to hack the ImpactGUI_OGL_linux_amd64.sh script from

Code:

Code:

no avail,

Code:

even after adding /usr/local/Impact/bin to PATH... won't go...

I can run this thing from within its directory... but I do not like messing within the directories of my applications, this is why I sent this to /usr/local, and placed a calling script in /usr/local/bin...

View 4 Replies View Related

Ubuntu :: How To Turn Off Executables

Jul 28, 2010

When I mistype a name of an executable program in terminal, ubuntu tries to search for similar programs in packages and then suggests names. This takes time, slowing down work and entirely useless for me. How to turn this feature off?

I personally can't even find a reason for implementing this feature and rather making it turned on by default. If someone needs a tool, he/she can search through packages.

View 2 Replies View Related

Ubuntu :: Run Executables On Netbook?

Jul 12, 2011

i am trying to run an executable file called "q" with ./q but it says

@ubuntu:~/q/l32$ ./q
bash: ./q: No such file or directory what am i doing wrong?

View 9 Replies View Related

Fedora :: C Compiler Can Not Create Executables ?

Jan 6, 2010

I am trying to compile wine from source.

When I run:

Code:

I get this output:

Code:

I need gcc and g++ installed; I installed both of these through yum.

I have looked through config.log, however I do not know what to look for in there for something that might be the problem.

View 3 Replies View Related

Fedora :: Wine - Can't Open Executables In The GUI

Jun 10, 2010

I have been trying to get Wine to work in Fedora and have had nothing but problems. First of all, I can't open executables in the GUI. If I try, I get a message that says, "The program start.exe has encountered a serious problem and needs to close."

I can open .exe's in the terminal, but when I tried to install iTunes it wasn't able to complete the installation. I got an error message from SELinux that said something about a memory error, and then it asked me if I wanted to turn off some sort of memory management setting. I said yes and it asked me for my password, which I gave, and then it said "unable to grant access". It no longer gives me this error message (that's why I can't recall what it said verbatim), and instead just hangs at the point where I got the error message before. I've tried using Wine in Ubuntu before and could never get anything working in a half-decent way, so this isn't a big surprise.

View 6 Replies View Related

Ubuntu Installation :: Run Executables After Compilation ?

Jun 12, 2010

I'm wondering why in order to run executables after compilation i have to type >"./executableName" I want it to type it just like >"executableName" (with no "./")

I don't know if this matters but I'm using tcsh for my shell...

View 2 Replies View Related

Ubuntu :: Running Executables From The Terminal ?

Jun 26, 2011

I'm trying to run flasm from the terminal prompt but I don't really know what I'm doing.

It may be an incompatible program for all I know but as I don't know how to run any .exe from the Terminal I have no way of knowing.

I've tried entering the directory, as in:

Code:

But it say's the directory doesn't exist. But it does...

Code:

View 5 Replies View Related

Ubuntu :: Install Executables In Bin Folder

Jun 19, 2011

I want to install an executeable and I am not sure how to do this. My intuition was to copy the executeable in the /usr/bin folder, but when I call it now, it says permission denied (and obviously I don't want to call the program with sudo every time).

View 3 Replies View Related

Software :: Subversion: How To Checkin Executables

Jun 22, 2010

I have C/C++ source codes and the corresponding binaries in proj/src and proj/bin.I have `import`ed both directories into my svn project and then `checkout`ed both. Later I made changes to the source code and hence new executables, but I'm not able to `checkin` the executables back to the svn project.`svn status` ignores the executables in the proj/bin directory. What should I do to `checkin` executables?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved