You are not logged in.

#1 2009-12-03 04:18:10

Odditus
Member
Registered: 2009-12-03
Posts: 2

noob wants to get gcc

hello, I would like to get GNU C Compiler for my Archlinux, but I didn't get a C compiler with my install (not that I can find anyways) and gcc will want me to build from source, which I obviously can't do.  thoughts?

Offline

#2 2009-12-03 04:21:19

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Re: noob wants to get gcc

sudo pacman -S gcc


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

#3 2009-12-03 04:33:41

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: noob wants to get gcc

or you can also install the base-devel group which will give you anything you need to build packages
# pacman -S base-devel

Offline

#4 2009-12-03 04:38:00

Odditus
Member
Registered: 2009-12-03
Posts: 2

Re: noob wants to get gcc

mjheagle8 wrote:

sudo pacman -S gcc

Ah thanks, I didn't see it in my list of packages.

That was really easy smile

Offline

#5 2009-12-03 04:38:19

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: noob wants to get gcc

and one further tip:

pacman -Ss gcc

will search for "gcc" in the repos.

Offline

#6 2009-12-03 07:03:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: noob wants to get gcc

And another tip:

man pacman

will tell you how to use pacman. smile

Offline

Board footer

Powered by FluxBB