How do I install this? (Solved, Thanks)

New to Debian (Or Linux in general)? Ask your questions here!

How do I install this? (Solved, Thanks)

Postby jppattison » 2018-02-07 15:35

So when I was installing Debian 9.3.0, there was a message/choice of installing
Code: Select all
ilwwifi-5000-(1 thru 5).ucode
, but not knowing that I should have had it ready, I was supposed to be able to install it later. I went to Debian packages, couldn't find it, found it is non-free, finally found a page in Debian packages that held the correct package to install. That package is
Code: Select all
firmware-iwlwifi_0.43_all.deb
. Since it is a .deb, how do I install it to the Debian OS? It shows up in Downloads, along with another .deb package, but I don't know how to find a readme page to say how it is to be installed.
TIA, jppattison
Last edited by jppattison on 2018-02-07 23:20, edited 1 time in total.
jppattison
 
Posts: 42
Joined: 2015-02-23 18:13

Re: How do I install this?

Postby arochester » 2018-02-07 17:22

In a Terminal, AS ROOT issue the command
Code: Select all
apt install firmware-iwliwifi


Then reboot.

Job done.
arochester
 
Posts: 1311
Joined: 2010-12-07 19:55

Re: How do I install this?

Postby jppattison » 2018-02-07 17:48

I've already tried that, but I'll try again
Code: Select all
# apt install firmware-iwliwifi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package firmware-iwliwifi

Oops, you put 1 too many i's in there
Code: Select all
# apt install firmware-iwlwifi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package firmware-iwlwifi 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 'firmware-iwlwifi' has no installation candidate

And this is what I got when I tried to install the package listed on the Debian page:
Code: Select all
# apt install firmware-iwlwifi_0.43_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package firmware-iwlwifi_0.43_all.deb
E: Couldn't find any package by glob 'firmware-iwlwifi_0.43_all.deb'
E: Couldn't find any package by regex 'firmware-iwlwifi_0.43_all.deb'
jppattison
 
Posts: 42
Joined: 2015-02-23 18:13

Re: How do I install this?

Postby debiman » 2018-02-07 17:58

output of
Code: Select all
sudo cat /etc/apt/sources.list /etc/apt/sources.list.d/*
please.

hint:
non-free should be somewhere in there.
Last edited by debiman on 2018-02-07 18:00, edited 1 time in total.
User avatar
debiman
 
Posts: 2799
Joined: 2013-03-12 07:18

Re: How do I install this?

Postby arochester » 2018-02-07 17:59

Have you edited your sources list to include the non-free component?

Look here: https://linuxpanda.wordpress.com/2016/1 ... n-stretch/

Scroll down to "Update The Source List"

Don't just follow the rest of the instructions blindly, you might get more problems than you bargained for!
arochester
 
Posts: 1311
Joined: 2010-12-07 19:55

Re: How do I install this?

Postby Head_on_a_Stick » 2018-02-07 19:12

jppattison wrote: That package is
Code: Select all
firmware-iwlwifi_0.43_all.deb
. Since it is a .deb, how do I install it to the Debian OS?

Either use:
Code: Select all
# dpkg -i firmware-iwlwifi_0.43_all.deb

Or right-click on the .deb in your file manager and open it with gdebi.
ESTRAGON: We always find something, eh, Didi, to give us the impression we exist?
VLADIMIR (impatiently): Yes, yes, we're magicians.
User avatar
Head_on_a_Stick
 
Posts: 7893
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How do I install this?

Postby GarryRicketson » 2018-02-07 19:45

+100 for H_O_A_S 's answer, that is the best one I see here.

by jppattison » It shows up in Downloads,

Assuming the OP has downloaded it.

On the sources.list and using "apt" to install, that is easier, but you do need to make sure your sources.list is correct, etc.

This might be use full to some body, including the OP,..
https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html
User avatar
GarryRicketson
 
Posts: 5043
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How do I install this?

Postby stevepusser » 2018-02-07 22:19

If you're going to use apt to install a local deb, you have to put ./ in front of the file name

Assuming your terminal is in the same folder as the deb
Code: Select all
# apt install ./firmware-iwlwifi_0.43_all.deb


instead of

Code: Select all
# apt install firmware-iwlwifi_0.43_all.deb


I have some code that I've already used to add a right-click menu action to Thunar and Dolphin to use apt to install any number of debs at a time instead of the laborious one-at-a-time-in-the-correct-order-only process needed by gdebi; this comes in handy when I backport and test programs that Debian cuts into loads of packages. I'm sure that the code can also be used to create right-click actions for other file managers, but would need some help with that if anyone wants that. I've also put the KDE action into a deb for MX Linux.

But "dpkg -i" works just fine for base firmware packages like iwlwifi. But it can then cause headaches if you try the same thing with a metapackage like firmware-linux-nonfree.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.1.0, wine-staging 3.16, qBittorrent 4.1.3, Linux kernel 4.18.8, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9906
Joined: 2009-10-06 05:53

Re: How do I install this?

Postby jppattison » 2018-02-07 23:19

Thanks all, after commenting out the CD1 and adding non-free as I was advised, it is now installed!
jppattison
 
Posts: 42
Joined: 2015-02-23 18:13


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable