You are not logged in.
There is anyway to install gcc 4.5.1 using pacman? It have lots of (unstable?) dependencies and it's time consuming to install them one by one.
Sorry if that question have be asked many times, but I can't find any solutions other than download them manually.
Last edited by CheatCat (2010-09-18 12:59:33)
Offline
Offline
pacman -S gcc !!!
Wtf is pacman? oO
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
That gives the 4.5.0-1 version, I need the 4.5.1 one. Maybe I missed something obvious, like include include an unstable repository or something. Cannot find any mirrors for that trough.
Last edited by CheatCat (2010-09-18 11:57:23)
Offline
└─> pacman -Si gcc
Repository : core
Name : gcc
Version : 4.5.1-1
URL : http://gcc.gnu.org
Licenses : GPL LGPL custom
Groups : base-devel
Provides : None
Depends On : binutils>=2.20.1 libmpc>=0.8.1-2 cloog-ppl>=0.15.9-2 elfutils
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 16481.65 K
Installed Size : 63604.00 K
Packager : Allan McRae <allan@ilovedropbears.org>
Architecture : x86_64
Build Date : Wed 11 Aug 2010 02:46:59 PM CEST
MD5 Sum : 62089d2da9c42ffa6a3ef5f1b0524ea2
Description : The GNU Compiler Collection
Try "pacman -Syu gcc" (or "-Syyu" to force a database update). If your mirror really doesn't have the latest version (which is over a month old), use a different mirror.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
-Sc your forum cache and you will find this thread is now part of the group "Newbie Corner".
ᶘ ᵒᴥᵒᶅ
Offline
Try "pacman -Syu gcc"
Do not refresh the package list when installing packages (i.e. pacman -Sy package_name); this can lead to dependency issues.[1] Upgrade explicitly first; before installing new packages.
Last time I did that the whole system crashed...
Last edited by CheatCat (2010-09-18 12:44:39)
Offline
sudo pacman -Syy to update your local database
sudo pacman -S gcc to then install the new gcc
this will not affect other packages, only gcc and the required dependencies
things may always break when updating, welcome to linux.
Last edited by stefanwilkens (2010-09-18 12:47:20)
Arch i686 on Phenom X4 | GTX760
Offline
Read again:
pacman -Syu gcc
The "u" forces the upgrade and then installs gcc (if needed).
You may need to change to a more up to date mirror.
Offline
Thank you, it must be added newly then, my mirror was synced today.
Offline
Yeah... gcc-4.5.1 is over a month old...
Offline