diff --git a/php/apt.php b/php/apt.php new file mode 100644 index 00000000..56433f3d --- /dev/null +++ b/php/apt.php @@ -0,0 +1,26 @@ +cmd = 'apt-get install '.$this->pkg ; + $this->execute_local(); + + } + + + function execute_local() { + $output = array(); + $res = exec( $this->cmd, $output, $return ); + $this->res = $output; + print_r( $this->res ); + } + + + +} + + diff --git a/php/pkgm/package_manager.php b/php/pkgm/package_manager.php new file mode 100644 index 00000000..701a7d46 --- /dev/null +++ b/php/pkgm/package_manager.php @@ -0,0 +1,13 @@ +