It is a little-known fact that ripping CDs is perfectly legal for private use in Canada.
PART VIII: PRIVATE COPYING
Copying for Private Use
Where no infringement of copyright
80. (1) Subject to subsection (2), the act of reproducing all or any substantial part of
(a) a musical work embodied in a sound recording,
(b) a performer’s performance of a musical work embodied in a sound recording, or
(c) a sound recording in which a musical work, or a performer’s performance of a musical work, is embodied
onto an audio recording medium for the private use of the person who makes the copy does not constitute an infringement of the copyright in the musical work, the performer’s performance or the sound recording.
(2) Subsection (1) does not apply if the act described in that subsection is done for the purpose of doing any of the following in relation to any of the things referred to in paragraphs (1)(a) to (c):
(a) selling or renting out, or by way of trade exposing or offering for sale or rental;
(b) distributing, whether or not for the purpose of trade;
(c) communicating to the public by telecommunication; or
(d) performing, or causing to be performed, in public.
1997, c. 24, s. 50.
And this is what the law has to say about computer programs:
PART III: INFRINGEMENT OF COPYRIGHT AND MORAL RIGHTS AND EXCEPTIONS TO INFRINGEMENT
30.6 It is not an infringement of copyright in a computer program for a person who owns a copy of the computer program that is authorized by the owner of the copyright to
(a) make a single reproduction of the copy by adapting, modifying or converting the computer program or translating it into another computer language if the person proves that the reproduced copy is
(i) essential for the compatibility of the computer program with a particular computer,
(ii) solely for the person’s own use, and
(iii) destroyed immediately after the person ceases to be the owner of the copy; or
(b) make a single reproduction for backup purposes of the copy or of a reproduced copy referred to in paragraph (a) if the person proves that the reproduction for backup purposes is destroyed immediately when the person ceases to be the owner of the copy of the computer program.
1997, c. 24, s. 18.