Ubuntu Precise Installation Guide: Difference between revisions

From cchtml.com
Line 7: Line 7:


Install the prerequisite packages:
Install the prerequisite packages:
  sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic xserver-xorg-core libgcc1 libc6-i386 lib32gcc1
  sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic xserver-xorg-core libgcc1


''If you are using the x86_64 architecture (64 bit)'':
''If you are using the x86_64 architecture (64 bit)'':
1. Install "ia32-libs" before proceeding!''
1. Install "ia32-libs" before proceeding!''
  sudo apt-get install ia32-libs
  sudo apt-get install ia32-libs lib32gcc1 libc6-i386
2. Create a symlink from /usr/lib64 to /usr/lib<ref>[http://ubuntucomputing.blogspot.com/2012/01/amd-catalyst-121-driver-on-hp-pavilion.html AMD Catalyst 12.1 Driver on HP Pavilion dv6t Quad Hybrid Radeon with Linux Mint 12 / Ubuntu 11.10 Oneiric - Ubuntu Computing]</ref> :
2. Create a symlink from /usr/lib64 to /usr/lib<ref>[http://ubuntucomputing.blogspot.com/2012/01/amd-catalyst-121-driver-on-hp-pavilion.html AMD Catalyst 12.1 Driver on HP Pavilion dv6t Quad Hybrid Radeon with Linux Mint 12 / Ubuntu 11.10 Oneiric - Ubuntu Computing]</ref> :
  cd /usr ; sudo ln -svT lib /usr/lib64
  cd /usr ; sudo ln -svT lib /usr/lib64

Revision as of 13:08, 12 April 2012

Installing Catalyst Manually (from AMD/ATI's site)

I recommend copying and pasting the commands to ensure there are no typing mistakes and speed up the install process. Remember to use Ctrl + Shift + V or Shift + Insert to paste into the terminal (or go to the terminals menu, select edit and click paste).

Before you start

If you have previously attempted installing Catalyst, remove any leftover files by following the Removing the Driver section. Make sure universe and multiverse are enabled in your repository sources (System -> Administration -> Software Sources). or Applications->Ubuntu Software Center->Edit->Software sources->Other software: check canonical partners.

Install the prerequisite packages:

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic xserver-xorg-core libgcc1  

If you are using the x86_64 architecture (64 bit): 1. Install "ia32-libs" before proceeding!

sudo apt-get install ia32-libs lib32gcc1 libc6-i386

2. Create a symlink from /usr/lib64 to /usr/lib[1] :

cd /usr ; sudo ln -svT lib /usr/lib64

Download the latest Catalyst package.

This package contains both the 32-bit and 64-bit driver.

cd ~/; mkdir catalyst15.12; cd catalyst15.12/
wget http://www2.ati.com/drivers/linux/amd-driver-installer-15-12-x86.x86_64.run
chmod +x amd-driver-installer-15-12-x86.x86_64.run

Create .deb packages.

sudo sh ./amd-driver-installer-15-12-x86.x86_64.run --buildpkg Ubuntu/precise

It may take a while...

Install .debs.

sudo dpkg -i fglrx*.deb