LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Survey: How many space needs "/opt" in fact?
#1
I've collected data from different linux installations, and I've asked some linux specialists for their opinion, how many hard disk space is needed for the directory or partition of "/opt".

Because there are some very different statements on what is necessary, I would like to collect some data from the real world. What is going on in fact, not in theory?

Therefore I request everybody to check what's going on at his own linux system. You only have to put the following command in your terminal and post the result here.

Code:
sudo du -h -d 1 /opt

On my current linux installation it looks like this:

Code:
johnd@linux-system:~$ sudo du -h -d 1 /opt
21M     /opt/sublime_text
16K     /opt/lost+found
221M    /opt/pt
241M    /opt
johnd@linux-system:~$

If you like to say, which programs are installed under /opt, I would apprechiate it.

(I'm sure, I've some misspellings. Sorry for this!)

Regards
JohnD
"Show up on time, know your lines, and don't bump into the furniture."
Reply
#2
Here you go.  Only two programs I have installed under /opt are the two shown in output (both are web browsers).
Code:
bill@HP-8000-Elite ~ $ sudo du -h -d1 /opt
[sudo] password for bill:
171M    /opt/vivaldi
188M    /opt/slimjet
358M    /opt
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#3
... BUMP ...


Anybody else want to add to this for the OP?
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#4
Slackware uses the /opt directory more than Debian based systems. When building the SuperGamer series I used all of the directories to put games into and added 2 more and modified the scripts to build. The live scripts built each folder into a squash file then into an iso. Each folder had a 4gb limit so that was the reason to add a couple of different directories to include all of the games. Even Slackware fully installed would probably use less than 1gb. I haven't kept up with KDE, but it might use the /opt folder more as it used to with version 3.2. Sorry just aged myself.
Reply
#5
Here's what I get:


Code:
du: cannot access '/opt': No such file or directory


Y'all are about to make me think something's wrong with my 'puter!

Reply
#6
Quote:Y'all are about to make me think something's wrong with my 'puter!
Maybe you accidentally made a typo with du command.  Run this in terminal to list files/directories under root:
Code:
ls /


If you see "opt" in the output of that, then you must have typed-in du command incorrectly before.  Try again by just copying/pasting this:
Code:
sudo du -h -d1 /opt


If you don't see "opt" in output, that's a surprise to me -- I thought it was always a standard directory under root even if nothing is in it.
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#7
Hello JohnD,

Code:
:~$ sudo du -h -d 1 /opt
[sudo] password for bitsnpcs:
3.0M    /opt/youtube-to-mp3
3.0M    /opt

Only one program installed under opt, shown above.
Reply
#8
No sir, nothing in /opt!  var/opt is empty, etc/opt is empty.  There are folders, but no files in them.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)