Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debian: deb command not found. How can i fix it? [closed]

Tags:

linux

debian

deb

I am trying to install graphics card Nvidia Geforce 660 on my desktop. Os: debian 8.

Here is the wiki which gives guidelines : https://wiki.debian.org/NvidiaGraphicsDrivers#jessie-304xx

But as soon as I am on the first step:

deb http://http.debian.net/debian/ jessie main contrib non-free

bash: deb: command not found

How can I install deb?

like image 636
Deepak Avatar asked Jun 15 '15 20:06

Deepak


People also ask

What is deb command in Debian?

deb is used to signify a collection of files managed by the Debian packages management system. So, deb is an abbreviation for Debian package, as opposed to source package. You can install a downloaded Debian package using dpkg in a terminal: dpkg -i *.

What is deb SRC?

Deb indicates that the archive contains binary packages (deb), the pre-compiled packages that we normally use. Deb-src indicates source packages, which are the original program sources plus the Debian control file (. dsc) and the diff. gz containing the changes needed for packaging the program.

What should be in etc APT sources list?

The /etc/apt/sources. list file looks like this: This file contains the list of default sources for installing software on your system.


1 Answers

The instruction is

Add "contrib" and "non-free" components to /etc/apt/sources.list, for example

I.e., you're supposed to add that line to the given file with a text editor. You are not supposed to execute it on a command line.

You can also install the software-properties-common package:

sudo apt-get install software-properties-common

Afterwhich you can run the command below:

sudo add-apt-repository "deb http://http.debian.net/debian/ jessie main contrib non-free"

You can confirm that the repository was added to the list of repositories using this command:

sudo nano /etc/apt/sources.list

That's all.

I hope this helps

like image 124
that other guy Avatar answered Sep 29 '22 09:09

that other guy