Find the answer to your Linux question:
Results 1 to 6 of 6
1) like winbloze where is the program files folder in linux? 2) all the programs or applications installed from a *.gz, *.tgz, *.bz2 etc how to uninstall them if it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Aug 2003
    Location
    Lahore, Pakistan
    Posts
    146

    where is " Program files " folder in linux


    1) like winbloze where is the program files folder in linux?

    2) all the programs or applications installed from a *.gz, *.tgz, *.bz2 etc how to uninstall them if
    it is required?

  2. #2
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390
    1. There is no program files folder, things are put all over the place. I'm not really sure how to describe it, but the most common places are /usr /var and your home directory. The executable file is placed in /usr/bin, any custom stuff goes in a /.whatever folder in your home directory and so on. Someone else may be able to explain this better, this is just my take on it.

    2. make uninstall

  3. #3
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    to uninstall something, so to the unzipped folder (eg. the on eu installed it from and type make uninstall

    the way the programs setup works is slightly harder to understand thatn windoze but makes it a lot easier to recover from reinstalls etc.

    settings files go in /home/yournamehome/.programname

    executables go in /usr/bin, /usr/local/bin or /bin. Some also go to /sbin or /usr/sbin. anything in these files is only executable by root. U can still type /sbin/programname but they dotn work if u just type the name at a terminal.

    the actual programs go (usualy) in /usr/share or /usr/local although many will install soem extra shared librarie sin /lib

    in short: dont go trying to remove a program 1 file at a time.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Aug 2003
    Location
    Lahore, Pakistan
    Posts
    146
    so that means if we need to uninstall a program sometime in future, then we should keep the unzipped folder?

    i mean there could be lot of reasons to uninstall. may be u found a better program or u realize u dont need it, or there is a new version

    so for that we need to keep the folder which was created using the tar command?

    2) also i want to install alvaro's messenger [a clone of msn messenger]

    i did installl it in my previous installations of linux. but before i do it again.

    where should i install that program? i mean i will download the *.gz file to my /home/username and then unzipping it there, where should i direct it to reside?

    thanks,
    hasan

  6. #5
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390
    Yeah it's good to keep the unzipped folder so you can uninstall it later. The thing with AMSN is that wherever you unpack it is where it will stay, so wherever you want it to live is where you should place it. There isn't even any installing to be done, as long as you have tlc/tk interpereter installed, you'll be running amsn right from wherever you unpack it.

  7. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    You might want to read through this old post:
    http://www.linuxforums.org/viewtopic.php?t=1212

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •