LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-14-2010, 11:28 PM   #1
usernameinuse
LQ Newbie
 
Registered: Jun 2010
Posts: 7

Rep: Reputation: 0
Why are no application folders being created in home folder?


For example, when I do something like...

Code:
sudo apt-get install vim
No .vim folder is created in the home folder.
 
Old 06-14-2010, 11:56 PM   #2
usernameinuse
LQ Newbie
 
Registered: Jun 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Someone replied on another site, but if anyone else has a similar question here was his/her answer.

Quote:
Because they need not to be created.

Files and folders like .vim which begin with a dot are, by convention, hidden from user if a special option is not specified: you need to launch ls -a or set the "View hidden files" option in your file manager (Ctrl+H also works). This convention is only meaningful when applied to user's home directory and its descendants, and is mainly used for storing user-specific configuration (KDE stores its settings in ~/.config, GNOME uses that too, apart with ~/.gconf and several others). They are often created automatically when application is run or its settings are changed, but they are not required to.

When you install an application through APT with tools like apt-get or aptitude, it spreads package-related files over the entire filesystem (check a typical file list for a package). It installs executables in /usr/bin, libraries in /usr/lib, documentation into /usr/doc together with /usr/man, and so on. All of these directories are not user-specific: they have nothing to do with your home directory. APT does not ever know about it. Dotfiles (and folders) are only used by application, not a package manager.

Imagine a big mainframe with a thousand of user. When a new package is installed, you wouldn't want to update all of users' home directories: this creates a mess in them, this may interfere with their existing configuration, and finally, that wastes disk space!

If you just want to customize your vim configuration, create the .vim directory by executing mkdir ~/.vim.
 
Old 06-15-2010, 01:52 AM   #3
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 384

Rep: Reputation: 61
do "ls -l" in your /home directory and you'll probably see a bunch of hidden files, one of which is no doubt .vim
 
Old 06-15-2010, 02:25 AM   #4
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 91
Hi,

In principle, when you install a package (be it deb/rpm via apt/yum), the actual destination directory of the installation is dependent on the way in which the package was created. Thus for one application you may have the binaries installed in /usr/bin; the config in /etc/yourapp/yourapp.conf and so forth - but its totally dependent on the author of the package.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folders created through Samba are missing!!! rwill Linux - Newbie 1 05-18-2009 08:26 AM
Can't cd into created folders in Documents Folder either on Desktop or in File System bparkerson04 Linux - Newbie 2 01-20-2009 12:44 AM
Home folder icon does not open home folder CiscoGeek Linux - Newbie 3 12-18-2006 07:00 AM
Pine viewing Kmail created folders buttersoft Linux - Software 2 03-19-2004 12:18 AM
Accessing folders created in pine in outlook97 zatka Red Hat 2 01-27-2004 03:59 PM


All times are GMT -5. The time now is 08:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration