Managing Debian Software with APT (apt-get etc) |
Prev |
Home |
Next |
5.3 How to install packages "on demand"
You're compiling a program and, all of a sudden, boom! There's an error
because it needs a .h file you don't have. The program
auto-apt
can save you from such scenarios. It asks you to install
packages if they're needed, stopping the relevant process and continuing once
the package is installed.
What you do, basically, is run:
# auto-apt run command
Where `command' is the command to be executed that may need some unavailable
file. For example:
# auto-apt run ./configure
It will then ask to install the needed packages and call apt-get automatically.
If you're running X, a graphical interface will replace the default text
interface.
Auto-apt keeps databases which need to be kept up-to-date in order for it to be
effective. This is achieved by calling the commands auto-apt
update, auto-apt updatedb and auto-apt
update-local.
Managing Debian Software with APT (apt-get etc) |
Prev |
Home |
Next |