From Windows to a Debian GNU/Linux desktop, sans the geekness
The Original - since June 2006 - Run Debian GNU/Linux and be Happy.
I just showed my family just what a Geek I am: Stop gdm and be in a terminal shell, cd over to your music directory, run:

$ play *.ogg

Of course, you may have mp3's instead of ogg's. ^C will goto the next song. Revel in the Geek.

 

this site  web    
The Goods
Home Page
Forum
debiantutorials.org Licensing
Website Disclaimer
Site Map
Links
w32codecs
How to really switch Mom to Linux
Documentation
Release Notes
Developers Reference
Debian Survival Guide
Debian Books
Manuals
Debian Security
Linux Dictionary
Debian "Testing"
Leaving Windows
Resize Windows Partition for Dual-Booting
Back up your Partitions, Imaging
Still Suffering Windows
Keep your Money, your Sanity and your Self-Respect
Installing Debian Etch
Debian GNU/Linux (Etch) Installation Tutorial
My Etch Desktop in 150 words or Less
Upgrade Sarge to Etch
Configure Debian Etch
Multimedia on Debian Etch
Install nVIDIA 3d driver on Debian Etch
Wireless on Debian Etch: Broadcom - bcm43xx
Klikit, Klikit good
Handy Little Things
Package Management
Peripherals & Debian Etch
Set up your web cam on Debian Etch
Printing in Debian (Browsers, too)
Your ipod on Debian Etch
Atheros Wireless
Broadcom Wireless
Etch on the Desktop
Visitors apache log reader
Andrea del Sarto
(Poetry snippet for your Ignorant Ass)
Beagle on Debian Etch
Convert Digital Camera .mov Files
Some Debian Etch System Files
My Debian Desktop
Using wget
Copying or Ripping DVD's in Linux (Debian)
Reset root password
So, you want to run Linux
Convert mov files
Securing Debian
Password Protect Grub Boot Loader
Debian Etch as Server
Debian Linux file and print server: NFS, CUPS, LPR
Stream your music with gnump3d
Simple local web server on Etch
Web Server on Debian Etch
Miscellaneous Linux
Linux Conventions
Can People read my Documents?
Install Software on your Linux System (Debian)
Partition your Hard Drive
History of debiantutorials.org
A School Without Windows (PDF)
How to talk to Tech Support
Linux Demystified
Off Topic
A DRM Dissertation
An Artist's take on Downloading Music
An Insane and Damaging lack of Understanding
On Children and Drugs
On Visitor Q
Intellectualism for the Masses
debiantutorials.org stats
Smart Crows
How old are We?
Why we run Debian
How not to ask an egomaniac like myself for an article
Sarge Specific Tutorials
Installing Debian Sarge, net install, no DHCP
Easy Graphical Sarge Installation Tutorial
Rebuilding my Debian Sarge Machine
Multimedia for Sarge
w32codecs
nVIDIA on Sarge
Trouble Burning discs: cdrecord
Athcool on Debian Sarge
Where are my Newly Installed Apps?
Easy LAMP on Debian Sarge
Archive
Sites Worth a Look
Debian Mailing List
spidercider
Linux Comparison at PolishLinux.org
Thin Clients
Common Commands
Common iptables Filtering
iwouldntsteal.net
Big-Ass iptables info Page
iptables Port Reference
README: Firewall
General Security Tips
Newbie Security
Kickass RFC's
Data Breaches
Hemp Seed Oil
linux-hardcore.com
Search for a local Computer Tech
Evelyn's Linux Cheat Sheet
Lotsa (687) Linux Commands

Favorite Utilities

Super Grub Disc
System Rescue Disc
News Feeds
visitors run
operating system
Linux
Windows
Mac
Unknown
BSD
53.3 %
42.2 %
2.10 %
1.90 %
0.10 %

web browser
Firefox
Mozilla
IE
Opera
Epiphany
41.9 %
22.0 %
21.9 %
4.30 %
3.60 %
updated 22jun08
What's Root?
Root is the super-ultra-mega. All system commands on a Linux box need to be done as root. This means installing software and changing files not in your /home directory, etc. In your terminal, if you're logged in already become root by typing su at your $ prompt, then the root password. Log in the system directly as root from a terminal, but not the graphical login. # shows root.
dediantutorials.org is ad-free
debiantutorials.org has always been and will always remain ad-free I make no unrealistic demands that you "owe me for my time and bandwidth" in order to use my site. I detest all those scumbags out there that think that they are owed something for putting a web site up. I do debiantutorials.org because I love it. You owe me nothing.
If you can walk and chew gum at the same time, you can run Linux
We have 7 guests online

    Wednesday, July 23, 2008      Contact  Etch Info  what's new in Etch  Linux Demystified  Our Forum
