How to install compiler package.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to install compiler package.

sales-3
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?.

Another question. On Slackware (yes I am one of those) I can use kdm to get to a window function ( I preferXFCE).
How do I set up a window manager in Fedora and how do I access it?

All advice welcome and appreciaated.

John Culleton
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: How to install compiler package.

Todd Zullinger
Hi John,

[hidden email] 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


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]

signature.asc (555 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to install compiler package.

Rick Stevens-3
On 04/09/2018 09:57 AM, Todd Zullinger wrote:

> Hi John,
>
> [hidden email] 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.

And as to installing Xfce (also my preferred desktop):

        $ sudo dnf groupinstall "Xfce Desktop"

should get you there.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    [hidden email] -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                 Dyslexics of the world: UNTIE!                     -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]