make install to /usr/local/bin - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Distro Noob (https://www.linux-noob.com/forums/forum-10.html) +--- Forum: Fedora (https://www.linux-noob.com/forums/forum-94.html) +---- Forum: Fedora Core Release 5 (https://www.linux-noob.com/forums/forum-43.html) +---- Thread: make install to /usr/local/bin (/thread-1994.html) |
make install to /usr/local/bin - Black Ghost - 2006-05-04 Well, I decided to be adventurous and install something from source. While Fedora's not a source-based distribution, I know, I've found some things work better when compiled from source. Specifically, I'm speaking of Wine, which I decided to compile from source from someone's recommendation. I downloaded the source tar.gz, extracted it, followed the directions to install, and it seemed to work perfectly. Unfortunately, after the installer copied all the compiled files to their default directories, I couldn't get Wine to work as a normal user. As root, no problem, but as a user, it refused to work. When I found the executables, I found they'd been put in /usr/local/bin. That seems right, because I read or heard somewhere that it's the default directory for compiled software, or something like that. But it doesn't seem to be working for me. So what should I be doing or changing here? And also, just randomly, why is there no useradd utility? make install to /usr/local/bin - anyweb - 2006-05-04 try doing it via rpm instead [/url][url=<___base_url___>/index.php?showtopic=19][/url][url=<___base_url___>/index.php?showtopic=19]https://www.linux-noob.com/forums/index.php?showtopic=19 theres a howto make install to /usr/local/bin - Black Ghost - 2006-05-04 I will, but why doesn't Fedora see the files in /usr/local/bin when I'm just a regular user? make install to /usr/local/bin - znx - 2006-05-04 This is due to your PATH settings (although fedora should be looking there). Edit the file ~/.bashrc and at the bottom append: Code: export PATH=$PATH:/usr/local/bin That should amend it to YOUR login only, if you wish it to be global then you will need to look in the /etc/profile file. I'm not sure of the layout to this file but the solution should be similar. Quote:why is there no useradd utility When you chose to become root you MUST use this Code: su - The - indicates the addition of superuser PATH's etc (as before!). This will let you "see" the useradd binary. make install to /usr/local/bin - xDamox - 2006-05-04 Hi, Fedora by default does search the /usr/local/bin could to do the following: ls -ltr /usr/local/bin/wine make install to /usr/local/bin - Black Ghost - 2006-05-04 Quote:This is due to your PATH settings (although fedora should be looking there). When you chose to become root you MUST use this Code: su - The - indicates the addition of superuser PATH's etc (as before!). This will let you "see" the useradd binary. </div></blockquote> Ahh, thank you very much, znx! Of course, I'll have to reinstall Fedora to do this, I thought it was a problem with my install or something, so I deleted the partitions :) Here's another question, this time about Gnome. Is there a way to have a particular application grab ALL keyboard/mouse shortcut combos when it's got focus? Specific example being: Code: Ctrl + Alt + D is grabbed by Gnome, and minimizes all windows. But it's actually a keyboard shortcut for a game I play, and I'd like the game to recieve the keystrokes and not Gnome. How might I go about this? make install to /usr/local/bin - znx - 2006-05-05 Quote:Ahh, thank you very much, znx!Sweet .. :) Quote:How might I go about this? You can simply remap the Gnome key settings, so that some other keypress (or disable it of course) will do the minimize all windows. You will probably find the preferences .. Fedora > Preferenes > Keyboard Shortcuts .. or at least i hope :P In there you can search for the binding and remove it .. or alter it. make install to /usr/local/bin - Black Ghost - 2006-05-07 Quote:In there you can search for the binding and remove it .. or alter it.Ah... But I'd like to keep the binding, yet have it nonfunctional within one of my games. Heh... would the best way to do that be to simply run the game without a window manager? make install to /usr/local/bin - znx - 2006-05-21 Quote:Ah... But I'd like to keep the binding, yet have it nonfunctional within one of my games. Heh... would the best way to do that be to simply run the game without a window manager? You can run the game .. by adding it into the .xinitrc on its one and startx .. i suppose if you were happy enough you could even start the game on another display :1 .. and keep it there (then Ctrl+Alt+8 .. say to play Ctrl+Alt+7 to get back).. |