Originally posted by javadi82
i have the source of mysql. when i try to install it using the command: rpm -i mysql.src.rpm
i get an error like:cannot write to /usr/src/rpm/sources.
Which user were you logged as when you tried the command? If you were your normal user, use 'su' (as suggested above):
1. Open a terminal
2. Type 'su', press Enter. You'll be asked for root password, enter it.
3. Cd to the right directory and run 'rpm -i mysql.src.rpm'.