LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-06-2007, 04:10 AM   #1
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
remove gij/gcj?


Hi,
gij/gcj was installed by default while installing Eclipse. I think there have been installed some bindings between these 2, too...
I have now installed sun-java5. I'd like to remove all the gij/gcj stuff and keep the sun-java5. How can i do it?


Well, it may be that the question is something like "how to i remove the right way -without causing system inconsistencies- a package and all its dependencies, that are not used by any other library/program?"
I think the answer is that i must now the system and the packages upside-down and i must remove every single package manually with "dpkg".

If the above is the right answer, then somebody please advise me on which packages i must remove

Thnx
 
Old 09-06-2007, 06:09 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
How did you install it? Uninstall them the same way. (Synaptic, aptitude, apt-get..)
 
Old 09-06-2007, 08:04 AM   #3
reverse
Member
 
Registered: Apr 2007
Distribution: Gentoo
Posts: 337

Rep: Reputation: 30
`apt-get autoremove` ; `deborphan` are there to help, I'd just `apt-get --purge remove` everything I don't need, but then again, apt-get is the only way I install stuff.
 
Old 09-06-2007, 08:30 AM   #4
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
It's also very tightly integrated with OpenOffice. I would not delete it if I were you. Instead...
# update-alternatives --config java

...and make Sun Java the default.
 
Old 09-06-2007, 06:33 PM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Neither is needed for OpenOffice.

$ apt-cache policy gcj
gcj:
Installed: (none)
Candidate: 4:4.2.1-6
Version table:
4:4.2.1-6 0
990 http://ftp.us.debian.org unstable/main Packages
craig@craigevil:~$ apt-cache policy gij
gij:
Installed: (none)
Candidate: 4:4.2.1-6
Version table:
4:4.2.1-6 0
990 http://ftp.us.debian.org unstable/main Packages
$ apt-cache policy openoffice.org
openoffice.org:
Installed: 2.2.1-8
Candidate: 2.2.1-8
Version table:
*** 2.2.1-8 0
990 http://ftp.us.debian.org unstable/main Packages
100 /var/lib/dpkg/status

Just remove them the way you installed them. Or if something actually needs them just do like richk said:
# update-alternatives --config java
 
  


Reply



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
how to use gij for my java program asterik123 Linux - General 3 04-18-2007 12:35 AM
need help with gcj max_rsr Programming 1 05-24-2005 03:07 AM
Problem running Eclipse with gij lvella Linux - Software 2 05-11-2005 03:30 PM
problem with gcj os2 Linux - Software 4 09-14-2004 01:04 PM
gcj jdbc verigoth Programming 1 06-02-2003 10:48 AM

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

All times are GMT -5. The time now is 06:01 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
Open Source Consulting | Domain Registration