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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-14-2010, 11:28 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 7
Rep:
|
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.
|
|
|
|
06-14-2010, 11:56 PM
|
#2
|
|
LQ Newbie
Registered: Jun 2010
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
|
|
06-15-2010, 01:52 AM
|
#3
|
|
Member
Registered: Jan 2008
Location: Brighton, UK
Distribution: Fedora 17 / Ubuntu 12.05 / CentOS 6.3
Posts: 368
Rep:
|
do "ls -l" in your /home directory and you'll probably see a bunch of hidden files, one of which is no doubt .vim
|
|
|
|
06-15-2010, 02:25 AM
|
#4
|
|
Member
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:13 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|