{"id":971,"date":"2022-09-23T11:20:36","date_gmt":"2022-09-23T11:20:36","guid":{"rendered":"https:\/\/bechele.de\/?page_id=971"},"modified":"2022-09-23T13:36:10","modified_gmt":"2022-09-23T13:36:10","slug":"unix-linux-installation","status":"publish","type":"page","link":"https:\/\/bechele.de\/?page_id=971","title":{"rendered":"Unix\/Linux installation"},"content":{"rendered":"\n<p><strong>Unix installation:<\/strong><\/p>\n\n\n<ol>\n<li>Download the g-zipped tar archive: <span style=\"color: #ff6600;\"><em><strong><a style=\"color: #ff6600;\" href=\"http:\/\/cmfs.de\/images\/attach\/cd2browse_105.tgz\">cd2browse_105.tgz<\/a><\/strong><\/em><\/span><\/li>\n<li>Make sure Perl, ImageMagick and Perl Magick is installed<\/li>\n<li>Make sure xpdf is installed &#8211; this is the case on most linux dist.<\/li>\n<li>If you want to index MS Office files, make sure catdoc is installed &#8211; if not, download and install from: <a href=\"http:\/\/www.wagner.pp.ru\/%7Evitus\/software\/catdoc\/\"><span style=\"color: #ff6600;\"><em><strong>http:\/\/www.wagner.pp.ru\/~vitus\/software\/catdoc\/<\/strong><\/em><\/span><\/a> and compile it according to the package information<\/li>\n<li>Install the necessary perl modules. Depending on the distribution, your Perl packages may be installed using your&nbsp; pagage manager. For OpenSuse for example the Packages are on the Installation DVD and can be installed using &#8220;yast&#8221;. If your distribution does not contain various perl modules, you can download them from cpan.<br>In this case Type:<br>cpan &lt;enter&gt;<br>when you do this for the first time, you need to answer some questions &#8211; in most cases, the default settings should be sufficient.<br>When cpan shows its prompt, type:<br><em><strong>cpan&gt; install CGI::FastTemlate<\/strong><\/em> &lt;&#8212;&#8212;- The Module will be searched on the internet and installed<br><em><strong>cpan&gt; install File::Mirror<\/strong><\/em> &lt;&#8212;&#8212;- same<br><em><strong>cpan&gt; install Module::Load::Conditional<\/strong><\/em> &lt;&#8212;&#8212;- same<br><em><strong>cpan&gt; install HTML::Strip<\/strong><\/em> &lt;&#8212;&#8212;- same<br><em><strong>cpan&gt; install Tk<\/strong><\/em> &lt;&#8212;&#8212;- same<br><em><strong>cpan&gt; install MP3::Info<\/strong><\/em> &lt;&#8212;&#8212;- same<br><em><strong>cpan&gt;<\/strong><\/em> quit<\/li>\n<li>Unpack the gnu zipped tar archive to the root (\/) directory.<\/li>\n<li>Install the file index.pl, CD2Browse.pl and CD2browse.hlp somewhere in your file tree. By default it goes to \/var\/opt\/cd2browse&nbsp; &#8211; you may copy the perl scripts to \/usr\/local\/bin<br>Alternatively you can instruct your shell to search for executables also in \/var\/opt\/cd2browse by adding this path in the &#8220;path&#8221; variable of your shell.<\/li>\n<li>Install the skeleton and template files to \/var\/opt\/cd2browse &#8211; this is the default path &#8211; to change the default path, change the variable section of index.pl or create a Environment Variable named &#8220;C2BPATH&#8221; containing the path to the templates.<\/li>\n<\/ol>\n\n\n<p>With <em><strong>perl &lt;path to index.pl&gt;\/CD2Browse.pl<\/strong><\/em> you start the GUI (if the PATH has not been set it may help to first change the directory to \/var\/opt\/cd2browse<\/p>\n\n\n\n<p>To test, type: <em><strong>perl &lt;path to index.pl&gt;\/index.pl<\/strong><\/em><br><br>If you see the following message, you have successfully installed cd2browse:<br><br><em>usage: perl index.pl -p &lt;path to index&gt; [-n -m -t -s -i -x -r -q -v]<br><br>Options:<br>-i&nbsp; do not index images(all over the file tree)<br>-m&nbsp; maxwidh of the preview image (default=800)<br>-n&nbsp; (re) calculate no images to save cpu time<br>-q&nbsp; be quiet &#8211; do not output progress information<br>-r&nbsp; do not use offline sort &#8211; needs a different template page.tpl<br>-s&nbsp; size of the thumbnails (default=90&#215;90)<br>-t&nbsp; title<br>-v&nbsp; do not create folder navigation in the page section<br>-x&nbsp; do not extact title from pdf file (all over the file tree)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unix installation: Download the g-zipped tar archive: cd2browse_105.tgz Make sure Perl, ImageMagick and Perl Magick is installed Make sure xpdf is installed &#8211; this is&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":931,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-971","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=971"}],"version-history":[{"count":2,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/971\/revisions"}],"predecessor-version":[{"id":986,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/971\/revisions\/986"}],"up":[{"embeddable":true,"href":"https:\/\/bechele.de\/index.php?rest_route=\/wp\/v2\/pages\/931"}],"wp:attachment":[{"href":"https:\/\/bechele.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}