Debian: Deb Command Not Found. How Can I Fix It? [Closed]

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

Here is the wiki which gives guidelines :

But as soon as I am on the first step:

deb  jessie main contrib non-free

bash: deb: command not found

How can I install deb?

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  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

2
Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest