Find the answer to your Linux question:
Results 1 to 7 of 7
hi guys i wanna know where the installed softwares gets stored in ubuntu i mean the folders in which the files gets stored... like usr, var,etc. I also wanna know ...
  1. #1
    Just Joined! kapmsd's Avatar
    Join Date
    Sep 2009
    Posts
    17

    Basic doubts in linux?

    hi guys

    i wanna know where the installed softwares gets stored in ubuntu
    i mean the folders in which the files gets stored... like usr, var,etc.

    I also wanna know there copying and pasting of the installed files in another machine will work... else it maintains something like registry in windows

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Frankly I don't know the answer for your question.Hope someother LF member will have the answer. OT I can't resist, great picture on your Avatar lol lol

    EDIT: Sorry,I was distracted by your funny picture , didn't understand your question. As Jay said, If your are looking for specific binary you can find it using whereis command. or which command if you have two version of same program.

    Anyway all the binaries should be available in one of directories mentioned in environmental variable PATH.
    echo $PATH
    HTH
    Last edited by Lakshmipathi; 01-29-2010 at 06:40 AM.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    Most of your applications will probably be stored in /usr/bin.
    The command whereis is really helpful for finding your files: man whereis.

    As far as copying a file over, I've not tried it. But provided that both computers are running the same OS, I don't see what the issue could be... but don't quote me on that
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  4. #4
    Just Joined! kapmsd's Avatar
    Join Date
    Sep 2009
    Posts
    17
    how to find what and all folders(var,etc,usr) will get affected by the installation of a specific software.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Quote Originally Posted by kapmsd View Post
    I also wanna know there copying and pasting of the installed files in another machine will work... else it maintains something like registry in windows
    Welcome to the forums!

    If you want to copy the contents of one machine to another, take a look at using a cloning tool such as clonezilla. You can also look at partimage and the dd command as other possible options.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  6. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    the problem with what you are trying to do is most packages will have lots of dependency files and other things

    you can find all the files installed by a particular package with dpkg -L command on debian based distro

  7. #7
    Just Joined! kapmsd's Avatar
    Join Date
    Sep 2009
    Posts
    17
    Thanks a lot guys for ur input!!

Posting Permissions

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