How to run a program as root

Hi, how do i run a program as root?

Hello Jojoistcool2509, welcome the forum. What program do you want to run as root? sudo (program-name) the command that is generally used to run programs as root.

Running a graphical program with sudo may lead to issues. Many can be run with pkexec, instead.

pkexec (program-name)

Or in terminal run

sudo -i

Then run the program name to launch it as root

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.