LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-19-2010, 05:15 PM   #1
mini-ITX
LQ Newbie
 
Registered: Jul 2010
Distribution: ClearOS 5.1 Enterprise
Posts: 5

Rep: Reputation: 0
Podcatcher Installation


I have a mini-ITX running Clear Foundation, Enterprise 5.0 (I believe based upon RedHat). I use it as a server for music and podcasts.

I am now looking to shift my podcatching from my PC to the mini-ITX so that I can set it to run daily to grab new podcasts, even when I am away. I have looked through LinuxQuestions and a number of other places searching for a reliable podcatcher, with a GUI, and gpodder seems a common recommendation.

Presuming this is so, can anyone tell me how to install it, please? I have tried "yum install gpodder" but this fails, presumably because it isn't in ClearOS? All tips welcomed. (For the record, I installed RPMforge as follows: rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/...l5.rf.i386.rpm)

Then, once gpodder is installed, how do I start it - is this "https://ITXname followed by a port number - if so which port number? Nowhere on the gpodder site does it say. Or does it run automatically at boot and keeps running all of the time

Many thanks.
 
Old 07-19-2010, 11:04 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
gpodder is a podcast client. It is launched like any application. With the executable. In this case gpodder. Or with the whole path statement if where you installed it is not in your $PATH.

After you launch it you can subscribe to new podcat URL. Then the podcast stays in gpodder until you get rid of it. You can update the feed manually or set it to check whenever you want.
You can subscribe to as many podcast URL's as you want.

Ether find a repository for your distro, or build it from source.
http://gpodder.org/downloads.html

And yes it works well. On FreeBSD, Linux and windoze.
 
Old 07-20-2010, 12:01 AM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
I recommend podracer.

Set up the subscriptions file, set it to run as a cron job, and forget about it. Your podcasts will be waiting for you every morning in ~/podcasts. The website has full instructions.

If you find a new podcast or want to cancel one, simply edit the subscriptions file accordingly.
 
Old 07-20-2010, 09:13 AM   #4
mini-ITX
LQ Newbie
 
Registered: Jul 2010
Distribution: ClearOS 5.1 Enterprise
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks to both teckk and frankbell for the prompt advice. I am more of a Newbie than perhaps is realised. Are you able to comment further, please:

Do I need to find any of the following and can you suggest how to install:
- Python
- Bit Torrent
- Screen
- Curl

At the level of principle, does gpodder or podracer have any tweaks that set either apart - looking at the sites gpodder looks to have a GUI, podracer doesn’t (so I presume it is dead simple). gpodder looks to have had more recent releases – is podcatching now old hat so that most programs post-2007 will do a reasonable job?

“podder is a podcast client. It is launched like any application. With the executable. In this case gpodder. Or with the whole path statement if where you installed it is not in your $PATH.”

I don’t know how any program is launched. The one program I have installed (SqueezeServer) launches itself at start-up and is accessed from my PC with https://miniITXname:9000/. What would I type (I presume in PuTTY) to start it?

“Either find a repository for your distro, or build it from source."

I don’t know how to find a repository for ClearOS (CentOS/Clark Connect), I searched for hours and came up with nothing, hence my initial query. Any tips on where to look, per chance? Regarding building from source, I think you will now appreciate that whilst I may be game to try, I haven’t the first idea of what to do. And how do I then install it? Again, tips appreciated.

Concerning podracer, the installation instructions say to “Download the self-installing package and make it executable. Then run it as root with ``install'' as its only argument”. How does one make a package executable? To run it as root, do you change directory to the where the podracer file is and type “install podracerpackage”?

Concerning the crontab file, the Podracer site says to enter “0 */4 * * * podracer”. Can you describe what this action performs, I can’t see a clock time in here which kicks a job off (my ITX is powered off between 1030 and 0600 so I need to know the job is attempted when the machine is awake).

Thanks in advance for your forebearance.
 
Old 07-20-2010, 07:57 PM   #5
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
You may want to start with some reading.

http://tldp.org/LDP/intro-linux/html/
http://www.linuxhomenetworking.com/
http://rute.2038bug.com/index.html.gz
http://linuxmanpages.com/

I don't have any experience with
http://www.clearfoundation.com/Software/overview.html

