Difference between revisions of "Arch Linux"
|Line 44:||Line 44:|
pacman -Sy yaourt
pacman -Sy yaourt
Revision as of 22:21, 14 May 2009
Installing and using fglrx drivers on Arch Linux should be a piece of cake, as the distro provides pre-built packages in its official repos, accessible through the pacman package manager.
The installation instructions I've taken straight from Arch's own wiki page, linked below in the External Resources section.
To install ATI's Catalyst drivers for the
kernel26 package, you need to install the
Before you start
Install the necessary programs
# pacman -S xorg hwd # hwd -xa # pacman -S xf86-input-evdev # pacman -S xf86-input-mouse # pacman -S xf86-input-keyboard # /etc/rc.d/hal start # pacman -Rd libgl
# yaourt -Sy catalyst catalyst-utils # aticonfig --initial
- These packages contain only the kernel module, and depend on the
catalyst-utilspackage is kernel-independent and provides the libraries and utilities for Xorg, including ATI's own
- After installing the package, you'll need to either
source /etc/profileor log out, then back in to set up the environment properly.
- If you run both
kernel26beyondthen install both catalyst module packages. They won't conflict with one another.
To install catalyst for a custom kernel, you'll need to build your own
catalyst-$kernel package, containing the kernel module compiled specifically for your kernel.
If you are at all uncomfortable or inexperienced making packages, read up Arch's ABS wiki page first so things go smoothly.
catalyst.install files from CVS or ABS. Either:
- Visit http://www.archlinux.org/packages.php?id=10416 and click "View CVS Entries" to find them, or
absas root and locate the files in
Editing the PKGBUILD and building
Three changes need to be made here:
where KERNEL_NAME is whatever you want (custom, mm, themostawesomekernelever)
kernel26 from the dependencies list.
(or directly insert the output of uname -r when running your custom kernel there)
Finally, build and install the package. (
makepkg -i or
makepkg followed by
pacman -A pkgname.pkg.tar.gz)
- No changes need to be made to the
catalyst-utilspackage, which is completely kernel-independent. All you need to do is compile a kernel module.
- To build and run the catalyst kernel module with 2.6.16 kernels, patches are needed! Check out the cvs entries for catalyst in testing for the required patch.
|Distribution Neutral Steps|