Monday 2 January 2012

iTunes On Linux ,GNOME,openSUSE

How to browse iTunes On Linux , GNOME , openSUSE ?

The solution offered for browsing iTunes in this post is tested on openSUSE 12.1 (ASPARAGUS) / GNOME 3.2.1 / kernel 3.1.You can browse sites like apple itunes ,and other itunes based university sites itunes.mc.maricopa.edu, itunes.stanford.edu

Get "TunesViewer"
 You can download "TunesViewer" software from here. TunesViewer is originally a program to access itunes-university media and podcasts in Linux. After getting the rpm you need to install the rpm and other dependencies.To do that please go through rest of the post.

Installation Of iTunes Viewer

 We should install the downloaded rpm / package and two other packages "python-webkit" and "python-lxml" .
 Zypper way
==>Open the terminal (type in "gnome-terminal" and hit return or enter after pressing Alt+F2 key combination)
==>Navigate to the directory of the where your package or rpm is present using cd <space><dirname>
==> Execute the command :-
"sudo zypper in python-lxml python-webkitgtk tunesviewer-1.4.noarch.rpm"
Note:- You may need to enter admin passcode when prompted and press y when it asks you whether it can install so and so software.
Sample output for zypper installation:-
anonymous@linux-9p85:~/Software/rpms> sudo zypper in python-lxml python-webkitgtk tunesviewer-1.4.noarch.rpm
root's password:
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW packages are going to be installed:
  python-lxml python-webkitgtk tunesviewer
3 new packages to install.
Overall download size: 635.0 KiB. After the operation, additional 2.4 MiB will
be used.
Continue? [y/n/?] (y): y
Retrieving package tunesviewer-1.4-2.noarch (1/3), 68.0 KiB (192.0 KiB unpacked)
Retrieving package python-lxml-2.3-6.1.3.i586 (2/3), 532.0 KiB (2.1 MiB unpacked)
Retrieving: python-lxml-2.3-6.1.3.i586.rpm [done (64.2 KiB/s)]
Retrieving package python-webkitgtk-1.1.8-6.1.2.i586 (3/3), 35.0 KiB (115.0 KiB unpacked)
Retrieving: python-webkitgtk-1.1.8-6.1.2.i586.rpm [done (0 B/s)]
Retrieving package tunesviewer-1.4-2.noarch (1/3), 68.0 KiB (192.0 KiB unpacked)
Installing: tunesviewer-1.4-2 [done]
Installing: python-lxml-2.3-6.1.3 [done]
Installing: python-webkitgtk-1.1.8-6.1.2 [done]

YaST/GUI way

==>Press the left windows key on the keyboard and click on "Applications menu"
==>Open Install / Remove Software under "Applications"
Note:- You may need to enter admin passcode when prompted
==>Click on configuration==>repositories
==>Click "+Add" button in the repositories (configured software repositories) window
==>choose "Local Directory" in the "Media Type"(Screenshot below) window and click "Next"
==>In the next window and  give a name to the repository like "rpms" and then choose the path where your downloaded files/rpms are.The  downloaded path should be something like "/home/<User Name>/Downloads", and enable the checkbox "Plain RPM Directory"then click "Next"
==>You should see a new repository or repo by name "rpms" there.
Click "Ok" button
==>You should come back to the main window.Here you need to click a drop down on the left and navigate to repository and choose the new repository "rpms"
==>Check the packages to install i.e."tunesviewer" and hit the"Apply" button .You may also need to install "python-lxml" , "python-webkitgtk" from "MainRepository(OSS)".After the installation finishes you can check the installation. Relevant screenshots are below.

Install/Remove Software
Media Type
Choose Directory
See New Repo "rpms"
Click on "Groups"
Choose "rpms" repository and Install "tunesviewer"

Set-Up & Use "TunesViewer"
 Application can be quickly launched by keying in "tunesviewer" and hitting return or Enter key in the quick launch command window which can inturn be accessed by pressing "AltF2" .You can also access the  program by clicking on "Applications" tab after clicking left "windows" key on the keyboard .You can now use  TunesViewer  to browse and sample songs from iTunes . You may need to explore other settings available under Edit ==> preferences menu.

Applications=>TunesViewer
Launch TunesViewer though ALT+F2
TunesViewer,Browse iTunes
TunesViewer Preferences


If you liked this post, you may check out:-
Things to do after moving to openSUSE 12.1 (Asparagus)

No comments:

Post a Comment