I don't know if there is any additional desktop software that you can run on that or not. If it is redhat then maybe Centos software will run on it. There are lots of Centos repositories on the net.

Quote:
I don’t know how any program is launched. The one program I have installed (SqueezeServer) launches itself at start-up and is accessed from my PC with https://miniITXname:9000/. What would I type (I presume in PuTTY) to start it?
You have never opened a program or application before? Or do you mean launching an app on that server? You specify the executable in a shell, or make a link to it, or make a script that calls it.

Putty is a ssh client. Are you wanting to start an app or process on the server from a networked client like windows? I assume that you can as long as you can authenticate with privileges to run the application.
 
Old 07-20-2010, 09:16 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
teckk gave you a good list of readings. Here's another one that I think is a very good general introduction to Linux for folks who are complete newbies.

If you want to do some heavy reading, I found Garrels Introduction to Linux very helpful; I still have a printed copy on my bookshelf.

We were all newbies once. When I go to my LUG meeting which is full of folks who have been using Unix and Linux for a couple of decades, I feel like a Linux toddler.

With most Linux distros, you should already have curl, python, and screen. I've played with screen, but I usually find a plain old terminal to be adequate. You probably already also have a bit torrent client in the default load (I use the Opera browser and it includes a small bit torrent client, but I seldom use it).

Back to podracer.

