Open Linux terminal and just write to it (without running)
-
My application uses ffmpeg to convert some files and it needs to be on the user system for the app to run properly. I want to inform the user in the first run that it needs ffmpeg and prompt him/her to install it.
Since installing something on Linux requiressudo
I couldn't figure out how to useQProcess
to do that, not even sure if it is possible.My first option to solve this is just display a message to the user informing him/her that ffmpeg is needed and show the command to install it below the msg.
However I am wondering if there's way I could open the terminal from the app and write the command and the user just have to press enter or run the command directly but opening the terminal first so the user can enter the password. -
Hi,
Different distributions will have different tools to install packages. You may also have uses that only use a GUI to manage their packages. You should just inform them that ffmpeg is required.
If yourself create a package you can add ffmpeg as a dependency.