3 Aralık 2021 Cuma

/usr/lib Dizini

Giriş
/lib, /usr/lib, /var/lib dizinleri arasında fark var. Açıklaması şöyle. Yani /lib ve /usr/lib dizinleri salt okunur olarak kullanılmalı. /lib dizininde sisteme ait şeyler olur. /usr/lib dizininde kullanıcıya ait uygulamalar olur
Someone else can probably explain this with much more detail and historical reference but the short answer:
/lib
is a place for the essential standard libraries. Think of libraries required for your system to run. If something in /bin or /sbin needs a library that library is likely in /lib.

/usr/lib
the /usr directory in general is as it sounds, a user based directory. Here you will find things used by the users on the system. So if you install an application that needs libraries they might go to /usr/lib. If a binary in /usr/bin or /usr/sbin needs a library it will likely be in /usr/lib.

/var/lib
the /var directory is the writable counterpart to the /usr directory which is often required to be read-only. So /var/lib would have a similar purpose as /usr/lib but with the ability to write to them.

Hiç yorum yok:

Yorum Gönder