<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: files in /opt in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542468#M865716</link>
    <description>Mark,&lt;BR /&gt;&lt;BR /&gt;The /opt filesystem is supposed to contain installed software.  I lean towards having the software in /opt instead of in /home, unless it is a piece of software that nobody else will run.  Having the software in /opt gives you a little more security and control over the installed software.&lt;BR /&gt;&lt;BR /&gt;I have a development box here where one of the developers has installed a copy of xemacs in his home directory.  At some point I'll probably install a real copy in /opt and have him get rid of his personal copy.  That way, I can control it and other people can use it if they need to.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
    <pubDate>Tue, 19 Jun 2001 18:37:04 GMT</pubDate>
    <dc:creator>John Poff</dc:creator>
    <dc:date>2001-06-19T18:37:04Z</dc:date>
    <item>
      <title>files in /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542467#M865715</link>
      <description>Hi, all.  I've got a question about what files are in /opt.  I am trying to clean up the system a bit, and I noticed that if I cd to /opt and ls, there are a bunch of programs that are installed elsewhere.  For example, I have xfishtank on the server (neat little program, I might add) that I installed in /home/apps/xfishtank.  I find what appears to be a full copy of the program in /opt/xfishtank.  What's going on here?  Can I delete the copy in /opt, since I run it from /home and I have a ton more space in /home?  It appears that a number of programs are copied here in /opt, but not everything.  What's the rational for this?  I'd like to get rid of them if possible, since that will help free up space.  Thanks, everyone.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Tue, 19 Jun 2001 18:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542467#M865715</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2001-06-19T18:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: files in /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542468#M865716</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;The /opt filesystem is supposed to contain installed software.  I lean towards having the software in /opt instead of in /home, unless it is a piece of software that nobody else will run.  Having the software in /opt gives you a little more security and control over the installed software.&lt;BR /&gt;&lt;BR /&gt;I have a development box here where one of the developers has installed a copy of xemacs in his home directory.  At some point I'll probably install a real copy in /opt and have him get rid of his personal copy.  That way, I can control it and other people can use it if they need to.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jun 2001 18:37:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542468#M865716</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-06-19T18:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: files in /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542469#M865717</link>
      <description>Hello Mark,&lt;BR /&gt;&lt;BR /&gt;Before you delete one of those 'copies', are you sure one of them is not a symbolic link of the other? Just checking...&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;Curt</description>
      <pubDate>Tue, 19 Jun 2001 20:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542469#M865717</guid>
      <dc:creator>Curt Thompson</dc:creator>
      <dc:date>2001-06-19T20:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: files in /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542470#M865718</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;As the others have stated, /opt is for OPTional software products.  If you install a product named "foo" for example, you would usually see the following:&lt;BR /&gt;&lt;BR /&gt;/opt/foo  # dir tree for exe's and lib's&lt;BR /&gt;/etc/opt/foo  # dir tree for foo config files&lt;BR /&gt;/var/opt/foo  # dir tree for foo log and spool files&lt;BR /&gt;&lt;BR /&gt;You might wind up with /home/yourdir/foo, but you'll probably find it to be a sym link to the exe something like so:&lt;BR /&gt;foo -&amp;gt; /opt/foo/bin/foobinary&lt;BR /&gt;&lt;BR /&gt;You can swremove products that are no longer needed to free up space in /opt.  A handy little command I use to see who's soaking up filesystem space (/opt for example) is as follows:&lt;BR /&gt;du -kx /opt | sort -rn | more&lt;BR /&gt;&lt;BR /&gt;This will give you a highest-to-lowest list of filesystem usage in KB (not blocks).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jim</description>
      <pubDate>Tue, 19 Jun 2001 20:24:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542470#M865718</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2001-06-19T20:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: files in /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542471#M865719</link>
      <description>Thanks for the replys so far.  Looking at everyhting, it seems that the copies that I have are not links but actual files.  Some of what is in /opt is in swlist, but some a few programs are not, and there is a bunch of stuff in there that is not in swlist.  What I wonder is why, when I swinstall and set the target directory to, say, /home/apps, does it put a second copy in /opt?  Is the one in /opt required for the one in /home/apps to run?  If I run swremove for these, which copy will it take?  I am not concerned with control of the these particular programs (as far as security is concerned).</description>
      <pubDate>Wed, 20 Jun 2001 11:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542471#M865719</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2001-06-20T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: files in /opt</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542472#M865720</link>
      <description>hi,&lt;BR /&gt;some of the softwares installed by default get installed under /opt(like IBM's MQseris)and some patches like trace when installed, will get installed in some other place but a piece of the software will be stored in /opt(like man,which is optional which if you don't want can be removed)</description>
      <pubDate>Wed, 20 Jun 2001 12:13:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/files-in-opt/m-p/2542472#M865720</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-06-20T12:13:37Z</dc:date>
    </item>
  </channel>
</rss>

