How do I install/update drivers on Debian 9?












2















I just installed Debian 9 on my laptop, however Wifi isn't working and I'm not sure if my graphic card is either. I'm sure that it's just a lack of drivers, but I've never actually had to update drivers on Linux before. So how do I do that?










share|improve this question























  • What hardware do you have? Unless you need/want proprietary drivers (Nvidia) or need to use ndiswrapper (some network cards, especially wireless) then things should Just Work

    – ivanivan
    Jan 30 '18 at 13:58











  • Have you tried to google the model and brand of your computer?

    – Rui F Ribeiro
    Jan 30 '18 at 14:08
















2















I just installed Debian 9 on my laptop, however Wifi isn't working and I'm not sure if my graphic card is either. I'm sure that it's just a lack of drivers, but I've never actually had to update drivers on Linux before. So how do I do that?










share|improve this question























  • What hardware do you have? Unless you need/want proprietary drivers (Nvidia) or need to use ndiswrapper (some network cards, especially wireless) then things should Just Work

    – ivanivan
    Jan 30 '18 at 13:58











  • Have you tried to google the model and brand of your computer?

    – Rui F Ribeiro
    Jan 30 '18 at 14:08














2












2








2








I just installed Debian 9 on my laptop, however Wifi isn't working and I'm not sure if my graphic card is either. I'm sure that it's just a lack of drivers, but I've never actually had to update drivers on Linux before. So how do I do that?










share|improve this question














I just installed Debian 9 on my laptop, however Wifi isn't working and I'm not sure if my graphic card is either. I'm sure that it's just a lack of drivers, but I've never actually had to update drivers on Linux before. So how do I do that?







linux debian drivers






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 30 '18 at 13:57









BasilBasil

1612




1612













  • What hardware do you have? Unless you need/want proprietary drivers (Nvidia) or need to use ndiswrapper (some network cards, especially wireless) then things should Just Work

    – ivanivan
    Jan 30 '18 at 13:58











  • Have you tried to google the model and brand of your computer?

    – Rui F Ribeiro
    Jan 30 '18 at 14:08



















  • What hardware do you have? Unless you need/want proprietary drivers (Nvidia) or need to use ndiswrapper (some network cards, especially wireless) then things should Just Work

    – ivanivan
    Jan 30 '18 at 13:58











  • Have you tried to google the model and brand of your computer?

    – Rui F Ribeiro
    Jan 30 '18 at 14:08

















What hardware do you have? Unless you need/want proprietary drivers (Nvidia) or need to use ndiswrapper (some network cards, especially wireless) then things should Just Work

– ivanivan
Jan 30 '18 at 13:58





What hardware do you have? Unless you need/want proprietary drivers (Nvidia) or need to use ndiswrapper (some network cards, especially wireless) then things should Just Work

– ivanivan
Jan 30 '18 at 13:58













Have you tried to google the model and brand of your computer?

– Rui F Ribeiro
Jan 30 '18 at 14:08





Have you tried to google the model and brand of your computer?

– Rui F Ribeiro
Jan 30 '18 at 14:08










3 Answers
3






active

oldest

votes


















1














In Debian, if you run into issues with wi-fi or graphics support, there are usually two things to check.



The first is the kernel, especially for graphics. You can usually get a newer kernel by looking at backports; currently, the Debian 9 kernel is 4.9.65, but 4.14.13 is available as a backport with better support for newer graphics adapters. This is particularly true for Intel GPUs. To install a kernel from backports, proceed as follows:





  1. Add the backports repository:



    echo deb http://http.debian.net/debian stretch-backports main contrib non-free > /etc/apt/sources.list.d/stretch-backports.list


    (Yes, we’re adding contrib and non-free, they’ll come in handy later...)




  2. Install the backported kernel:



    apt update
    apt -t stretch-backports install linux-image-amd64


    This won’t replace your current kernel, so you can always boot that instead if things go wrong.




The second is firmware. Most GPUs, and many wi-fi adapters, need firmware, which might not be installed by default (because source code is generally not available, so it’s not made available as part of Debian, but instead in the non-free repositories). To install the available firmware, from backports too (might as well):