Java and Flash for Debian GNU/Linux PDF Print E-mail
Using Debian Etch on the desktop
Written by machiner   
Monday, 10 October 2005
[out of Archive]

Installing Java and Flash on Debian

The Flash Part

You'll need to download the Flash Player installer now from Adobe here (x86)

Installing this is no sweat. Why don't you open your terminal now. Yessir, command-line. You can type, right? OK, then, hit the alt and the F2 keys concurrently. Remember this command, it's "run". In Windows you probably didn't even know that you could hit the win and the r keys to get the same run command. Bah -- don't sweat it. If I had a penny each for all the things I don't know...When your run box pops up, type "gnome-terminal" into it. No quotes, Jack. Hit enter.

Now that we're cozy in the terminal, $ cd over to the directory you downloaded the flash-installer to. Like this:

$ cd /your/download/directory

The file that you downloaded from Macromedia is tar'd then further compressed with gzip. I know you looked at it with dismay, no worries. Unpacking this directory is a snap. If you just cd'd to your download directory we can get started. In the terminal $ ls your directory. I'm lazy, we copy & paste here. The file name that I have is install_flash_player_X_linux.tar.gz. So what I do is copy the file name (use your mouse to highlight the name, right-click, copy) and then run this command to extract the directory:

$ tar -xvzf [ctrl+shift+v]

We use the -z switch because the file is gzip'd.

Now just $ cd into your newly-made install_flash_player_7_linux directory. Cake. When you're in, make sure your browsers are closed and then run the installer like this:

$ ./flashplayer-installer

Flash is installed for Debian GNU/Linux.

The Java Part

With Debian Etch the simplest way to install Java is to fire-up a terminal, become root and run the following:
#apt-get install sun-java5-bin
However, you may continue reading this out-of-date java install tutorial for Debian Sarge if you like. :)

Installing Java is just as simple. You will have to download the Java binary from Sun. I use the Linux (self-extracting file) from this page.

Next up, you need to make sure you're using the "non-free" repositories. Don't worry, you don't owe any $$. Let's do that real fast since you're already in your terminal.

Become root ( $ su ) and then open your Apt sources file like this

# nano /etc/apt/sources.list

Append the end of your .../debian main line with

contrib non-free

My entry looks like this: deb ftp://debian.uchicago.edu/debian/ stable main contrib non-free

Now you save your sources.list file and close Nano. So, ctrl+x, y, then enter. At your prompt you can now

# apt-get update

Installing Java this way will no doubt have naysayers as well - you know what? Is cool - this is Linux, man. More power to 'em, right? I like this way you don't have to. I make chocolate cake from scratch - what about you? Anyway - now that we're ready let's get Java on.

At your command prompt run the following command:

# apt-get install java-package

Yes, y, to dependencies. 'Course, this all only takes a few seconds to do...and you're getting pretty savvy with the command line by now? Right? (Get busy, here and here .)

$ cd over to the directory that you downloaded the Java binary to. Now we can make a deb package out of the binary and thus allow Apt, dpkg to manage Java on your system. Here's the command:

$ fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin (Careful with the "cut&paste", which Java version did you download?)

You'll have to agree and then go through names and such. I just use defaults, root, etc. Again, you agree - now to the Sun license. Use your space bar to run through the pages. Then you must type yes to accept the license.

You'll see Java unpack and then create your .deb package. When it's finished you will even have the command to run to install the .deb file. Just copy it from about 2 lines up from your prompt, then become root, and then [ctrl+shift+v] to paste the dpkg -i install command.

To install the Java plugin for Mozilla (I just do it as root for system wide) just run the following command:

# ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so \
/usr/lib/mozilla/plugins/

You're done. No charge. Enjoy Debian

machiner - 10 Oct 2005





Reddit!Del.icio.us!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Newsvine!Furl!Yahoo!Ma.gnolia!Free social bookmarking plugins and extensions for Joomla! websites!
Trackback(0)
Comments (14)Add Comment
Why not make a proper package?
written by Guest, October 12, 2005
See:

http://www.debian-administration.org/articles/142

Does the firefox thing too.
I don\'t know -
written by Guest, October 12, 2005
Why not? Looks goot to me...but this is a site luring WIndows users to debian. Following directions is one thing, but following directions to make a package might scare some folks.

I have no problems with it though and I hope folks check the link that you provided.

