Install on ubuntu tutorial

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

Post Reply
kid101skater
Posts: 26
Joined: Wed Jun 20, 2007 6:13 am

Install on ubuntu tutorial

Post by kid101skater »

I have made a tutorial on how to install the toolchain on ubuntu. it may work on other versions of linux but i tested on ubuntu. If i left out anything please let me know. Here is the tutorial:

If you do not have ubuntu then you can get it from

http://www.ubuntu.com/ Best linux distro in my opinion :)

First you need to install these lines of code in your terminal

Code: Select all

sudo apt-get install build-essential
sudo apt-get install subversion
sudo apt-get install texinfo
sudo apt-get install autoconf
sudo apt-get install automake
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install libgmp3-dev
sudo apt-get install libmpfr-dev
after you have installed those lines of code type in the folowing :

Code: Select all

sudo su
after you have done so you will now see something like

Code: Select all

example:
root@computer-name: 
Go to the directory where the toolchain is and type in

Code: Select all

./toolchain-sudo.sh
took me a total of 41 minutes on a amd 64x dual core 3800+

and then you will see it building the toolchain
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

this is nothing new many here use ubuntu with no problems

also you should not use sudo su it is pointless
all you must do is sudo ./toolchain-sudo.sh
and not that ubuntus libbzip doesnot work so well
in unpacking so you should use bz2 also apt-get is old
do prefer to use aptitude as it allows you to do sudo aptitude search <whatever>
10011011 00101010 11010111 10001001 10111010
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Well, 'apt-cache search <whatever>' works too...

But yeah, toolchain-sudo.sh was made so ubuntu folk can just run it with sudo.
kid101skater
Posts: 26
Joined: Wed Jun 20, 2007 6:13 am

Post by kid101skater »

ahh ok... still tryin to figure out how to compile on ubuntu... lol... but just was tryin to help out ppl cause i know ppl get confused as did i
JuSho
Posts: 4
Joined: Thu Dec 06, 2007 1:04 am
Location: Scottsdale, AZ

Post by JuSho »

kid101skater wrote:ahh ok... still tryin to figure out how to compile on ubuntu... lol... but just was tryin to help out ppl cause i know ppl get confused as did i
I think its helpful. Even if very basic, at least a rookie like me now knows that it works and it contains some hints.
Post Reply