Okay a college of mine just showed me that you could do  sudo apt-get install &lt;type first letters of package&gt; &lt;TAB&gt;   That it auto-completes the name of the package. Just for an example...  sudo apt-get install ged&lt;TAB&gt; results in sudo apt-get install gedit  Now I tried to do this but this does not work for me.  How can I solve this? Do I have to install a package? My college told me that he didn't install anything extra for it.
120434
At some moment   apt-get install   autocomplete was broken  It was very useful to me to see packages name with Tab press  How to repair this autocomplete?
119432
I prefer to install my own version of Firefox. How can I tell apt to never attempt to upgrade it, even if i type "apt-get update ; apt-get upgrade" later?  Edit: Okay, so dpkg -l firefox prints this:  ii  firefox   3.0.3+nobinonly-0ubuntu2   meta package for the popular mozilla web browser   So I added this to my prefs:  Package: firefox Pin: version 3.* Pin-Priority: 1000   But apt-get upgrade still prints:  The following packages have been kept back:     (nothing related to firefox) The following packages will be upgraded:     (blah blah blah)     firefox firefox-3.0 firefox-3.0-branding firefox-3.0-gnome-support      firefox-gnome-support     (blah blah blah)   I also tried making the package "*firefox*", but that didn't work either.
25828
How can I run sudo apt-get install by BOTH seeing the process of installation (long in my case) and saving its output into a text file ?
57869
When installing a software via dpkg -i packageA.deb, will the dependencies required by packageA be downloaded and installed automatically? How is this different from using apt-get or aptitude?
28437
Uninstalling using the method:  dpkg --list sudo apt-get remove “package-name” sudo apt-get purge “package-name” sudo apt-get autoremove   is a beautiful way, but the problem is in searching for the package which I really need to uninstall inside all of this long dpkg --list , and this is not the fatigue, you will get enough fatigue when looking for the true name of the true package which you want to remove.  -are there any way much easier than this? -are there any software like Iobit uninstaller which is on Windows? mean: software for uninstalling programs on Ubuntu? -are there any way to get the true name of the package which we want to remove?
80241
This question always bothers me! Last time for 4.9 I tried the commands mentioned in . The same trick doesn't work now:  sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install gcc-5.1 g++-5.1   results in...  E: Unable to locate package gcc-5.1 E: Couldn't find any package by regex 'gcc-5.1' E: Unable to locate package g++-5.1 E: Couldn't find any package by regex 'g++-5.1'   What is the correct command for directly installing the latest g++ in Ubuntu? Is there any magic command which works uniformly for all the updates of g++?  Update:  I found that the correct command to install it is:  sudo apt-get install g++-5   This works now! Though in the , the version is 5.1.
29588
I used sudo apt-get remove python command and accidently removed a bunch of packages that were required. I logged in via command line and installed ubuntu-desktop again but there are other packages that are missing, and I'm looking for a way to easily reinstall those removed packages. Since there's the log at software-center I wanted to ask what the easiest way might be to roll back changes or extract the removed packages list from the software center...  note: I typed sudo apt-get install .... .... ... ... for about two dozen of those removed programs in that list, but when I pressed enter it didn't install any of them because some package names couldn't be found.  The programs were removed at the same date.
45036
What are the differences between apt-get, aptitude, and synaptic, and which one is the recommended choice for normal day-to-day package management?  This is a basic question, but I think it'd be good information to have on the site, and besides I am relatively new to Ubuntu so I could use an expert explanation.
74123
Whenever I issue command sudo apt-get install foo it does not ask for password. is it because of user groups?  How to make it prompt for password?  Edit: My sudoers file   apple@Ascension:~$ sudo cat /etc/sudoers # # This file MUST be edited with the 'visudo' command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See the man page for details on how to write a sudoers file. # Defaults    env_reset  # Host alias specification  # User alias specification  # Cmnd alias specification  # User privilege specification root    ALL=(ALL:ALL) ALL  # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL  # Allow members of group sudo to execute any command %sudo   ALL=(ALL:ALL) ALL  #includedir /etc/sudoers.d ALL ALL=(ALL) NOPASSWD:ALL ALL ALL=(ALL) NOPASSWD:ALL ALL ALL=(ALL) NOPASSWD:ALL
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.   ...
6299
Let's say there are A, B and C package.  A and C were installed manually with apt-get install, and B is a dependency of A and was installed by apt automatically.  Is it possible to know that with some apt-* or dpkg command?
43512
I would like to know what some specific package installs, for example, when installing ncurses, I have found that TAB key expands:  sudo apt-get install ncurses-   to show:  ncurses-base      ncurses-doc       ncurses-hexedit ncurses-bin       ncurses-examples  ncurses-term   How could I know what, say, ncurses-term installs? I am interested mainly in programs, but libraries and any other filetypes could be useful too.  Command-line method, if possible, would be preferred (any others accepted too).
52275
There are many  about Unable to locate package.  For example : if user try to install package by using apt-get then the following error shown. (Here package is used only as example for displaying error message):  sudo apt-get install package Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package package   What does this error mean? How do I solve it?    provided General solution to understand and how to solve such type of error (which is helpful for new users that may unaware of repository-apt install mechanism)  Note : For resolving unmet-dependencies, visit: .
85469
I was trying to install all python packages using sudo apt install python3*, but it gave me this error: newtron@newtron:~$ sudo apt install python3* Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package python3*
115872
So I'm playing around with offline package installation on 12.04 Server, having downloaded packages by retrieving and wgetting their URIs using the instructions here:   I did this with apt-get upgrade and apt-get dist-upgrade, then went about installing the downloaded packages using dpkg -i. So the process looked like so:   Get URIs wget the packages to a folder (upgrade packages to /upgrade and dist-upgrade packages to /dist-upgrade) run dpkg -i /upgrade/*.deb and then dpkg -i /dist-upgrade/*.deb   My question is: would this method of manually installing the updated packages correctly get everything updated, giving the same result as if I'd just run apt-get upgrade and apt-get dist-upgrade normally? Or is there something that the normal apt-get commands do that wouldn't get done with this way?
77158
Say I install package A, which depends on package B. Then I remove A.  Now apt-get autoremove wants to remove B, but I want to keep it. How do I "pin down" B so that the system acts as if I installed B myself?  I come from Gentoo, where the solution would be to add B to my world file. What's the Debian/Ubuntu equivalent?
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.