Installing gcc on linux without c compiler

前端 未结 5 1707
轻奢々
轻奢々 2021-01-04 02:20

How can I install gcc on a system that have not any c compiler? this system is a linux base firewall and have not any c compiler.

5条回答
  •  长发绾君心
    2021-01-04 02:54

    If it's a debian based distribution, you can use

    sudo apt-get install gcc
    

    Note: maybe you must change "gcc" by a specific version of the debian package.

提交回复
热议问题