I want to know how-much data is needed to download any package by apt without installing that package.  In other words if I run apt-get install xyz then it will download and install packages with their dependencies. But I want to know/show only how-much (Total)data (ex:need to get 73MB of archives) to download without downloading and installing that package(s).
5537
When using apt-get install &lt;package_name&gt;, and there are dependencies that need to be downloaded, the terminal outputs names of additional packages and total size, and asks for confirmation before downloading.   But, when dependencies are satisfied and nothing but the named package needs to be downloaded there is no size output and no confirmation.  When using Synaptic, I can see the total size that new packages that will use after installation but no way to see the size that needs to be downloaded, except to go from package to package and use properties to see the compressed size.  I would like to know if there is a way to see the size of a package(s) in terminal and Synaptic prior to downloading and installing it/them?
89774
I have some questions about the APT package manager.     As I understand we have repositories URLs located at /etc/apt/sources.list and /etc/apt/sources.list.d/*      When apt-get update is called, apt tries to connect to all specified repositories in the file and download information about those repositories about what programs are available and so on.      It caches all retrieved data locally in order to use it later without making internet requests to the repository.      When apt-get install is called it searches local cache package list from available repositories and if package is not found it does nothing except display an error.      apt-get search also looks into local cache and doesn't make any requests to the internet.      Am I right? I am not sure about commands that make requests instead of searching data in the local cache.        Also, what is the difference between apt-cache search and apt search? I can guess they both use the local cache.
38421
As time goes by we tend to do apt-get install and add or replace software.  Are these archived in some form or do they get auto-cleared after installation? And if it doesn't get auto-cleared, it would mean that a clean up is needed, isn't it?  Finally, if they're not auto-removed, can we reuse these packages on different machines?
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?
5332
For a specific package, can I find out why it is installed?  So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of the distro?
13578
As a developer of free software, I want to get my application into Ubuntu.  Should I provide a source tarball and ask for packaging? Or should I create a package myself? Should I target Ubuntu directly, or should I try to get into Debian and then into Ubuntu automatically?
113134
I want to save the list of packages that have installed. I figured it might be the best to list all and diff it with the default set.  Edit: Clarification: I don't want to get the list of installed packages that are installed at the moment. Rather I want to get the list of packages that I added since the default install.
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.
69520
How do I update a single package? As far as man apt-get says apt-get upgrade doesn't take a package/list of packages as parameter:     upgrade      upgrade is used to install the newest versions of all packages   currently installed on the system from the sources enumerated in   /etc/apt/sources.list. Packages currently installed with new   versions available are retrieved and upgraded; under no circumstances   are currently installed packages removed, or packages not already   installed retrieved and installed. New versions of currently installed   packages that cannot be upgraded without changing the install status   of another package will be left at their current version. An update   must be performed first so that apt-get knows that new versions of   packages are available.
123312
given a package name, I want  to find how much space would be freed up if the package, and its dependencies, were deleted.  As dependencies might be shared between packages, maybe the right way to put it is: How much space does a package take, including all dependencies that are only beeing used by this package  I would prefer CLI solutions, because I would use them in scripts
103299
I was wondering: when installing something, there's an easy way of double clicking an install executable file, and on the other hand, there is a way of building it from source.   The latter one, downloading a source bundle, is really cumbersome.  But what is the fundamental difference between these two methods?
109722
I would like to have  on my system but I would like to install it via apt-get. Is there a special package to install this?  Download link would be:
53549
How can I get information about a package before installing it, from the terminal?  I mean something like man pages, but accessible even before the package is installed.
88988
When I have installed a package using apt, is there a way to find out by which command(s) I can run the installed program(s)?  For instance, the package httpcode is not available as httpcode, and the package description (apt show httpcode) does not explain how to run it. How could I have found out that it’s run via hc from the command line?  There are two slightly hacky workarounds I found:    Assuming that programs are by default installed in usr/bin, I ran ls -ltc | head -n 10 to find recenlty touched files there, and indeed I found hc. Similarly to 1, dpkg -L httpcode returns a list of files created by installing the package, which also lists /usr/bin/hc.   Is there a better solution to this problem that doesn’t hinge upon the intuition of where the program might be stored on disk?  I also found that man httpcode does open the man page of the program, even though I called it with the package name as argument. Does this always work (if the program provides a manpage)?
11370
I know that packages installed with apt-get are stored in /var/cache/apt/archives.  I just installed mariadb server in Ubuntu 16.04 with following command:  sudo apt install mariadb-server   When I tried to find packages in /var/cache/apt/archives, there are no packages. Where are they stored if it's not in this directory?
69101
I installed Debian 7 using a DVD version, so every time I'm trying to install something using apt-get, the system ask me to mount the DVD. Is there a way to avoid that (inserting every time the dvd).
3727
When I try to install any package through the command line, I get an error.   $ sudo apt-get install &lt;package&gt; Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package &lt;package&gt;   Can anyone help me on this?