How to Install FFMpeg on centos 6 in 2022? - ffmpeg

a client of mine asked to add videos to their website, i decided to install FFMpeg on their server so whenever they upload a video, the service automatically generates the first frame for the preview and encodes them in webm.
Sadly it seems to be impossible to install without having to compile it myself (which i don't really want to do as i have never done it before and don't want to risk breaking something in their server),
The server is running cento6 but EVERY repository that provides the centos6 version of FFMpeg seem to use dependencies from dead hosts (they are offline and unreachable), every solution i find ends up with the same error like "Couldn't resolve host 'apt.sw.be'"
I've changed yam repositories, installed apt-get to try with that instead of yam, disabled and enable repos like nux that seem to be very outdated, even followed posts that were published/updated recently like this but they all keep ending up with the the same "Couldn't resolve host..." when installing decencies.
Is there any live and updated repo that provides a way to install FFMpeg for centos6 with yum or apt-get in 2022?
Thanks
EDIT
Following Romeo's tip about downloading the binaries, i managed to install it but in my case i needed a older 32 bit version to make it work (else i'd get Kernel too old):
$ wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.0.3-32bit-static.tar.xz
$ tar xvf ffmpeg-4.0.3-32bit-static.tar.xz
$ sudo mv ffmpeg-4.0.3-32bit-static/ffmpeg ffmpeg-4.0.3-32bit-static/ffprobe /usr/local/bin/

What you can do is to try to install statically build ffmpeg binary. This will help you not to search for contemporary package and update your CentOS.
You can try this version (64bit version).

Related

How to change theme in Debian 9 XFCE from pling.com using OCS-Install

The default theme is kinda boring, but I prefer Debian because is stable and have the most useful apps and software for me. Also, I like XFCE because of performance and stability, so I am not changing to other WM.
So I tried to Install some themes and icons from pling and succeded when they provide a zip or tarball, but some of the themes don't have that and just provide an OCS install
OCS
Ubuntu-Install
I did not found a way to install OCS in Debian, just Ubunutu and other, is there a way to install it?
I found the exact answer for your question here.
I have tested it in a Debian 9 box myself and everything seems to be working.
Post by user rolf:
I installed a few themes from gnome-look.org
The site uses a special URL scheme. The URL handler comes in a package
named ocs-url. Here are the instructions for installing the URL
handler on linux-apps.com.
However, the installation method described on this site has an issue:
it marks the dependencies as manually installed.
Therefore I recommend the following method instead.
My method will ensure that, when you uninstall ocs-url, its
dependencies will be automatically uninstalled as well.
First download the ocs-url Debian package, then (filename and
directory name might differ):
cd ~/Downloads
sudo dpkg -i ocs-url_3.1.0-0ubuntu1_amd64.deb
sudo apt-get install --fix-broken
Once this is done, all you have to do is click on install links on
gnome-look.org and them click "OK" and the themes will be installed in
~/.themes.
Restart the Tweaks tool and your new themes should be available.
Tested on Debian.

Installing TeamViewer 13 on Debian requires many dependencies

I'm trying to install TeamViewer by going to their website and downloading the latest version. However, when I open a terminal, navigate to the folder, and enter
sudo dpkg -i teamviewer_13.0.6634_amd64.deb
I get a message that certain dependencies are missing, including qtdeclarative5-qtquick2-plugin. I then installed that, re-ran the install, and there are many other missing dependencies, so I try to just run
sudo apt install qtdeclarative5-*
and this tells me that several dependencies from qml are needed, so I run
sudo apt install qml-module-*
and this again tells me I first need other missing dependencies, and at this point I feel like I am in an endless maze. Is there any efficient way of getting the dependencies that I need? Or am I supposed to be doing something completely different to install TeamViewer? I'm running Linux Mint 18.3 Cinnamon.
Why not use VNC?
This is a question more relevant for ServerFault, Stack Overflow's sister site for IT.

Installing biber 2.7

