anjanesh 0 Posted November 12, 2004 Hi Totally new to Linux. Just installed FC2. Whats the Linux equivalent of Window's "C:\Program Files" I want to install some apps but the default dir for some is the sam dir as the one where app was downloaded (desktop for example). I would like to know where these apps generally goto like Window's C:\Program Files Thanks Share this post Link to post
paultazzyman 0 Posted November 12, 2004 Generally if you install an RPM it will put it in the right spot. Most executables go in /usr/bin or /usr/share/bin, but others go into a bin directory under an application directory - it varies. Good advice is to use RPM's or yum to do the install and it takes care of it for you. yum generally istalls well supported programs or libraries and updates OS versions and doesn't handle smaller less well disributed stuff. You can always locate the executables with "locate executableName" or "whereis executableName". Share this post Link to post
anjanesh 0 Posted November 12, 2004 1. Well I downloaded FireFox for Linux and after extracting the tar.gz file theres a bin and a shellscript file. So the default location is dir where it got the shellscript file from. 2. Im downloading J2SE 1.5 which is a bin file. Should I download the rpm file instead ? Share this post Link to post
paultazzyman 0 Posted November 12, 2004 I always find RPMs a bit more reliable to install. My suggestion is - if yum can install it use yum, because it also looks after dependencies, if yum can't do it use the RPM, else use the tar.gz. This is my personal preference - others may have a different slant !! Share this post Link to post
anjanesh 0 Posted November 12, 2004 Where can I find this yum if its already installed with FC2 ? And how do I associate bin files with it ? I thought bins are Window's exes ? If not then which ones are the real executables ? I mean - which one contains the asm code like in Win exes ? Share this post Link to post
paultazzyman 0 Posted November 13, 2004 yum should be installed with FC2. If not you should be able to find the rpm - it was installed with FC2 on my machine so I haven't had to look for it. It should be in /usr/bin with all the config etc. in /usr/share/yum. Make sure your $PATH includes /usr/bin ( surprised if it doesn't - but ) Share this post Link to post
paultazzyman 0 Posted November 13, 2004 OK !! I got curious - download yum from:- It should give you a clean install. http://www.fedora.us/wiki/FedoraHOWTO Share this post Link to post
anjanesh 0 Posted November 13, 2004 And whats the equivalent if C:\Windows and C:\Windows\System32 ? Share this post Link to post
SoulNothing 0 Posted November 13, 2004 yum is great but apt is another useful tool as well and provides a decent gui with synaptic heres a link to a thread all bout it for fc2 http://linuxcompatible.org/thread27839-1.html but yum is great as well tools like these make things so much easier Share this post Link to post
paultazzyman 0 Posted November 13, 2004 Sorry couldn't get to the original post - but, there is no one-to-one equivalance between C:\windows\program files and executables under Fedora. The closest is /usr/bin, /usr/share/bin, /usr/local/bin - but other apps are installed in an app directory, generally in the ./bin directory. The unix directory conventions were in place before windows was even thought of. Unix was not originally designed as an operating system, but was originally intended as an OS toolbox. It really needs a GUI, like Gnome, sitting over it to provide acces to the lower level toolbox functions. Read some of the early writings of guys like Ken Thompsom et. al. to get a better vioew of Unix and its origins. Try "http://www.faqs.org/docs/artu/ch02s01.html" Share this post Link to post
anjanesh 0 Posted November 13, 2004 Different angle. I have Apache and MySQL installed during installation of FC2. Now I downloaded the latest releases of both Apache and MySQL and now want to replace both of the current ones with the new ones. Obviously I dont want to have 2 copies of both in 2 different locations. So I need to know where these both are already installed and I'll extract the files (overwrite) to those locations. Thanks Share this post Link to post
egorgry 0 Posted November 13, 2004 Originally posted by paultazzyman: Quote: It really needs a GUI, like Gnome, sitting over it to provide acces to the lower level toolbox functions. I disagree with this completly. UNIX is a full fledge OS and it has been so dramaticly redesinged from it's conception back in the berkly days. I'm a unix administrtor and for security reasons not one of my 70 systems uses a gui. I still have all the tools availble to me. If anything unix guis get in teh way of the OS... but this is off topic just had to get it out there. Share this post Link to post
paultazzyman 0 Posted November 13, 2004 Just one last OT comment - I agree - I very rarely use the GUI - real people use command lines and cron so they don't have to use command lines Share this post Link to post