Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4000  / 3 Years ago, thu, july 1, 2021, 3:39:36

What is the goal of /usr/sbin folder?



I found in that folder modem-manager, which makes me many problems. Can I delete it from that directory?


More From » 11.10

 Answers
0

/bin (and /sbin) were intended for programs that needed to be on a small / partition before the larger /usr, etc. partitions were mounted. These days, it mostly serves as a standard location for key programs like /bin/sh, although the original intent may still be relevant for e.g. installations on small embedded devices.



/sbin, as distinct from /bin, is for system management programs (not normally used by ordinary users) needed before /usr is mounted.



/usr/bin is for distribution-managed normal user programs.



/usr/sbin with the same relationship to /usr/bin as /sbin has to /bin.



/usr/local/bin is for normal user programs not managed by the distribution package manager, e.g. locally compiled packages. You should not install them into /usr/bin because future distribution upgrades may modify or delete them without warning.



/usr/local/sbin, as you can probably guess at this point, is to /usr/local/bin as /usr/sbin to /usr/bin.



In addition, there is also /opt which is for monolithic non-distribution packages, although before they were properly integrated various distributions put Gnome and KDE there. Generally you should reserve it for large, poorly behaved third party packages such as Oracle.



As far as deleting modem-manager goes, deleting the folder will probably only give you more problems if certain external programs are calling for it and its not there. I would find out what the underlying problem is for why it is giving you so many problems.


[#40341] Saturday, July 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
memorrappin

Total Points: 325
Total Questions: 122
Total Answers: 100

Location: Armenia
Member since Sat, Sep 12, 2020
4 Years ago
;