LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-02-2012, 11:01 PM   #1
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 644

Rep: Reputation: 7
Debian packaging question


Hi there,

I am running Ubuntu 11.10 and have some question regarding the packaging system. I installed the OS on USB flash boot, since I need to limit the persistence file size on a shared flash drive, so I have to remove some un-needed applications, and I see that the Java runtime is not the latest and will does not work with some website so I installed the latest version ie. V7, but I see I've V6 installed already which comes with Libreoffice, so I uninstalled it to save some space, I wonder why Java will not update itself, instead keep both versions ? during the install/uninstall process I monitor the space left on drive (persistence), I see that even though I uninstalled the 'old' Java the system still keep eating up space, I done the autoremove/autoclean/purge but can't get back much space, reboot has no effect at all, what am I missing here ?
 
Old 01-05-2012, 04:07 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The basic package sun-java6-jre : 14 MB only.
http://91.189.94.219/hardy/sun-java6-jre

The big one is sun-java6-bin : 82...87 MB.
http://91.189.94.219/hardy/sun-java6-bin


Older versions of java are not removed, when you install another version.
1) They have different package names.
2) It is quite common to have two (or more?) versions installed :
Some applications / people may prefer a specific version.

There is an "easy switcher" from one version to another :
'sudo update-alternatives --config java'

You can then set the default version to any of the installed versions
like : gcc-java (gij), openjdk, sun-java5, sun-java6, sun-java7

..
 
Old 01-05-2012, 07:46 AM   #3
joboy
Member
 
Registered: Jul 2009
Distribution: Debian, Ubuntu, Puppy, Mint
Posts: 644

Original Poster
Rep: Reputation: 7
I see, I thought new version cover everything so I can safely remove the old one to save space, I need the runtime only, and as far as I know in the ms world there are 2 Java VM, Sun's one and ms' own one, that's why we have to keep both installed some time.
 
  


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
LXer: Debian to officially welcome non-packaging contributors LXer Syndicated Linux News 0 10-20-2010 12:50 AM
Debian packaging system maitrey Ubuntu 3 06-04-2009 01:58 AM
New to Debian packaging ernesto_cgf Debian 3 04-25-2005 01:59 PM
debian packaging q: which packages are NOT from testing? k8to Debian 3 02-09-2004 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:07 AM.

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
Open Source Consulting | Domain Registration