понедельник, 17 января 2011 г.

How to get and remove build dependencies in Ubuntu?

To get all dependencies, necessary for building we use
apt-get build-dep {packagename}
or
aptitude build-dep {packagename}
but how to remove it?
There is no built-in func for it, but I found an answer on launchpad :
sudo aptitude markauto $(apt-cache showsrc YOUR_APP_NAME | grep Build-Depends: | sed -e 's/Build-Depends:\|,\|([^)]*)//g')

Комментариев нет:

Отправить комментарий