I don't think that podracer uses bit torrent; most podcasts aren't that big. In the subscription file, you point podracer to the rss feed address for the podcasts. If there is an audio or video file at the address, it grabs it (and logs it so it doesn't download the same file twice).

The podracer website has an excellent description of how to configure the subscriptions file and how to set up podracer as a cron job ("cron job" is Linux for "scheduled task").

More about setting up cron jobs here. Compressed version: open a terminal as user and run the command crontab -e, make the desired entries, and save the file.

(System cron jobs should be set up as root, but that's another story.)
 
Old 07-20-2010, 10:17 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
In the following I'm assuming that your machine is running headless and you want to control it from some windows box.

gpodder is an xclient (gui) program, therefore you will need to be running an xserver of some sort on whatever machine you are trying to launch it from. My guess is that you are not running an xserver. As such you may do better with a podcast client that has a web based interface. That way you can control it from a web browser on any machine. You could have a look at rtorrent and a web frontend for it like rtpg-www or rtgui.

Cheers,

Evo2.
 
Old 07-21-2010, 04:25 AM   #8
mini-ITX
LQ Newbie
 
Registered: Jul 2010
Distribution: ClearOS 5.1 Enterprise
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks to all for your considered responses. It looks as though I have more reading to do before setting this up. Naively I was expecting to be able to “yum install podcatchername” and then drive it from my PC.

The responses give tantalising insights into what I might need to do, though I don’t understand what is being said. Hence the need for more reading. For example, “You have never opened a program or application before? Or do you mean launching an app on that server? You specify the executable in a shell, or make a link to it, or make a script that calls it.” I have never knowingly commanded a program to start under Linux, I don’t know what the shell is, I wouldn’t know how to make a link to it never mind write a script. So, in the land of newbies, I am emerging from the egg.

To help understand what I have, I built a fanless mini-ITX with two 2.5” drives intended to act as:
- A server for internet radio, music and podcasts, streaming to hi-fi and lo-fi devices (this uses Logitech SqueezeServer software talking to Squeezeboxes which are connected to the hi/lo-fi devices.
- A z-drive for household PCs
- A back-up for household PCs
- A repository for files which are rarely needed (e.g. tax returns, employment records)
- A RAID mirror between the box’s two drives

The box is hidden away adjacent to the WiFi router and, as surmised, runs headless. I talk to the box over WiFi from my PC using PuTTY, WinSCP and the OS’ GUI (from Firefox). To work the radio/music/podcast streamer I just control SqueezeServer from Firefox with http://ITXname:9000/ (I don’t start this package, it starts itself at boot so it is just there when I browse for it).

I managed to stumble my way to creating this (and getting it to work) by finding various internet guides and through a process of trial and error.

Concerning podracer, the website tells you to install the software I listed. I don’t know how to install it so more reading needed. I am familiar with crontab as I use this to switch the server off at night. I am unfamiliar with the website’s instructions for crontab, “0 */4 * * * podracer”, as I don’t see a clock in here so, not understanding the semantics, I don’t know what it does and when it does it.

If I understand the comments on xclient this means that I need to run a terminal session running x-windows? So it won’t work on a browser (which is where I started from and perhaps mislead as I was unaware of any alternative client connection types). Perhaps rtorrent is the way to go.

So I’m learning on the hoof and I need to do more reading. All comments gratefully received.
 
Old 07-21-2010, 10:27 AM   #9
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Concerning podracer, the website tells you to install the software I listed. I don’t know how to install it so more reading needed.
Sounds interesting what you are doing. You want the server to grab the podcasts so you can get them from the server later. That is quite do-able. I think about any podcast client will do that. You just need to set up a podcast client on the server and config to check for new podcasts ever so often and put them in a certain directory.

As far as installing software. That depends on how you are installing it.

If you are using a pkg mgr like yum. You'll need to configure yum and set up the repositories that it will access. Then it is as simple as
Code:
yum install firefox
Look at the man page for yum
http://linux.die.net/man/8/yum


If you are installing a .rpm file that you have downloaded then something like
Code:
rpm -ivh name_of_package.rpm
Look at the man page for rpm
http://linux.die.net/man/8/rpm
Unless everything is in the .rpm file (doubtful) you are going to have dependency problems. That's what package mgrs are for. To get a package from a repository that you set up, resolve all dependencies, get them too, and install the app.

Installing from source. You'll need to have a compiler installed. (gcc)
The correct version of gcc for the software.
Get the source package such as firefox35.gz from the web.
Unpack the archive (it is compressed). Look at tar, file-roller etc to unpack it..
Unpack the contents into a directory. Ex. /home/firefox
Then cd in to that directory and run something like
Code:
./configure
make
make install
and install the software. You should be able to build from source on any linux box as long as you have gcc installed. Does not mean that you will not run into problems. Sometimes you'll need kernel updates etc. Best bet is to use a package mgr. If that's red hat then look at.
http://dag.wieers.com/rpm/
http://sial.org/howto/yum/
http://centos.org/docs/5/html/yum/sn...intenance.html

http://gpodder.org/downloads.html
For example you see the source package at the bottom of the page.
http://download.berlios.de/gpodder/gpodder-2.7.tar.gz

You get that, unpack it, compile it, install it.


Good luck.
 
Old 07-21-2010, 10:43 AM   #10
mini-ITX
LQ Newbie
 
Registered: Jul 2010
Distribution: ClearOS 5.1 Enterprise
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for this. I reckon I have some reading to do over the weekend.

Thanks again.
 
Old 07-21-2010, 10:48 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
Quote:
Originally Posted by mini-ITX View Post
At the level of principle, does gpodder or podracer have any tweaks that set either apart - looking at the sites gpodder looks to have a GUI, podracer doesn’t (so I presume it is dead simple). gpodder looks to have had more recent releases – is podcatching now old hat so that most programs post-2007 will do a reasonable job?
I missed this question on my last visit.

What I like about podracer is that it does its thing quietly in the background.

When I get up in the morning, my podcasts are waiting for me without my having to do anything. I jack in my podplayer, open up my file manager, copy the new files to it and delete the ones I've listened to.

(That's one of the other things I like about Linux. My podplayer is just another USB drive. No annoying sync software to install or load. When it's jacked in, I can even d/l files directly from the internet to the podplayer.)

All I do from time to time is edit my /home/[username]/.podracer/subscriptions file to add or delete feeds.

Podracer just works. It doesn't need any updating.
 
Old 07-22-2010, 02:43 AM   #12
mini-ITX
LQ Newbie
 
Registered: Jul 2010
Distribution: ClearOS 5.1 Enterprise
Posts: 5

Original Poster
Rep: Reputation: 0
Splendid, thanks.

Meanwhile, much reading for the weekend.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search for the holy Grail: A reliable podcatcher for Ubuntu or Linux in general actnow Linux - Software 3 12-16-2008 12:21 PM
Best Podcatcher for Linpus Linux (Acer Aspire One) patrickscott Linux - Newbie 3 12-09-2008 07:39 AM
cross-platform OGG podcatcher? dombrowsky Linux - Software 1 09-02-2007 05:38 PM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration