Package Mngt & MythTV
Intro Topic - Package Manglement
Distros - RedHat, SuSE, Mandrake, Linspire
Implementation - cpio based archive
Tools - rpm, rpmbuild, yast, synaptic, redcarpet, apt-rpm, up2date, yum
Sites - apt.freshrpms.net, livna Nvida packages for RH/fedora, etc
Distros - Debian, Ubuntu, Kubuntu, Knoppix
Implementation - custom build dir in tgz
Tools - apt libs, dpkg, dselect, apt-get, synaptic
Sites - www.debian.org
Distros - Slackware
Implementation - .tgz files
Tools - slack-get
Sites - www.slackware.org
Distros - Gentoo
Implementaion - controlled, automated source compile from tgz
Tools - emerge
sites - www.gentoo.com
tar.gz, tar.bz2, tgz files of source code w/ or w/o 5 step process
make, autoconf, tar, bunzip, and gunzip
many many many sites
Example Apt workflow (blackbox install, remove)
a. get apt for an rpm based system
1. download apt from apt.freshrpms.net
2. sudo rpm -Uvh apt-...i386.rpm
b. get new apt DB
1. sudo apt-get update
c. install upates
1. sudo apt-get upgrade
d. search and find new applications (via local cache of packages avail.)
1. apt-cache search
2. apt-cache search blackbox
e. install application, etc.
1. sudo apt-get
2. sudo apt-get blackbox
f. remove something
1. and it's dependancies
- sudo apt-get remove
2. it only
- sudo rpm -e
- sudo rpm -e blackbox
website for debian and redHat package sites.
Example source install (flack)
a. find and download your chosen application
b. check the tarball for the directory issue
1. tar tvzf tarball.tar.gz
2. look for / for All things in the tarball
c. get the files out of the archive
1. tar xvf tarball.tar.gz
d. do the 5 step install
2. vi README (note any special build instructions)
3. ./configure (with --prefix=/home//local for local user installation)
4. make (some programs will Not allow you to make as root)
5. make test (if available)
6. sudo make install
e. update any libs
1. vi /etc/ld.so.conf
f. remove the application (if available)
2. make uninstall
The Loki installer
a huge shell script with an archive in it.
typically named application.bin
run from command line but may need X windows window.
requires root privledes most of the time.
Advanced Topic - MythTV
Evolved from Tivo clone. Was tons of bins with python glue. Now is a QT based 'application.' Is TV on Linux, turning your PC (Personal Computer) into a PVR (Personal Video Recorder.)
Start by going to mythtv.com and checkout Hardware first. Good cards will output MPG streams. You may need kernel drivers that must be found and compiled sperately. All this is in heavy development, some drivers are stable but may still have problems.
Can output VGA, video out, etc. MCE versions of the Hotpod cards DO NOT HAVE OUTPUT. The Matrix Marvel (G200, G400) are parital support. NO, none, zer ATI All-in Wonders are supported.
Apt RPM repositories has drivers, software and plugins. Low-end hardware is not going to be doing transcoding (re-encoding software.) Demo system is a fedora core 3 box. QT, MySQL (qtMySQL) and LAME (mp3 encoder) packages are needed to install or compile the software. IrBlaster and lrt support for remote controls.
Backend, mid-tier, frontend + plugins everywhere. Frontend simply talks to backend. Backend does the recording and transcoding.
Run the backend with 'mythbackend' in terminal. Run the front end with 'mythfrontend' after the backend is running. Backend and frontend can run on seperate machines. Php scripts on a webserver can talk to the backend for a website controlled TV experience.
Tuners right now are not shipping with the broadcast flag. FCC is trying to get that into law. Get your decoders and recievers and capture cards now (July 2005.) With the IrBlaster you can even take input from the turner. MythTV will support multiple tuners. It does support the 'for Linux' TV cards. It has a web-plugin so you can use a webserver + webbowser to schedule your programs. MythTV has a relationship with ZAP2IT so you can submit a periodic survey and get 14 days of TV programming information in a TV guide. Outside of North America, XMLtv does the old (early MythTV) screen scraping off of ZAP2IT's website to get the channel information. Typical usage are 3.5 MBPS or ~ 3 Gb per hour. HD usage depends on ditrate, codex, transcoding to DivX, etc.