I am using a software called Texmaker, it uses another program (i think they called it a backend, am i right?) called biber. The current version of biber in my computer is: Biber 1.9. I have tried to download a current version of biber in the webpage http://biblatex-biber.sourceforge.net/ (i am sure it is the correct programme and webpage).
The problem is that Texmaker still recognize the old version (1.9)and not the new one. What should i do?
Where should i unpackage biber?
Another question, Biber is downloaded in a tar.gz file, so i uncompressed it and it was finished.
I am not sure if it is wrong or not, i mean, only uncompress the file to install it.
Extra data: The version of linux i have is based on Debian.
Debian updates packages continuously, but for releases that are already out it takes special care not disrupt and does not update much more than what is required for security purposes. The page https://packages.qa.debian.org/b/biber.html shows that version 2.7 is already available, but only in the next version of Debian which is called "testing". A new release of Debian is expected "real soon" and then what is stable now will be referred to as old stable and today's testing will be the new stable. You may decide to just wait for that upcoming release to then upgrade your complete installation of perform a partial upgrade now as described below.
To get to the new version you could download the .deb package following https://packages.debian.org/stretch/all/biber/download and install it with "sudo dpkg -i biber_2.7-2_all.deb". This substitutes your previous version. There is no need to manually decide where to put a Debian package - all previously installed files of that package will be removed and all the files in the .deb file at hand are unpacked at fixed locations. Which files that are you can inspect with the "-c" option, i.e. "sudo dpkg -c biber_2.7-2_all.deb". A program that worked with biber before should now also function with that new version. Should. Just give it a test. If it works then you are done with your update.
The art of assembling a joint release of software packages is the difficulty to avoid side effects. It is common that an upgrade of one packages breaks other packages. But this is not necessarily so and the packages declare any known such dependencies on the versions of other packages. If there are many additional dependencies that you need to co-update with that new version of biber, it may then be preferable to add the download information to stretch to /etc/apt/sources.list (copy the reads jessie or stable now and substitute that with stretch or testing). You then run "sudo apt-get update" and "sudo apt-get install biber" to have version 2.7 installed.
Have you installed texmaker also from Debian? That testing release also offers texmaker 4.5 over version 4.3 of the stable distribution features. If your problem was not solved with 4.3 then it may be worthwhile to attempt also an update of texmaker. It is then from the same Debian release as is biber and they should work together since this "togetherness" is what a release is about. You can download the Texmaker .deb file as explained before or with the extended sources.list file use apt-get install texmaker. Again, there is no need to specify any program locations. What is old is removed, the new version of the packages takes it position.
With the new Debian release now so close, not too much should go wrong. But if you are professionally depending on your machine then please try this first on another computer to learn and of course please have backups. Once the biber package was updated, remove or comment out (start the line with the # sign) in /etc/apt/sources.list and run apt-get update again. The newly installed biber package will not be removed again since its version is newer than.
Meta-comment: This site is about programming, not about installing software or distribution-related issues. It may be more appropriate to address this question at https://askubuntu.com, the https://lists.debian.org/debian-user/ mailing list or (my preferred option) some friendly soul in the neighbourhood.

Setup Macports on an offline machine

I need to install dpkg for my mac and the easiest way I have seen for doing that is to install Macports. Unfortunately the machine I want to install it on is not connected to the internet.
Is there a way to download dpkg and its dependencies for macports and install the packages on the offline machine?
I have seen people mention to set it up on an online machine and move the whole macports folder, however the only machine I have online is running a different OSX version which could cause issues.
Thanks in advance.
You could try to download all sourcefiles using
sudo port fetch rdepof:dpkg
and then copy everything in (/opt/local/var/macports/distfiles/) to the offline machine and put it in the same folder there.
Then you should be able to build dpkg using
sudo port install -s dpkg
The -s option forces macports to build from source. (Prevent MacPorts from installing pre-built package?)

how to update firefox on redhat via yum

I have firefox 3.0.12 on my redhat 5.8 and I'm trying to update it.
But, yum update firefox does not find and new version and keeps finding only 3.0.12
I have also tried updating yum itself.
I have also tried downloading firefox tgz, but I get a lot of dependency files missing. So going that route is very tedious and I'm finding it hard to download the dependent .so files.
How do I update using yum or is there a .rpm for firefox that I can download and install(I did not find one on the mozilla website)
If yum upgrade firefox does not report any possible updates, you probably do not have proper channels enabled (you are not subscribed into these). You should see rhel-x86_64-server-5 (depends on your architecture and RHEL variant - Server/Client...) in output of command yum repolist. If it is not there you have to register into RHN Classic (rhn.redhat.com) or your company's Red Hat Satellite or something else - depends on your company's policy.
If you have that channel available, upgrade to firefox-31.2.0-3.el5_11.x86_64 (which seems to be latest in RHEL5 channel) should be offered.
Firefox 3.0.12 is the latest version available in repository of 5.8 and so you are getting same. If you need the latest version then upgrade the OS itself or download the rpm manually and install with yum localinstall command.

Resources