Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #213269
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: /usr 100% |
| Date | 2019-08-25 21:00 +0200 |
| Message-ID | <yz5U5-27e-17@gated-at.bofh.it> (permalink) |
| References | <yyVi1-3MI-1@gated-at.bofh.it> <yyVL3-4dx-5@gated-at.bofh.it> <yyVL3-4dx-3@gated-at.bofh.it> <yyWxs-4uQ-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun 25 Aug 2019 at 10:54:45 (+0200), Pascal Hambourg wrote: > Le 25/08/2019 à 10:06, Hadi Motamedi a écrit : > > On 8/25/19, der.hans <deb-user@lufthans.com> wrote: > > > > > > du -sh /usr/* > > > > > > That will show you disk usage per directory in /usr/. > > My preferred command is > > du -hxd1 /usr | sort -h > > - ignores other filesystem (e.g. if you mounted something on /usr/local) > - does not ignore "dot" files and directories > - sorts by size for easier reading > > > with "du -sh" , I am able to find big files and try to remove them . > > Be aware that /usr contains mostly files belonging to installed > packages, so you should not remove such files by hand, but remove > unnecessary packages instead. Exceptions are /usr/local and possibly > /usr/src (although the latter should not be used for local > compilation) as the whole /usr should be considered read-only. This might be awkward if the OP was installing software at the time and things are in a partially installed state. Assuming /usr is a separate partition, a short term fix might be to borrow some space on another partition and move some parts of, say, /usr/share/doc onto it. For example, here are the biggies on this system: 15M /usr/share/doc/sqlite3-doc 30M /usr/share/doc/ffmpeg 35M /usr/share/doc/python2.7 41M /usr/share/doc/python3.5 56M /usr/share/doc/imagemagick-6-common 73M /usr/share/doc/debian-handbook 1.3G /usr/share/doc/texlive-doc 101M /usr/share/doc/texlive-doc/fonts 334M /usr/share/doc/texlive-doc/generic 844M /usr/share/doc/texlive-doc/latex Then the software installation can be completed, and a decision made on a longer term strategy. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
/usr 100% Hadi Motamedi <motamedi24@gmail.com> - 2019-08-25 09:40 +0200
Re: /usr 100% Hadi Motamedi <motamedi24@gmail.com> - 2019-08-25 10:10 +0200
Re: /usr 100% Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-08-25 11:00 +0200
Re: /usr 100% root <hans.ullrich@loop.de> - 2019-08-25 12:30 +0200
Re: /usr 100% David Wright <deblis@lionunicorn.co.uk> - 2019-08-25 21:00 +0200
Re: /usr 100% "der.hans" <deb-user@LuftHans.com> - 2019-08-25 10:10 +0200
csiph-web