Thanks for checking out the site.

--machiner
Plain wrong
written by Guest, October 13, 2005
Sorry, but I would never ever recommend to
install Java on Debian that way. Please use
java-package, which allows to install and
uninstall JRE and/or SDK cleanly. Thanks.
Install Java through Synaptic
written by Guest, November 23, 2005
Add one of the following lines to your sources.list

deb ftp://mirror.aarnet.edu.au/pub/java-linux/debian/ sarge non-free
deb http://mirrors.publicshout.org/java-linux/debian/ sarge non-free

Do an apt-get update or Reload in Synaptic. Then in Synaptic do a search for j2re. Choose to install the j2re package. Accept the license when prompted and there you have it.
...
written by Guest, March 25, 2006
To me he does have a point. Even though Debian is renowned for its upgradeability and repairability I reinstall far more frequently than Sun releases Java SDKs.

However, on my system I use the make-jpkg way. Why? Coz it\'s the Debian way.
Newer java bin file (update 8)
written by 'Guest', September 02, 2006
Hi. Just noticed that the link you\'ve provided leads to java bin file update 6. To get the more recent one (update 8) try this site:
http://java.sun.com/javase/downloads/index.jsp
From here, go down to the download link by the header \"Java Runtime Environment (JRE) 5.0 Update 8\".
now a package in Etch and Sid (non-free)
written by 'Guest', January 08, 2007
Hello. Java runtime environment is now a package in Etch and Sid. So, simply use the command aptitude install sun-java5-jre, or apt-get install aptitude install sun-java5-jre, and you\'re set.
Ummm
written by machiner, January 08, 2007
You're right. I've been meaning to archive this tutorial and write a new one for Etch.

Soon enough. Thanks for visiting.
thanks sun-java*-jre
written by 'Guest', April 07, 2007
It\'s great to know there\'s sun-java*-jre... I\'ve just installed sid for my desktop and need jre.

Thanks for your info.
Bad Urls and x86_64 / amd64 issues
written by 'Guest', April 18, 2007
The link to adobe\'s page appears to have 2 \"http://\" in you redirector see here:
http://www.debiantutorials.org/axs/ax.pl?http://http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Linux&P3_Browser_Version=Netscape4

Of course it might only effect Netscape4, I\'ve not started Firefox/IceWeasle yet.

And the adobe flash palyer doesn\'t support x86_64 / amd64, running version 9\'s install errors :

ERROR: Your architecture, \\\'x86_64\\\', is not supported by the
Adobe Flash Player installer.


The older editions might but I can\'t find them off the adobe site. I know there\'s an alturnative tho as I\'ve had flash running in this very machine with gentoo. I\'ll try to remember to update here when I\'ve done it.

km0
OK
written by 'Guest', April 19, 2007
Cool, and yes -- the flash link contained herein points to an x86 version.

--machiner
Java in Debian 4.0r0 etch - source.list
written by 'Guest', June 20, 2007
People,

i had add follow lines, execute apt-get update, install java and have fun :-)

deb http://ftp.br.debian.org/debian etch main contrib non-free

After run apt-get update, i install java:

apt-get install sun-java5-jre


I hope help, because i walk on long road to find this solution.

Att.

Neo

[EDIT: rock on]
flash is not installed on epiphany
written by 'Guest', September 05, 2007
if i have only epiphany as my internet browser flash is not being installed because it looks for mozilla and firefox only

EDIT Epiphany needs to have mozilla installed and will look into the mozilla plugins for functionality. Flash works fine in my Epiphany browser. Please post this to the forum as well as how you installed flash. Go here, sign up and make a new topic. We'll fix you up.

See the screenshot of Flash working fine in Epiphany
sun-java
written by 'Guest', October 12, 2007
Howdy Machiner. Just to add to your tip for installing java on etch, it is also important to install the sun-java5-plugin package. Simply installing sun-java5-bin will still leave users unable to play java games on their browsers.

[EDIT: that's not necessarily true. I have no such plugin installed and see no issues with java applets in my browser. I have the following java components installed on my Debian Etch box:

sun-java5-bin
sun-java5-jre
java-common

Write comment

security code
Write the displayed characters


busy
 
Linux Stuff at digg
How folks arrive at debtoots

direct Address/bookmarks...............79.1 % (woohoo!)
Links from search engines...............17.9 %
links from external pages.................2.70 %
Updated 22jun08

Creative Commons License © debiantutorials.org Thanks for dropping by. I hope you have found this site to be helpful.   Search for a local Computer Tech  debiantutorials.org