Re: How to install compiler package.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

sales@xxxxxxxxxxxxxxxx wrote:
> Installed Fedora 26 on recommendation of a Scribus
> developer. Installed about 30 packages per his advice. 
> 
> But when I try to compile a program the machine can't find
> C++. So what is the package I need to install to compile
> C++ programs?. 

gcc-c++ is the package containing the c++ compiler.  You may
also want other accompanying tools.  For that, you can
install the c-development package group with:

    sudo dnf groupinstall c-development

If you're searching for a command, you can often find it
using the 'dnf provides' command:

    $ sudo dnf provides c++
    Last metadata expiration check: 0:01:51 ago on Mon 09 Apr 2018 12:53:41 PM EDT.
    gcc-c++-7.3.1-2.fc26.x86_64 : C++ support for GCC
    Repo        : @System
    Matched from:
    Filename    : /usr/bin/c++

    gcc-c++-7.3.1-2.fc26.x86_64 : C++ support for GCC
    Repo        : updates
    Matched from:
    Filename    : /usr/bin/c++

    gcc-c++-7.1.1-3.fc26.i686 : C++ support for GCC
    Repo        : fedora
    Matched from:
    Filename    : /usr/bin/c++

    gcc-c++-7.1.1-3.fc26.x86_64 : C++ support for GCC
    Repo        : fedora
    Matched from:
    Filename    : /usr/bin/c++

The 'dnf search' command is also handy.

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have to decide between two equally frightening options.  If I wanted
to do that, I'd vote.
    -- Duckman

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux