How to Install gcc 11 on Ubuntu 20.04

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

ความคิดเห็น • 8

  • @dfkluh
    @dfkluh 11 หลายเดือนก่อน

    sudo apt install -y gcc-11
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package gcc-11
    I use Hiveos wich is based on ubuntu 20.04, so I can't update to 22.04
    Any idea ? thank you

    • @lindevs
      @lindevs  10 หลายเดือนก่อน

      Installation instructions are provided for the Ubuntu LTS version, and you're using HiveOS, there might be compatibility issues or differences in package availability.

  • @ongkivideos
    @ongkivideos 2 ปีที่แล้ว

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package gcc-11

    • @lindevs
      @lindevs  2 ปีที่แล้ว

      What version of Ubuntu you are running? Try to run `sudo apt update` manually once you added the repository.

    • @ongkivideos
      @ongkivideos 2 ปีที่แล้ว

      @@lindevs I'm on ubuntu 20.10
      Already did that but still unable to locate package

    • @lindevs
      @lindevs  2 ปีที่แล้ว

      @@ongkivideos I tested and successfully installed gcc 11 on Ubuntu 20.04. Maybe repository don't provide package for Ubuntu 20.10. I recommend to upgrade to latest LTS version 22.04.

    • @dfkluh
      @dfkluh 11 หลายเดือนก่อน

      same for me on ubuntu 20.04

    • @lindevs
      @lindevs  10 หลายเดือนก่อน

      The post has been updated to explain the installation process for gcc-13 on Ubuntu 22.04. You can find the link in the video description.