[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: deb-filer



mattias jonsson wrote:
nar man installerar en deb fil vart lagger sig programmet da? inte i /etc iaf

Nej, där ligger bara konfigurationsfiler. Förmodligen har det installerats i "/usr" eller "/usr/local".

I <http://newbiedoc.berlios.de/wiki/Debian_basic_features> står bland annat följande:
| Windows has a directory tree for each drive. Each tree begins with a
| drive letter.
|
| Linux has only one tree called the filesystem. It starts with the
| symbol for the root directory: '/'. (There is a special user also
| called root. User root's home directory is '/root'. Be careful not
| to confuse the two.) The root directory has some subdirectories:
|
|   * bin - Essential command binaries
|   * boot - Static files of the boot loader
|   * dev - Device files
|   * etc - Host-specific system configuration
|   * home - User home directories
|   * lib - Essential shared libraries and kernel modules
|   * media - Mountpoint for removeable media
|   * mnt - Mountpoint for mounting a filesystem temporarily
|   * opt - Add-on application software packages
|   * root - Home directory for the root user
|   * sbin - Essential system binaries
|   * tmp - Temporary files
|   * usr - Secondary hierarchy (for user-installed applications)
|   * var - Variable data
|
| In Linux, the user never needs to know which physical drive contains
| particular data. This is unlike Windows where you need to know which
| drive (C:, D:, etc) to use. Instead, in Linux you mount a drive to a
| particular mountpoint in the directory tree. For instance, the first
| CD drive in Windows might be D: or E: or some other drive letter and
| might change if other drives are added to or removed from the
| system. In Linux, the mountpoint for the first CD drive is
| /media/cdrom0. The mountpoint does not change if you add or remove
| devices, although you can add a convenient symlink (shortcut) to the
| filesystem such as /cdrom.
|
| If you install an application in Windows, the executable and related
| files are normally installed to C:\Program Files. In Linux,
|
|  * application executable files (binaries) are installed in /usr/bin,
|  * manuals in /usr/share/man,
|  * other documentation in /usr/share/doc,
|  * etc.
|
| Linux does not have a registry. Configuration data is normally in
| the form of text files installed in /etc.

Ett programs olika komponenter hamnar alltså på olika ställen.

Med risk för att låta som en besserwisser, så vill jag ändå rekommendera att du drar dej tillbaka till din kammare och studerar dom artiklar som finns på exempelvis <http://newbiedoc.berlios.de>. Du kommer att upptäcka en massa saker du inte hade en aning om! :-)

Lycka till!

/Martin Leben
--
Remove dashes and numbers (if any) to get my real email address.
I subscribe to the mailing lists i write to.
Please don't CC me on replies.



Reply to: