Installing deb package from within Lazarus/Pascal application lazarus / 66-Unix ---------------------------------------------------------------------- MaxCuriosus · 2020-04-14 21:20 Is it possible to install a deb package that requires superuser privilege from within Lazarus/Pascal application? Something that normally is done in the terminal or in a bash script in a way like sudo dpkg -i abc.deb ---------------------------------------------------------------------- lucamar · 2020-04-15 10:21 Yes, using TProcess (or one of the function in the Process unit) to run a transitory shell and passing to it the command you want to run. Similar questions have been already answered in the forum; look for: "running a command as admin" or similar.