Debian Linux Update FFmpeg to 4.2+ - linux

I'm trying to use spotdl with FFmpeg on Debian Linux. I've install pip3 and the necessary installations in order to download spotdl. Now, however, when I try to run a request with spotdl, such as download a song or something, I get this message:
How do I update FFmpeg to version 4.2 or greater? I couldn't figure out a way to do this.
Thanks for any help.

Debian has 4.3.3 in Bullseye (stable). If you only have 4.1, it sounds like you're on Buster (oldstable) or earlier. You should probably consider upgrading to Bullseye; if you can't / won't, you can try running FFmpeg and spotdl in a container (Docker, lxc, etc.) or VM.

Related

Why isn't custom.ini being used by Grafana for APT version on Ubuntu 20.04?

I first tried installing Grafana on Windows and was able to use custom.ini just fine to override [auth.anonymous] in the defaults.ini configuration file.
However when performing the same thing with the Linux APT version on Ubuntu 20.04 I’m having zero luck.
Grafana just steadfastly refuses to read my custom.ini file.
What’s going on here?
The APT version should use the custom.ini file as far as I can make out from the Grafana documentation?
Ok, figured it out. APT versions also use grafana.ini

Lazarus link failed on Linux Mint 18.3 Cinnamon

I am new to Linux Mint, Lazarus and fpc.
I installed Linux Mint 18.3 Cinnamon and Lazarus v1.8.0, found it needed fpc and fpc-src, then installed fpc 3.0.4 and fpc-src 3.0.4, launched Lazarus without problem, then tried to run a simplest application in which there is only a blank form. It failed with a lot of "cannot find -l" error, fixed a few with "sudo apt-get install xxx" commands, but ther are still 4 of them:
gdk_pixbuf-2.0, gtk-x11-2.0, pango-1.0 and atk-1.0
where can I find these libraries?
I tried this and it worked for me:
1. Installed Synaptic package management tool
2. Used Synaptic to remove all fpc, fpc-source, fpc-src and Lazarus related packages(fp-xxx, lcl, etc.), used Complete Removal
3. Manually delete /usr/lib/fpc folder
4. Reinstall fpc, fpc-src and Lazarus in order
I had a similar issue with Lazarus and Linux Mint 18.3 just this week actually!
The solution I found was to go through the software manager, search for "pascal" and uninstall any Lazarus and FPC* related packages.
You could of course use apt from the shell or Synaptic as Bochen has already suggested but the Software Manager is what I used.
Then go to http://www.lazarus-ide.org and download the Debian DEB files.
The current version is at 1.8.0 and I installed them in the following order:
fpc_3.0.4-2_amd64.deb
fpc-src_3.0.4-2_amd64.deb
lazarus-project_1.8.0-1_amd64.deb
Hopefully, now, it should all work beautifully. That fixed the problems for me and is a newer version than what's currently available in the mint repositories.

How downgrade gcc in debian linux?

i'm learning linux kunnel programming. however, i faced problem that gcc version is too high to execute 2.4kunnel "make" command(make bzImage), I try to find solution. but in debian case solution does not exist, just for ubuntu, centOs ect... please help me Or, link that about my problem.
P.S ) What i want version of gcc is 3.3 version, it doesn't work use command apt-get install gcc-3.3
Why would you learn based on 2.4?
Your question is wrong anyway. You will likely need other old tools. The way to go is to download an entire debian system and chroot inside. This can be achieved with debootstrap.
However, as noted earlier, you should not stick to 2.4 in the first place.

Install MonoDevelop IDE for Redhat Linux

I am trying to install and configure MonoDevelop on my Oracle VM Virtual Box. The Operating System that running on the VM is RedHat Linux.
With the help of the below link, I have installed the mono-2.10.8 and also I was able to compile and run the sample c# source code on Linux through the shell.
Here
Now, I am trying to install or configure the IDE, please advise me for the good IDEs.
Thanks for your help
Installed Monodeveloper from the below link. I chose the Operating System as CentOS
MonoDevelop
This will also install mono-opt from the home:tpokorra repo
mono-opt is the latest stable version (3.6) on mono available from Mono Project
I found this way much easier for installing mono on redhat / centos 6

How to upgrade Qt installed in linux from one version to higher

While porting Qt project from windows to linux(ubuntu) i faced with the following issue:
on windows Qt version 4.8.1 is installed
on linux 4.6.3 in which some functionalities availiable in higer version 4.8.1 don`t yet implemented (ex. QUdpSocket::joinMultiCastGroup).
I see only one solution to this problem: upgrade Qt version on linux to 4.8.1.
How can I do this?
On linux I got installed libqt4-dev, qmake.
Solved: I changed repository from squeeze (stable) to wheezy(testing), in wheezy latest Qt version is 4.8.1, which is perfectly suits my needs.
Using package manager I found package libqt4-dev and selected it for update.
That is all, the whole process took 5 minutes.
Disadvantages:
- As I run Debian on Virtual Box after changing repository I had to reinstall guest additions
- wheezy is less stable than squeeze (I haven`t faced yet with stablilty problem)
I guess you can use Upgrade option in the Qt Creator.
Or you can download latest version from Download Qt, the cross-platform application framework
Or you could try to update using something like apt-get install(upgrade) libqt4-dev if you using Debian based system.
This depends on the distro you are using. If there are binary packages for your distro you can update through your package manager. Otherwise you have to download the source of your prefered Qt version and build it yourself.
I'm not sure if this will help in your situation, but you can download the Qt Online Installer at the following link:
https://www.qt.io/download-qt-installer

Resources