| Forum Home | ||||
| PC World Chat | ||||
| Thread ID: 123657 | 2012-03-09 01:52:00 | How to run a program on Linux? | Agent_24 (57) | PC World Chat |
| Post ID | Timestamp | Content | User | ||
| 1263879 | 2012-03-09 01:52:00 | Yes I'm sure this is a completely stupid question.... :lol: I often use Linux, more specifically Ubuntu. I use it quite a lot, in fact, I am using it right now. I have only ever run programs that were installed via the package manager and either had shortcuts added for them in the menu or were run from the terminal, which is as easy as typing the name of the program (along with any switches etc needed) and letting it do its thing. Now, I just came across this program: code.google.com which I would like to use. On Windows, this would be as simple as downloading the .EXE and running it, but simplicity such as that appears to be nonexistant in this scenario. The download for this program gives me a single file (that I saved to my desktop) and which Ubuntu tells me is an executable, but there seems to be no way to actually execute it. Double-clicking on it appears to do absolutely nothing, while trying to run it from the terminal tells me "command not found" even though I navigated to the Desktop directory first. Can someone tell me how in the world I can actually run\open this program\file? |
Agent_24 (57) | ||
| 1263880 | 2012-03-09 02:23:00 | install wine from the package manager... its lets you run windows programs. http://www.winehq.org/ i have used it to install Office and other programs in Linux. | ronyville (10611) | ||
| 1263881 | 2012-03-09 02:32:00 | The problem is you'll be typing the filename which will be looking for the application in %PATH%, whereas your desktop isn't in %PATH%. You want: ./filename.sh Or something like: ~/Desktop/filename.sh Finally, you can also make sure it has the execute permission set: chmod +x ~/Desktop/filename.sh |
Chilling_Silence (9) | ||
| 1263882 | 2012-03-09 03:05:00 | install wine from the package manager... its lets you run windows programs. http://www.winehq.org/ i have used it to install Office and other programs in Linux. That would make sense if it was a Win32 program, but this isn't. The problem is you'll be typing the filename which will be looking for the application in %PATH%, whereas your desktop isn't in %PATH%. You want: ./filename.sh Aah thanks, that got it! Although I got an error that "libtk8.4.so" was missing but that was solved after installing the "tk8.4" package. Now to see what this program is like... |
Agent_24 (57) | ||
| 1263883 | 2012-03-09 04:08:00 | What's the program ? :D | Chilling_Silence (9) | ||
| 1263884 | 2012-03-09 04:56:00 | It's a 3rd party PCB layout editor to supplement the default one in KiCAD, which supports some extra features like push-routing, although it seems a bit buggy - or I'm not using it right. Will have to see if they have some documentation somewhere... | Agent_24 (57) | ||
| 1 | |||||