apt install -t stretch-backports firmware-linux


In both cases, reboot to pick up the new or improved hardware support...






share|improve this answer































    0














    Open up a terminal and try



    lspci -kv | less


    Here you can look at all your PCI devices. I notice in my output these two devices:



    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV670 [Radeon HD 3870] (prog-if 00 [VGA controller])
    Subsystem: Dell RV670 [Radeon HD 3870]
    Flags: bus master, fast devsel, latency 0, IRQ 27
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
    I/O ports at dc00 [size=256]
    Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    *Kernel driver in use: radeon*
    *Kernel modules: radeon*

    04:05.0 Network controller: Ralink corp. RT2800 802.11n PCI
    Subsystem: Edimax Computer Co. RT2800 802.11n PCI
    Flags: bus master, slow devsel, latency 64, IRQ 17
    Memory at fe7f0000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    *Kernel driver in use: rt2800pci*
    *Kernel modules: rt2800pci*


    Take note of what the name of the device is, e.g. Radeon HD3870. See that I have appropriate drivers/modules listed (asterisks around them are mine) - what have you got?



    Debian favour free software over guaranteed full function out of the box. If your wifi is not working, connect over ethernet and fix your problems first. Good luck!






    share|improve this answer































      0














      Recently issued the same problem and after four days of research:



      First things first:



      Reconfigure sources.list:




      su
      rm /etc/apt/sources.list
      editor /etc/apt/sources.list


      then add (contrib + non-free):




      deb http://deb.debian.org/debian stretch main contrib non-free
      deb-src http://deb.debian.org/debian stretch main contrib non-free

      deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
      deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

      deb http://deb.debian.org/debian stretch-updates main contrib non-free
      deb-src http://deb.debian.org/debian stretch-updates main contrib non-free


      Configure Sudo



      Login as root and install sudo




      su
      apt-get install sudo


      Now add your subuser to sudo users and use that user from now on.



      adduser $USER sudo  


      Update



      sudo apt-get update && sudo apt-get dist-upgrade -y  




      Examine, other possible firmwares missing:



      sudo update-initramfs -u


      Identify the Packages:



      apt-cache search firmware.bin


      or



      apt-file search firmware.bin


      Search for Graphic Adapters:



      lspci -nn | grep VGA  


      or



      spci -nn | grep '[03'  


      or



      https://kmuto.jp/debian/hcl/index.rhtmlx



      Install microcode



      for Intel CPU, sudo apt install intel-microcode
      (for Intel i686 and Intel X86-64 processors)



      for AMD64 sudo apt install amd64-microcode(necessary to install with graphics AMD only)



      Install AMD Graphics in Debian 9.7



      sudo apt install firmware-amd-graphics


      or



      apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati  


      Reboot



      sudo reboot  


      Enjoy!






      share|improve this answer























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "106"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f420678%2fhow-do-i-install-update-drivers-on-debian-9%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        In Debian, if you run into issues with wi-fi or graphics support, there are usually two things to check.



        The first is the kernel, especially for graphics. You can usually get a newer kernel by looking at backports; currently, the Debian 9 kernel is 4.9.65, but 4.14.13 is available as a backport with better support for newer graphics adapters. This is particularly true for Intel GPUs. To install a kernel from backports, proceed as follows:





        1. Add the backports repository:



          echo deb http://http.debian.net/debian stretch-backports main contrib non-free > /etc/apt/sources.list.d/stretch-backports.list


          (Yes, we’re adding contrib and non-free, they’ll come in handy later...)




        2. Install the backported kernel:



          apt update
          apt -t stretch-backports install linux-image-amd64


          This won’t replace your current kernel, so you can always boot that instead if things go wrong.




        The second is firmware. Most GPUs, and many wi-fi adapters, need firmware, which might not be installed by default (because source code is generally not available, so it’s not made available as part of Debian, but instead in the non-free repositories). To install the available firmware, from backports too (might as well):



        apt install -t stretch-backports firmware-linux


        In both cases, reboot to pick up the new or improved hardware support...






        share|improve this answer




























          1














          In Debian, if you run into issues with wi-fi or graphics support, there are usually two things to check.



          The first is the kernel, especially for graphics. You can usually get a newer kernel by looking at backports; currently, the Debian 9 kernel is 4.9.65, but 4.14.13 is available as a backport with better support for newer graphics adapters. This is particularly true for Intel GPUs. To install a kernel from backports, proceed as follows:





          1. Add the backports repository:



            echo deb http://http.debian.net/debian stretch-backports main contrib non-free > /etc/apt/sources.list.d/stretch-backports.list


            (Yes, we’re adding contrib and non-free, they’ll come in handy later...)




          2. Install the backported kernel:



            apt update
            apt -t stretch-backports install linux-image-amd64


            This won’t replace your current kernel, so you can always boot that instead if things go wrong.




          The second is firmware. Most GPUs, and many wi-fi adapters, need firmware, which might not be installed by default (because source code is generally not available, so it’s not made available as part of Debian, but instead in the non-free repositories). To install the available firmware, from backports too (might as well):



          apt install -t stretch-backports firmware-linux


          In both cases, reboot to pick up the new or improved hardware support...






          share|improve this answer


























            1












            1








            1







            In Debian, if you run into issues with wi-fi or graphics support, there are usually two things to check.



            The first is the kernel, especially for graphics. You can usually get a newer kernel by looking at backports; currently, the Debian 9 kernel is 4.9.65, but 4.14.13 is available as a backport with better support for newer graphics adapters. This is particularly true for Intel GPUs. To install a kernel from backports, proceed as follows:





            1. Add the backports repository:



              echo deb http://http.debian.net/debian stretch-backports main contrib non-free > /etc/apt/sources.list.d/stretch-backports.list


              (Yes, we’re adding contrib and non-free, they’ll come in handy later...)




            2. Install the backported kernel:



              apt update
              apt -t stretch-backports install linux-image-amd64


              This won’t replace your current kernel, so you can always boot that instead if things go wrong.




            The second is firmware. Most GPUs, and many wi-fi adapters, need firmware, which might not be installed by default (because source code is generally not available, so it’s not made available as part of Debian, but instead in the non-free repositories). To install the available firmware, from backports too (might as well):



            apt install -t stretch-backports firmware-linux


            In both cases, reboot to pick up the new or improved hardware support...






            share|improve this answer













            In Debian, if you run into issues with wi-fi or graphics support, there are usually two things to check.



            The first is the kernel, especially for graphics. You can usually get a newer kernel by looking at backports; currently, the Debian 9 kernel is 4.9.65, but 4.14.13 is available as a backport with better support for newer graphics adapters. This is particularly true for Intel GPUs. To install a kernel from backports, proceed as follows:





            1. Add the backports repository:



              echo deb http://http.debian.net/debian stretch-backports main contrib non-free > /etc/apt/sources.list.d/stretch-backports.list


              (Yes, we’re adding contrib and non-free, they’ll come in handy later...)




            2. Install the backported kernel:



              apt update
              apt -t stretch-backports install linux-image-amd64


              This won’t replace your current kernel, so you can always boot that instead if things go wrong.




            The second is firmware. Most GPUs, and many wi-fi adapters, need firmware, which might not be installed by default (because source code is generally not available, so it’s not made available as part of Debian, but instead in the non-free repositories). To install the available firmware, from backports too (might as well):



            apt install -t stretch-backports firmware-linux


            In both cases, reboot to pick up the new or improved hardware support...







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 30 '18 at 14:15









            Stephen KittStephen Kitt

            172k24386464




            172k24386464

























                0














                Open up a terminal and try



                lspci -kv | less


                Here you can look at all your PCI devices. I notice in my output these two devices:



                01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV670 [Radeon HD 3870] (prog-if 00 [VGA controller])
                Subsystem: Dell RV670 [Radeon HD 3870]
                Flags: bus master, fast devsel, latency 0, IRQ 27
                Memory at d0000000 (64-bit, prefetchable) [size=256M]
                Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
                I/O ports at dc00 [size=256]
                Expansion ROM at 000c0000 [disabled] [size=128K]
                Capabilities: <access denied>
                *Kernel driver in use: radeon*
                *Kernel modules: radeon*

                04:05.0 Network controller: Ralink corp. RT2800 802.11n PCI
                Subsystem: Edimax Computer Co. RT2800 802.11n PCI
                Flags: bus master, slow devsel, latency 64, IRQ 17
                Memory at fe7f0000 (32-bit, non-prefetchable) [size=64K]
                Capabilities: <access denied>
                *Kernel driver in use: rt2800pci*
                *Kernel modules: rt2800pci*


                Take note of what the name of the device is, e.g. Radeon HD3870. See that I have appropriate drivers/modules listed (asterisks around them are mine) - what have you got?



                Debian favour free software over guaranteed full function out of the box. If your wifi is not working, connect over ethernet and fix your problems first. Good luck!






                share|improve this answer




























                  0














                  Open up a terminal and try



                  lspci -kv | less


                  Here you can look at all your PCI devices. I notice in my output these two devices:



                  01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV670 [Radeon HD 3870] (prog-if 00 [VGA controller])
                  Subsystem: Dell RV670 [Radeon HD 3870]
                  Flags: bus master, fast devsel, latency 0, IRQ 27
                  Memory at d0000000 (64-bit, prefetchable) [size=256M]
                  Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
                  I/O ports at dc00 [size=256]
                  Expansion ROM at 000c0000 [disabled] [size=128K]
                  Capabilities: <access denied>
                  *Kernel driver in use: radeon*
                  *Kernel modules: radeon*

                  04:05.0 Network controller: Ralink corp. RT2800 802.11n PCI
                  Subsystem: Edimax Computer Co. RT2800 802.11n PCI
                  Flags: bus master, slow devsel, latency 64, IRQ 17
                  Memory at fe7f0000 (32-bit, non-prefetchable) [size=64K]
                  Capabilities: <access denied>
                  *Kernel driver in use: rt2800pci*
                  *Kernel modules: rt2800pci*


                  Take note of what the name of the device is, e.g. Radeon HD3870. See that I have appropriate drivers/modules listed (asterisks around them are mine) - what have you got?



                  Debian favour free software over guaranteed full function out of the box. If your wifi is not working, connect over ethernet and fix your problems first. Good luck!






                  share|improve this answer


























                    0












                    0








                    0







                    Open up a terminal and try



                    lspci -kv | less


                    Here you can look at all your PCI devices. I notice in my output these two devices:



                    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV670 [Radeon HD 3870] (prog-if 00 [VGA controller])
                    Subsystem: Dell RV670 [Radeon HD 3870]
                    Flags: bus master, fast devsel, latency 0, IRQ 27
                    Memory at d0000000 (64-bit, prefetchable) [size=256M]
                    Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
                    I/O ports at dc00 [size=256]
                    Expansion ROM at 000c0000 [disabled] [size=128K]
                    Capabilities: <access denied>
                    *Kernel driver in use: radeon*
                    *Kernel modules: radeon*

                    04:05.0 Network controller: Ralink corp. RT2800 802.11n PCI
                    Subsystem: Edimax Computer Co. RT2800 802.11n PCI
                    Flags: bus master, slow devsel, latency 64, IRQ 17
                    Memory at fe7f0000 (32-bit, non-prefetchable) [size=64K]
                    Capabilities: <access denied>
                    *Kernel driver in use: rt2800pci*
                    *Kernel modules: rt2800pci*


                    Take note of what the name of the device is, e.g. Radeon HD3870. See that I have appropriate drivers/modules listed (asterisks around them are mine) - what have you got?



                    Debian favour free software over guaranteed full function out of the box. If your wifi is not working, connect over ethernet and fix your problems first. Good luck!






                    share|improve this answer













                    Open up a terminal and try



                    lspci -kv | less


                    Here you can look at all your PCI devices. I notice in my output these two devices:



                    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV670 [Radeon HD 3870] (prog-if 00 [VGA controller])
                    Subsystem: Dell RV670 [Radeon HD 3870]
                    Flags: bus master, fast devsel, latency 0, IRQ 27
                    Memory at d0000000 (64-bit, prefetchable) [size=256M]
                    Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
                    I/O ports at dc00 [size=256]
                    Expansion ROM at 000c0000 [disabled] [size=128K]
                    Capabilities: <access denied>
                    *Kernel driver in use: radeon*
                    *Kernel modules: radeon*

                    04:05.0 Network controller: Ralink corp. RT2800 802.11n PCI
                    Subsystem: Edimax Computer Co. RT2800 802.11n PCI
                    Flags: bus master, slow devsel, latency 64, IRQ 17
                    Memory at fe7f0000 (32-bit, non-prefetchable) [size=64K]
                    Capabilities: <access denied>
                    *Kernel driver in use: rt2800pci*
                    *Kernel modules: rt2800pci*


                    Take note of what the name of the device is, e.g. Radeon HD3870. See that I have appropriate drivers/modules listed (asterisks around them are mine) - what have you got?



                    Debian favour free software over guaranteed full function out of the box. If your wifi is not working, connect over ethernet and fix your problems first. Good luck!







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jan 30 '18 at 14:24









                    CupánTaeCupánTae

                    11




                    11























                        0














                        Recently issued the same problem and after four days of research:



                        First things first:



                        Reconfigure sources.list:




                        su
                        rm /etc/apt/sources.list
                        editor /etc/apt/sources.list


                        then add (contrib + non-free):




                        deb http://deb.debian.org/debian stretch main contrib non-free
                        deb-src http://deb.debian.org/debian stretch main contrib non-free

                        deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
                        deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

                        deb http://deb.debian.org/debian stretch-updates main contrib non-free
                        deb-src http://deb.debian.org/debian stretch-updates main contrib non-free


                        Configure Sudo



                        Login as root and install sudo




                        su
                        apt-get install sudo


                        Now add your subuser to sudo users and use that user from now on.



                        adduser $USER sudo  


                        Update



                        sudo apt-get update && sudo apt-get dist-upgrade -y  




                        Examine, other possible firmwares missing:



                        sudo update-initramfs -u


                        Identify the Packages:



                        apt-cache search firmware.bin


                        or



                        apt-file search firmware.bin


                        Search for Graphic Adapters:



                        lspci -nn | grep VGA  


                        or



                        spci -nn | grep '[03'  


                        or



                        https://kmuto.jp/debian/hcl/index.rhtmlx



                        Install microcode



                        for Intel CPU, sudo apt install intel-microcode
                        (for Intel i686 and Intel X86-64 processors)



                        for AMD64 sudo apt install amd64-microcode(necessary to install with graphics AMD only)



                        Install AMD Graphics in Debian 9.7



                        sudo apt install firmware-amd-graphics


                        or



                        apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati  


                        Reboot



                        sudo reboot  


                        Enjoy!






                        share|improve this answer




























                          0














                          Recently issued the same problem and after four days of research:



                          First things first:



                          Reconfigure sources.list:




                          su
                          rm /etc/apt/sources.list
                          editor /etc/apt/sources.list


                          then add (contrib + non-free):




                          deb http://deb.debian.org/debian stretch main contrib non-free
                          deb-src http://deb.debian.org/debian stretch main contrib non-free

                          deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
                          deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

                          deb http://deb.debian.org/debian stretch-updates main contrib non-free
                          deb-src http://deb.debian.org/debian stretch-updates main contrib non-free


                          Configure Sudo



                          Login as root and install sudo




                          su
                          apt-get install sudo


                          Now add your subuser to sudo users and use that user from now on.



                          adduser $USER sudo  


                          Update



                          sudo apt-get update && sudo apt-get dist-upgrade -y  




                          Examine, other possible firmwares missing:



                          sudo update-initramfs -u


                          Identify the Packages:



                          apt-cache search firmware.bin


                          or



                          apt-file search firmware.bin


                          Search for Graphic Adapters:



                          lspci -nn | grep VGA  


                          or



                          spci -nn | grep '[03'  


                          or



                          https://kmuto.jp/debian/hcl/index.rhtmlx



                          Install microcode



                          for Intel CPU, sudo apt install intel-microcode
                          (for Intel i686 and Intel X86-64 processors)



                          for AMD64 sudo apt install amd64-microcode(necessary to install with graphics AMD only)



                          Install AMD Graphics in Debian 9.7



                          sudo apt install firmware-amd-graphics


                          or



                          apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati  


                          Reboot



                          sudo reboot  


                          Enjoy!






                          share|improve this answer


























                            0












                            0








                            0







                            Recently issued the same problem and after four days of research:



                            First things first:



                            Reconfigure sources.list:




                            su
                            rm /etc/apt/sources.list
                            editor /etc/apt/sources.list


                            then add (contrib + non-free):




                            deb http://deb.debian.org/debian stretch main contrib non-free
                            deb-src http://deb.debian.org/debian stretch main contrib non-free

                            deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
                            deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

                            deb http://deb.debian.org/debian stretch-updates main contrib non-free
                            deb-src http://deb.debian.org/debian stretch-updates main contrib non-free


                            Configure Sudo



                            Login as root and install sudo




                            su
                            apt-get install sudo


                            Now add your subuser to sudo users and use that user from now on.



                            adduser $USER sudo  


                            Update



                            sudo apt-get update && sudo apt-get dist-upgrade -y  




                            Examine, other possible firmwares missing:



                            sudo update-initramfs -u


                            Identify the Packages:



                            apt-cache search firmware.bin


                            or



                            apt-file search firmware.bin


                            Search for Graphic Adapters:



                            lspci -nn | grep VGA  


                            or



                            spci -nn | grep '[03'  


                            or



                            https://kmuto.jp/debian/hcl/index.rhtmlx



                            Install microcode



                            for Intel CPU, sudo apt install intel-microcode
                            (for Intel i686 and Intel X86-64 processors)



                            for AMD64 sudo apt install amd64-microcode(necessary to install with graphics AMD only)



                            Install AMD Graphics in Debian 9.7



                            sudo apt install firmware-amd-graphics


                            or



                            apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati  


                            Reboot



                            sudo reboot  


                            Enjoy!






                            share|improve this answer













                            Recently issued the same problem and after four days of research:



                            First things first:



                            Reconfigure sources.list:




                            su
                            rm /etc/apt/sources.list
                            editor /etc/apt/sources.list


                            then add (contrib + non-free):




                            deb http://deb.debian.org/debian stretch main contrib non-free
                            deb-src http://deb.debian.org/debian stretch main contrib non-free

                            deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
                            deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

                            deb http://deb.debian.org/debian stretch-updates main contrib non-free
                            deb-src http://deb.debian.org/debian stretch-updates main contrib non-free


                            Configure Sudo



                            Login as root and install sudo




                            su
                            apt-get install sudo


                            Now add your subuser to sudo users and use that user from now on.



                            adduser $USER sudo  


                            Update



                            sudo apt-get update && sudo apt-get dist-upgrade -y  




                            Examine, other possible firmwares missing:



                            sudo update-initramfs -u


                            Identify the Packages:



                            apt-cache search firmware.bin


                            or



                            apt-file search firmware.bin


                            Search for Graphic Adapters:



                            lspci -nn | grep VGA  


                            or



                            spci -nn | grep '[03'  


                            or



                            https://kmuto.jp/debian/hcl/index.rhtmlx



                            Install microcode



                            for Intel CPU, sudo apt install intel-microcode
                            (for Intel i686 and Intel X86-64 processors)



                            for AMD64 sudo apt install amd64-microcode(necessary to install with graphics AMD only)



                            Install AMD Graphics in Debian 9.7



                            sudo apt install firmware-amd-graphics


                            or



                            apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati  


                            Reboot



                            sudo reboot  


                            Enjoy!







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 11 mins ago









                            Tyþë-ØTyþë-Ø

                            667




                            667






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f420678%2fhow-do-i-install-update-drivers-on-debian-9%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Entries order in /etc/network/interfaces

                                新発田市

                                Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)