I want to ask whether there is any method to suppress any interaction while installing apt-fast using apt-get.  I add the ppa source and then use the next command to install apt-fast:  sudo apt-get -y install apt-fast   However, while installing, it always asks which one to wrap, apt-get or aptitude, and then the maximum number of connection. Since I want to put the installation command in my script, I want to suppress all interaction and just use the default option. As a result, I can run the script totally silence.  Any idea?
124112
Take the acroread or libpam-ldap packages as examples.  Even when installed with apt-get --force-yes they still ask questions:   acroread wants to know whether acrobat should be the standard PDF reader (how to assume yes?) libpam-ldap What's your LDAP-Servers URI, version, password, ...? (how to just assume anything, the ldap.conf will be overwritten by puppet anyway)   Is there a "for god's sake assume anything and stop nagging"-switch for apt-get?
89698
I am often interested in the installation triggers (postinst, postrm) or certain parts of packages (like /usr/share and /etc). Currently, I am running the next command to retrieve the source code:  apt-get source [package-name]   The downside is, this file is often much bigger than the binary package and does not reflect the installation tree.  Right now, I am downloading the packages through :      Download the actual file   This takes too long for me and as someone who really likes the shell, I would like to do something like the next (imaginary) command:  apt-get get-deb-file [package-name]   I could not find something like this in the . The most close I found was the --download-only switch, but this puts the package in /var/cache/apt/archives (which requires root permissions) and not in the current directory.
20667
I found this page with some examples:   I'm wondering which one to use. Any suggestions? I'm using other packages too so whichever is less likely to interfere with them is better for me.
123436
I'm running the following script on Ubuntu 14.04:  #!/bin/bash  apt-get purge -y nginx apt-get install -y nginx  date   When I run it like cat /tmp/script | bash, apt-get starts installing, then "date" is printed (not the actual date, but the command name), then the remaining apt-get output is printed.  If however I run the script like /tmp/script, it works as expected: printing the date after apt-get finished.  Why does this happen and how can I force bash to work when being piped to the same way it does when invoked directly?
2858
Does apt-get use https or any kind of encryption? Is there a way to configure it to use it?
88826
I often come across interesting Linux commands that make me wonder; what are these commands actually doing?  Yes, they might be 'force-removing dependencies', 'installing programs' and doing lots of other stuff, but I'd like to know how they're doing it.  Looking into the source code seems the right thing to do then, but where am I supposed to get it from?  I suppose they'll be written in C?  EDIT: I'm not talking about packages installed using apt-get. I'm looking for the source code of linux/unix commands.
18205
If I run:  sudo apt-get --yes install postfix    or  sudo bash -c 'yes | apt-get --yes install postfix'   an interactive prompt appears to configure postfix. I need to automate the installation of postfix (I can modify the configuration files after the install).  Is there some magic that lets me install postfix (and other package) without human intervention?
14932
I was doing a package removal with apt-get remove but then realized I should have done a --purge along with it to remove the configuration files.  Can I remove the packages configuration files easily or do I need to reinstall the package and then remove with a --purge?
15711
Because of  I'd like to prevent apt-get upgrade and Update Manager from updating the "libgtk2.0-0" package.   How can this be achieved?
84388
I want to install:  add-apt-repository ppa:ricotz/testin   It is showing:  The program add-apt-repository is currently not installed. You can install it by typing: sudo apt-get install python-software-properties   What should I do now?
12852
After doing a man apt-get and cursory Google search it's not clear how I find new programs to install (from the internet) using apt-get (which is amazingly powerful and simple coming from another Linux distro).  I'm using Ubuntu Server 8.04 LTS (an inherited system used for some random work), so no GUI.  Anyone have quick advice here?
101475
From all the other Q&amp;A (like: ) I understand that apt-get is a wrapper over dpkg and provides dependency management.  Assuming I'm installing something that doesn't have any dependencies (or they're also installed at the same time) would there be any difference between installing it using apt-get vs dpkg  E.g. (kinda concrete differences I'm looking for)   say dpkg can not download the pkg from somewhere, I must download before starting installation, whereas apt-get will do this on my behalf. dpkg won't configure pkg, it'll only copy files. apt-get will configure too.   ...
22282
Okay, I understand how I may use apt-get {install|upgrade|remove} mypackages to install, upgrade, or remove binaries as well as their configuration data files and dependencies (actually, remove will only remove the binaries unless additional flags are provided).  I am not looking for how it is used as the man describes this, but high level what it is doing.  My end goal is to create a means for me to install and manage some custom software (created by a make file) on multiple remote machines, and I need to learn more about the process.  If answers to this question are based on which distribution is used, please tailor to Debian.  In addition to generally how it works, I have the following specific questions:   How does the client that is accessing the apt repository keep track of the files? Must the repository be hosted on the same operating system (i.e. can apt repository be hosted on redhat)? How are the locations to install files specified?  Is this specified by the .deb file? How is a remote machine accessing the repository?  Is it just ftp(s) or http(s)? Is the machine that is hosting the repository running special software (like gitlab for a git repository), or is it just some structured file system?
19080
Of course when you type:  sudo apt-get install whatever   It asks you:   Do you want to continue [Y/n]?    Is there any way I can just install it without it asking me if I want to continue? I don't really care about space, I have more then enough.
98541
Some packages ask configuration questions when installed with apt-get. That makes life awkward when I want to install something non-interactively.  How do I find out what questions a package will ask, and provide answers automatically?  (Context: I'm installing things using configuration management tools. But this probably applies in a wider range of cases.)
103984
I saw this snippet in some installation instructions:  $ apt-get install update   I know what apt-get install XXXX does and I know what apt-get update does, but I can't find any info on what this combined statement does. What does it do?
16610
Is there a way to make apt-get install answer "yes" to the "Do you want to continue [y/N]?"?