Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

First I'm not Solaris/Linux guy, pure Windows.

My problem: I need to get ffmpeg executables on hosting Solaris servers. The first and obvious way it to take source code and compile it there. But there can be difficulties and I decided to defer this option. Option two: there are build packages for solaris 11 of ffmpeg (http://www.solarismultimedia.com/?q=node/53)

I don't have root permissions on hostring servers and can not perform any package operations. So I thought maybe it is possible to get package from the repo mentioned above and manually upload executables to server, and then do the stuff.

The problem is that I don't have any solaris machine to download the package. Actually only windows available.

What can be solution to the problem?

share|improve this question
up vote 2 down vote accepted

Welcome to package and dependency management.

Unlike rpm, deb or other common linux packaging formats the Solaris system uses the .p5i format which does not contain all the installation files of the package itself. So the only other alternative is to mirror the whole repo on your server using the pkgrepo create and pkgrecv, set up an instance of pkg.depotd locally on your system and add that as a publisher.

But even if you do all that, you say that you do not have root privileges on the server and hence you would not be able to install anything using the the Solaris package manager pkg since it would try to install to locations such as /usr/bin, /bin, /sbin, /etc, /lib, /usr/lib.

The only other alternative is your option 1, of trying to compile packages from source.

I've done this a couple of years back on my department's CSE student login machine. It was also using solaris I believe but it doesn't matter. You need to compile the packages and its dependencies (which you cannot find already installed on the machine) from source and put them in directories like $HOME/bin, $HOME/lib and set up your .bashrc $PATH and $LD_LIBRARY_PATH accordingly to pick up the correct binaries and libraries on startup.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["                       <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\n                </div>\n            </div>\n\n            <div id=\"copyright\">\n                site design / logo &#169; 2016 Stack Exchange Inc; user contributions licensed under <a href=\"https://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\n            </div>\n            <div id=\"svnrev\">\n                rev 2016.2.5.3240\n            </div>\n            \n        </div>\n    </div>\n    <noscript>\n        <div id=\"noscript-warning\">Super User works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\n    </noscript>\n<script>v"], "copyright__copyright__copyright": [" the packages and its dependencies (which you cannot find already installed on the machine) from source and put them in directories like $HOME/bin, $HOME/lib and set up your .bashrc $PATH and $LD_LIBRARY_PATH accordingly to pick up the correct binaries and libraries on startup.\n\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}