LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2017, 11:48 PM   #1
Sammy123
LQ Newbie
 
Registered: Jan 2017
Posts: 2

Rep: Reputation: Disabled
Recommended Compiling Tools


I need to compile some programs in linux mint 18 not available in the repos. Which essential tools are a minimum?
 
Old 01-30-2017, 12:21 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,141

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
you need to say - at least - the language. Or what do you think, how can we suggest to compile "something"?
In general you need to install the package buid-essential. but in your case I have no idea...
 
Old 01-30-2017, 12:22 AM   #3
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 623
Blog Entries: 1

Rep: Reputation: 49
The gcc and gcc-c++ compilers as well as any other compiler programs that come with Mint 18

The development packages for all of the libraries and programs that are required by the programs you are compiling.

Do you have a GUI package manager? That will help you enormously.

Beyond that, download the source for the programs you want to compile and try to compile it. If anything is missing, the compile process should tell you want is missing. You will then have to get the missing pieces and again try to compile your programs, and keep repeating this process until you can get your programs compiled.
 
Old 01-30-2017, 12:36 AM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,327

Rep: Reputation: 965Reputation: 965Reputation: 965Reputation: 965Reputation: 965Reputation: 965Reputation: 965Reputation: 965
Hi Sammy1243,

Welcome to LQ!

If you install the gcc package, it should drag everything else you need in with it.
 
Old 01-30-2017, 02:07 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19 MATE
Posts: 5,371
Blog Entries: 2

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
As others have said, you should already have the tools that you need, but if not then you will find out what's missing during the compilation process and any missing packages will be easily installed.

Which packages are we talking about?
 
Old 01-30-2017, 04:59 AM   #6
nodir
Member
 
Registered: May 2016
Posts: 137

Rep: Reputation: Disabled
apt-cache show build-essential
and in case you want to creat deb-packages
apt-cache show devscripts
apt-cache show debhelper

https://wiki.debian.org/Packaging/In...ebianPackaging
 
Old 01-30-2017, 07:59 AM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169Reputation: 3169
Quote:
Originally Posted by nodir View Post
apt-cache show build-essential
and in case you want to creat deb-packages
apt-cache show devscripts
apt-cache show debhelper

https://wiki.debian.org/Packaging/In...ebianPackaging
... and although this installs the "GCC Compiler Suite," I'm not sure that it installs every language compiler that the Suite includes. These will be found in separate packages, which you can also search for with "apt-cache show."

Install with, say, "apt-get install ..."

And there are other, unrelated, languages and compiler systems for Linux also.
 
Old 01-31-2017, 04:51 AM   #8
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 1,694

Rep: Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814
Quote:
Originally Posted by xode View Post
The gcc and gcc-c++ compilers as well as any other compiler programs that come with Mint 18

The development packages for all of the libraries and programs that are required by the programs you are compiling.

Do you have a GUI package manager? That will help you enormously.

Beyond that, download the source for the programs you want to compile and try to compile it. If anything is missing, the compile process should tell you want is missing. You will then have to get the missing pieces and again try to compile your programs, and keep repeating this process until you can get your programs compiled.
If it's Linux based software your talking about, the gcc compiler collection (as xode's has said) should be what you need. Best of luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing some compiling tools NEELIX_USR Linux - General 2 01-15-2009 08:33 AM
Problem compiling multipath-tools bipins1979 Linux - Software 1 02-24-2006 05:48 PM
Compiling Server Cluster Tools for RH wimnat Linux - Software 1 11-29-2005 09:29 AM
How do I install Compiling tools? SGFHK321 Linux - Newbie 7 07-10-2004 07:53 AM
Having Trouble compiling mii-tools LinuxRacr Linux - Software 1 06-07-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration