我正在編譯pdo_firebird
擴展,其中php5 and firebird pdo on ubuntu/debian服務器配置教程。構建PHP擴展後,在Ubuntu中刪除dev軟件包是否安全?
教程建議安裝了一堆擴展:
sudo apt-get install php5-dev firebird2.5-dev php-pear devscripts debget
我檢查Building extensions using phpize
and other chapters from PHP Internals Book,但一無所獲。
它是安全的刪除已安裝的軟件包?什麼是最佳做法?
apt-get -y remove --purge php5-dev firebird2.5-dev php-pear devscripts debget
apt-get autoremove -y
當然,這些軟件包只在編譯時需要。 – arkascha