top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to install compiler package on Fedora 26?

0 votes

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?

posted Apr 9, 2018 by Sidharth

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

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.

answer Apr 9, 2018 by Seema Siddique
Similar Questions
+1 vote

In order to do an OS install, you need to have an external media to start the install process. This media provides a "base"/small system that you can then use to do a larger netinstall, or a larger update process to get the drive/system setup the way you want. All of the larger system install data/packages/etc can come from the http/net install process.

In most (all) cases I've seen, the process is then to take/remove the CD from the system, followed by a restart, where the system OS on the drive then gets invoked.

So this process requires some manual interaction.

Here's my question:
Is there a way to do the same basic process, except to always leave the CD in, and to then be able to "switch" the system, so it "knows" which media to install from.

If this can be done, one can setup a system with a basic cd that will, when run, create/start the basic OS install, but then not be used any other time... This could allow for an auto/programatic approach to be able to do a remote/auto OS install.

Is there any other way that this might be accomplished?

0 votes

I somehow deleted /tmp when I was deleting files from /tmp to make room. Now I get errors when I boot and try to login

There is a problem with the configuration server.
(/usr/libexec/gconf-sanity-check-2 exited with status 256)

When I close that, I get:

Install problem!
The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator.

One time I saw the login options - when I logged in I only saw a black screen. Other than doing an install, is there a way to recover the files in /tmp?

+3 votes

Is it possible to install Fedora on a Chromebook and completely REMOVE the ChromeOS? if everything I've seen so far says "dual-boot" but nothing seems to give you instructions as to how it can be
completely removed from the system.

+3 votes

What would be the best way to install mock on my Centos server? yum install mock does not recognize the
package. Have already installed 'Developer tools' using yum groupinstall.

0 votes

How does one get a clean installation of Fedora? "Clean" means that only those packages are installed that are actually needed and only those services are running that are actually needed.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.