How to force Fedora command-line to give me proposals for installation of package when a missing command is typed?  Now when I type git the command-line tells me :  -bash: git: command not found   Before it gave me proposal (something like this):  Command not found. Install package 'git' to provide command 'git'? [N/y]   I made a clean installation of Fedora 24 and obviously this feature is missing. I tried to dnf install command-not-found but it couldn't find the package. What should I do to bring this feature back?
122298
I have noticed that while on Ubuntu, if I type the following:  mc   and it isn't installed, I get the message below:  The program 'mc' is currently not installed. You can install it by typing: sudo apt-get install mc   However in Debian, that is not available. It just gives a "-bash: /usr/bin/mc: No such file or directory" message. How can I implement the same functionality in bash command line on Debian? Yes, I know that if it is package suggestion that I want, I can simply do a regex search using apt-cache search. However I was hoping for the simpler suggestion immediately on typing the name of the program.  As per discussions, the functionality is provided by the package command-not-found. However even after installing it, and also installing bash-completion package, this isn't available on the Debian bash shell.
29269
I have apt-get 0.7.23.1 on host machine. I do not have root, thus not able to update it, or install other packages.  I want to download .deb packages with it, but neither  apt-get -d bash   (Invalid operation bash)  nor  apt-get -d install bash   (do not have root)  work.  On my home machine with a newer version of apt-get I can  apt-get download bash   and it does exactly what I want it to.  How can I perform the same on the host machine?
113033
I'm following  to install git on my laptop. When I do:  $ sudo apt-get install git-core  This is what my terinal shows:  Reading package lists... Done Building dependency tree         Reading state information... Done The following packages were automatically installed and are no longer required:      libasprintf0c2:i386   libcroco3:i386   libgettextpo0:i386   libgomp1:i386   libunistring0:i386 Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   git git-man liberror-perl Suggested packages:   git-daemon-run   git-daemon-sysvinit   git-doc git-el   git-arch git-cvs   git-svn   git-email   git-gui   gitk gitweb The following NEW packages will be installed:   git git-core git-man liberror-perl   0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.  Need to get 6,825 kB of archives. After this operation, 15.3 MB of additional disk space will be used. Do you want to continue [Y/n]? y  WARNING: The following packages cannot be authenticated!    liberror-perl git-man git git-core Install these packages without verification [y/N]?       E: Some packages could not be authenticated lucas@lucas-Inspiron-N5050:~$ sudo apt-get install git-core Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required:   libasprintf0c2:i386   libcroco3:i386   libgettextpo0:i386   libgomp1:i386   libunistring0:i386 Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   git git-man liberror-perl Suggested packages:   git-daemon-run git-daemon-sysvinit   git-doc git-el git-arch git-cvs git-svn   git-email git-gui gitk gitweb The following NEW packages will be installed:   git git-core   git-man liberror-perl  0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.  Need to get 6,825 kB of archives. After this operation, 15.3 MB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated!   liberror-perl git-man git git-core Install these packages without verification [y/N]? y Err httpq://py.archive.ubuntu.com/ubuntu/quantal/main liberror-perl all 0.17-1    Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname) Err httpq://py.archive.ubuntu.com/ubuntu/ quantal/main git-man all 1:1.7.10.4-1ubuntu1    Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname) Err httpq://py.archive.ubuntu.com/ubuntu/ quantal/main git amd64 1:1.7.10.4-1ubuntu1    Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname) Err httpq://py.archive.ubuntu.com/ubuntu/ quantal/main git-core all 1:1.7.10.4-1ubuntu1    Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname)  Failed to fetch httpq://py.archive.ubuntu.com/ubuntu/pool/main/libe/liberror-perl/liberrorperl_0.17-1_all.deb    Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname)  Failed to fetch httpq://py.archive.ubuntu.com/ubuntu/pool/main/g/gi/git-man_1.7.10.4-1ubuntu1_all.deb    Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname)  Failed to fetch httpq://py.archive.ubuntu.com/ubuntu/pool/main/g/git/git_1.7.10.4-1ubuntu1_amd64.deb    Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname)  Failed to fetch http://py.archive.ubuntu.com/ubuntu/pool/main/g/git/git-core_1.7.10.4-1ubuntu1_all.deb   Something wicked happened resolving 'py.archive.ubuntu.com:http' (-5 - No address associated with hostname) E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?   How could I install git on Ubuntu 12.10? I can't even do it from the Ubuntu Software Center.  Thanks in advance!
117322
First I typed  sudo gedit /etc/apt/sources.list   after that I got one sources list then I typed  deb http://cran.rstudio.com/bin/linux/debian wheezy-cran3/   then I get the error like this  No command 'deb' found, did you mean:  Command 'derb' from package 'icu-devtools' (main)  Command 'deb3' from package 'quilt' (main)  Command 'debc' from package 'devscripts' (main)  Command 'dwb' from package 'dwb' (universe)  Command 'xdeb' from package 'xdeb' (universe)  Command 'debi' from package 'devscripts' (main)  Command 'dab' from package 'bsdgames' (universe) deb: command not found   How should I proceed?
50319
I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me:  $ make html sphinx-build -b djangohtml -d _build/doctrees   . _build/html make: sphinx-build: Command not found make: *** [html] Error 127  $ sudo apt-get install sphinx E: Unable to locate package sphinx  $ sudo apt-get install sphinx-build E: Unable to locate package sphinx-build   googles  $ sudo apt-get install python-sphinx   Is there a better way?
121203
Each time I try to install SteamCMD via apt it responds with: Package steamcmd is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'steamcmd' has no installation candidate  I have a Raspberry Pi running Ubuntu 20.04.
86550
I have seen and used all of these commands to upgrade packages on my system, but why are there different commands for this? Do they all not do the same thing? And if not, then in which situations would it be better to use a specific one of them?  These are the commands I mean:   sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt full-upgrade   I have already looked at this, but it does not answer my question about the command sudo apt full-upgrade:
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?
83069
For example, I have git installed on my system. But I don't remember where I installed it, so which command is fit to find this out?
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.
54291
A basic question: Where do I find the command line?  There is a lot of information about commands and using the command line, but I'm an absolutely new Ubuntu user: I can't find find the command line.
31146
In Ubuntu one can add a repository via following command -   sudo add-apt-repository ppa:yannubuntu/boot-repair   As Ubuntu is based on Debian code base, I was expecting that the same would work in Debian too, but it doesn't.   What is the reason for this? Is there some other shell command I can use to achieve the same?   Note:  I know I can edit /etc/apt/sources.list, but I want to achieve this from the shell. I also want to know why the same command won't work when the code base is the same.
101085
I've recently installed Fedora 19.  is installed. But its own examples don't work. When I enter gedti the output is:  bash: gedti: command not found... Similar command is: 'gedit'   And it works correctly but when I enter powertop, the output is:  bash: powertop: command not found...   With no suggestion about the package. Why? Should I edit some configuration files or update some cache or ... ?
38144
Just for curiosity, sometimes while installing software throught apt-get install software_name the terminal prompt me for a confirmation "type Yes or No", but not allways.  I dont mean the sudo password prompt, but the message "Will be downloaded and configrated XXX Kb, continue?" (or something similar)  Why?
42880
I'm completely new to Bash, and I'm trying to make a simple script to automate Git pulling and pushing from a repo, but I can't get it to work.  Here is a pastebin of the code:   #!/bin/bash #Git Puller / Pusher for MobArenaBattles  echo "Please type whether you want to pull or push:"  read proc cd $HOME/Desktop/IdeaProjects/Plugins/MobArenaBattles  if ["$proc"="push"]; then   echo "Please type the commit message:"   read message   git status   git add -A   git commit -m $message   git push elif ["$proc"="pull"]; then   git status   git pull else   echo "Invalid choice! Exiting." fi   The error I get is:  ./MAB Git.sh: line 9: [push=push]: command not found ./MAB Git.sh: line 16: [push=pull]: command not found   I have tried using == and -eq but it comes up with the same error. Sorry if I'm being stupid, it's my first attempt.  Thanks in advance.
3409
I just upgraded to OS X Lion and now cannot initialize Git where it used to work fine:  $ git add .  -bash: git: command not found   I'm new to Git and to programming, so I'm sure it's a quick fix, any help is greatly appreciated.  Thanks guys!
47429
I’m running Ubuntu 14.04. When I run:   sudo add-apt-repository ppa:ubuntu-wine/ppa   I get the following error:  sudo: add-apt-repository: command not found   I tried to run  sudo apt-get install software-properties-common   but it shows:  software-properties-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.