Hi John,
sales(a)wexfordpress.com 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