John Lapoya
John Lapoya

Reputation: 592

Creating an installer in Debian with Python

I would like to know if it possible to install a software from source code (from xxx.tar.gz) in Debian using any python library ? Or by terminal, but I would prefer by python.

Im searching on the net but couldnt find any usefull info.

Upvotes: 0

Views: 32

Answers (1)

ComputerFellow
ComputerFellow

Reputation: 12108

You can use TarFile.extract and then use Subprocess to execute make and make install if it exists in the tar.gz file.

Upvotes: 1

Related Questions