Setup and configure OpenSSH Server : Ubuntu

OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions.

Ubuntu SSHD Installation

Type the following two command to install both ssh client and server:
# sudo apt-get install openssh-server openssh-client

SSHD Configuration

To be frank your server is ready by default. Just test it from your home computer or from same system with the command:

# ssh localhost

OR
# ssh user@your-server-ip-address

How do I use ssh client?

Assuming that your server hostname is userver.mydomain.com and username is sheron, you need to type the following command:
# ssh sheron@userver.mydomain.com
To stop ssh server, enter:
# sudo /etc/init.d/ssh stop
To start sshs server, enter:
# sudo /etc/init.d/ssh start
To restart ssh server, enter:
# sudo /etc/init.d/ssh restart

Advertisements

How to encrypt and decrypt files with a password : Ubuntu

To encrypt and decrypt files with a password, use gpg command. It is an encryption and signing tool for Linux/UNIX like operating system such as FreeBSD/Solaris.

GnuPG stands for GNU Privacy Guard and is GNU’s tool for secure communication and data storage. It can be used to encrypt data and to create digital signatures. It includes an advanced key management facility.

Encrypting a file

To encrypt single file, use command gpg as follows:
$ gpg -c filename

To encrypt myfinancial.info file, type the command:
$ gpg -c myfinancial.info
Output:

Enter passphrase:<YOUR-PASSWORD>
Repeat passphrase:<YOUR-PASSWORD>

This will create a myfinancial.info.gpg file.
Option:

  • -c : Encrypt with symmetric cipher.

Caution if you ever forgot your password aka passphrase, you cannot recover the data as it use very strong encryption.

Decrypting a file

To decrypt file use gpg command:
$ gpg myfinancial.info.gpg
Output:

gpg myfinancial.info.gpg
gpg: CAST5 encrypted data
Enter passphrase:<YOUR-PASSWORD>

Decrypt file and write output to file vivek.info.txt you can run command:
$ gpg myfinancial.info.gpg –o vivek.info.txt
Remember if file extension is .asc, it is a ASCII encrypted file and if file extension is .gpg, it is a binary encrypted file.

After installing Lucid Lynx for To-Do

It has become a tradition with my to do lists. This time, it’s for “Lucid Lynx”, the new Ubuntu release from Canonical. And yep it’s better than the previous version “Karmic Koala”. There have been some drastic changes in the UI and under the hood. Lucid Lynx, out of box, is faster, more social, cloud integrated…basically it feels like an operating system you would want to use today.  So without wasting any more word let’s get on with the list.

1 – Expand the Software Repository List

First of all, lets make Ubuntu “see” more packages. Go to the terminal and edit your sources.list with :

sudo gedit /etc/apt/sources.list

Here is the content of my sources.list which I think is quite complete to have all the necessary applications you could ever need. So delete the whole content of your sources list and replace it with the content of mine

Save it. Now import the necessary repositories keys to avoid “apt-get” crying about some missing keys, go to the terminal and type:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com DCF9F87B6DFBCBAE F9A2F76A9D1A0061 A040830F7FAC5991 2EBC26B60C5A2783

Get your system up to date with :

sudo apt-get update && sudo apt-get upgrade

Now all your programs will run on the last version.

2 – Anti-Virus

Windows equivalent : AVG AntiVirus, NAV, TrendMicro, F-Prot, Kaspersky, …

Ubuntu equivalent : ClamAV, Avast

ClamAV

sudo apt-get install clamav clamtk

Access it through System Tools → Virus Scanner .

Avast

wget http://files.avast.com/files/linux/avast4workstation_1.3.0-2_i386.deb && sudo dpkg -i avast4workstation_1.3.0-2_i386.deb

Access it through Accessories → avast! Antivirus .

3 – Essential tools for compiling from sources

sudo apt-get install build-essential checkinstall cdbs devscripts dh-make fakeroot libxml-parser-perl check avahi-daemon

4 – Java runtime environment

Java is a very important thing to install, now that many programs like Azureus need it to run. So type:

sudo apt-get install sun-java6-jre sun-java6-plugin equivs

6 – Multimedia

Windows equivalent : windows media player, real player, vlc, mplayer

Ubuntu equivalent : vlc, mplayer, helix player

To have Ubuntu playing all kinds of stuff, you need to install many codecs. So on the Terminal, type:

* Installing vlc and mplayer (plays almost everything):

sudo apt-get install vlc mplayer

* Common packs

sudo apt-get install non-free-codecs libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg libmp4v2-0 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 libjpeg-progs libmpcdec3 libquicktime1 flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev

* Gstreammer 0.10

sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-pitfdll gstreamer0.10-sdl gstreamer0.10-plugins-bad-multiverse gstreamer0.10-schroedinger gstreamer0.10-plugins-ugly-multiverse totem-gstreamer

* More programs

sudo apt-get install gstreamer-dbus-media-service gstreamer-tools ubuntu-restricted-extras

* Enable dvd support

sudo aptitude install libdvdcss2 && sudo /usr/share/doc/libdvdread4/./install-css.sh

* Flash

sudo apt-get install gsfonts gsfonts-x11 flashplugin-nonfree

7. Tweak your eyecandy

Ubuntu 9.04 comes with compiz fusion effects OOTB but doesn’t offer a way to customize them.

In a terminal copy/paste this:

sudo apt-get install simple-ccsm

Now navigate to System → Preferences → Simple CompizConfig Settings Manager .

8 – Missing Windows software?? Run Windows softwares in Linux!!!

Run Windows Applications such as 7zip, Google Sketchup, AutoCAD, Dreamwaver, Flash MX, Fireworks MX, IE6, IE7, Safari, Itunes, Windows Media Player and many more…

Play Windows Games in Linux like Age Of Empires, Call Of Duty, Diablo, Fear, Fallout, Far Cry, Grand Theft Auto, Half Life, Halo, Hitman, Max Payne, Need For Speed, Prince Of Persia, Sim City Star Wars, The Simsworld of warcraft , Tomb Raider, Warcraft, World Of Warcraft, Counterstrike and many other can be played.

Install Playonlinux. It’s based on wine. Wine is a compatibility layer for running Windows programs in Linux.

sudo apt-get install wine playonlinux

9 – Clipboard Management

By Default in ubuntu when u copy something from an application and closes the application u will not be able to access it from the clipboard. And also when u copy severals text in serial u only have the last on available to you in the clipboard. To solve that install either of the following but Glipper is better because it supports plugins.

Glipper

sudo apt-get install glipper

Then right click ur panel → Add to Panel then drag Clipboard Manager to ur panel

Parcellite

sudo apt-get install parcellite

10 – Archiver/ Packing software

Windows equivalent : winrar, zip, 7zip

Ubuntu equivalent : tar, unrar, p7zip, arj, unace

It’s bad when you don’t have Internet on your computer/notebook, but you have to pack/unpack something but the file format isn’t recognized by the system. To prevent from this bad situation, you can install a bunch of packing software by typing this on the terminal:

sudo apt-get install unace rar unrar zip unzip p7zip-full p7zip-rar sharutils uudeview mpack lha arj cabextract file-roller

11 – Graphical web browser

Windows equivalent : Internet explorer, firefox, opera

Ubuntu equivalent : Firefox, opera, chromium

Opera

sudo apt-get install opera

Firefox (installed by default intrepid)

sudo apt-get install firefox

Chromium (open source equivalent of Google Chrome)

sudo apt-get install chromium-browser chromium-browser-l10n

12 – Download Manager

Windows equivalent : Free download manager

Ubuntu equivalent : Multiget

MultiGet is a http/ftp downloader with a nice GUI for linux desktop users. It can run on almost all desktops without any configuration. It has many powerful functions comparing to others.

sudo apt-get install multiget

Access it through Applications → Internet → MultiGet .

13 – Graphical Email client

Windows equivalent : Outlook

Ubuntu equivalent : Evolution, Thunderbird

Evolution (installed by default in lucid)

sudo apt-get install evolution

Access it through Applications → Internet → Evolution Mail .

Thunderbird

sudo apt-get install thunderbird

Access it through Applications → Internet → Mozilla Thunderbird Mail/News .

14 – Instant Messanging protocal clients

Windows equivalent : MSN messenger, Yahoo messenger, QQ, AIM, Gtalk, ICQ,IRC

Ubuntu equivalent : Empathy, Pidgin, emesene

Empathy IM Client (installed by default)

Add the related launchpad repository :
sudo add-apt-repository ppa:telepathy/ppa && sudo apt-get update

Then install it by running the following :
sudo apt-get install empathy telepathy-mission-control-5 telepathy-gabble telepathy-butterfly telepathy-haze telepathy-idle telepathy-salut telepathy-sofiasip libtelepathy-farsight0 python-tpfarsight galago-eds-feed python-galago python-galago-gtk msn-pecan

Access it through Applications → Internet → Empathy IM Client .

Pidgin

Pidgin is an easy to use and free chat client used by millions. Connect to AIM, MSN, Yahoo, and more chat networks all at once. Supported chat networks: AIM, Bonjour, Gadu-Gadu, Google Talk, Groupwise, ICQ, IRC, MSN, MySpaceIM, QQ, SILC, SIMPLE, Sametime, XMPP, Yahoo!, Zephyr

Add the launchpad repository :
sudo add-apt-repository ppa:pidgin-developers/ppa && sudo apt-get update

Then install it :
sudo apt-get install pidgin pidgin-data pidgin-lastfm pidgin-guifications msn-pecan pidgin-musictracker pidgin-plugin-pack pidgin-themes

Access it through Applications → Internet → Pidgin Internet Messenger .

Emesene only for MSN Messenger.

Add the launchpad repository :
sudo add-apt-repository ppa:bjfs/ppa && sudo apt-get update

Then install it :
sudo apt-get install emesene

Access it through Applications → Internet → Emesene .

15 – VOIP

Windows equivalent : skype

Ubuntu equivalent : skype

Skype

sudo apt-get install skype

Access it through Applications → Internet → Skype.

16 – Viewing PDF files

Windows equivalent : Adobe Reader

Ubuntu equivalent : Adobe Reader

Adobe Reader

sudo apt-get install acroread acroread-fonts

Access it through Applications → Office → Adobe Reader.

17– Adobe Air

wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.bin
chmod +x ./AdobeAIRInstaller.bin

./AdobeAIRInstaller.bin

Access it through Applications → Accessories → Adobe Air Application Installer.

18 – Music / MP3 / OGG Players

Windows equivalent : iTunes, Winamp

Ubuntu equivalent : Rhythmbox, Banshee, Amarok

Rhythmbox

sudo apt-get install rhythmbox

Access it through Applications → Sound & Video → Rhythmbox Music Player.

Banshee

sudo apt-get install banshee banshee-extension-lyrics banshee-extension-mirage

Access it through Applications → Sound & Video → Banshee Media Player.

Amarok

sudo apt-get install amarok amarok-common

Access it through Applications → Sound & Video → Amarok.

19– Hard Disk Partitions Manager

Windows equivalent : Symanted Partition Magic

Ubuntu equivalent : GParted

GParted

sudo apt-get install gparted ntfsprogs menu ntfs-config

Access it through System → Administration → Partition Editor.

20 – Vector Graphics Editor

Windows equivalent : Adobe Illustrator

Ubuntu equivalent : Inkscape

Inkscape

sudo apt-get install inkscape

Access it through Applications → Graphics → Inkscape Vector Graphics Editor.

21 – Image Editor

Windows equivalent : Adobe Photoshop

Ubuntu equivalent : GIMP

GIMP

Add the launchpad repository :
sudo add-apt-repository ppa:matthaeus123/mrw-gimp-svn && sudo apt-get update

Then install it with the following command :
sudo apt-get install gimp gimp-data gimp-plugin-registry gimp-data-extras

Access it through Applications → Graphics → GIMP Image Editor.

22 – 3D Graphics Applications

Windows equivalent : 3D Studio MAX

Ubuntu equivalent : Blender

Blender

sudo apt-get install blender

Access it through Applications → Graphics → Blender (windowed).

23 – Simple Yet Advanced Text Editor

Windows equivalent : Notepad ++

Ubuntu equivalent : GEdit

GEdit

sudo apt-get install gedit gedit-plugins

Access it through Applications → Accessories → Text Editor.

24 – Office Applications

Windows equivalent : Microsoft Office

Ubuntu equivalent : OpenOffice

OpenOffice

sudo apt-get install openoffice.org

Access it through Applications → Office

25 – Microsoft Visio

Windows equivalent : Microsoft Visio

Ubuntu equivalent : Dia

Dia

sudo apt-get install dia

Access it through Applications → Graphics → Dia Diagram Editor

26 – Microsoft Project

Windows equivalent : Microsoft Project

Ubuntu equivalent : OpenProj

OpenProj

wget http://nchc.dl.sourceforge.net/sourceforge/openproj/openproj_1.4-2.deb && sudo dpkg -i openproj_1.4-2.deb

Access it through Applications → Office → OpenProj

27 – Development IDE

Windows equivalent : Dreamweaver

Ubuntu equivalent : Quanta, Kompozer, NetBeans

Quanta

sudo apt-get install quanta

Access it through Applications → Programming → Quanta Plus

Komposer

sudo apt-get install kompozer nvu

Access it through Applications → Internet → Kompozer

NetBeans

sudo apt-get install netbeans

Access it through Applications → Programming → NetBeans IDE

28 – Source Control Management

Windows equivalent : TortoiseSVN

Ubuntu equivalent : RabbitVCS

RabbitVCS

Add the launchpad repository :
sudo add-apt-repository ppa:rabbitvcs/ppa && sudo apt-get update

Then install it :
sudo apt-get install rabbitvcs-nautilus
killall nautilus

Right Click on any folder or file and access the RabbitVCS submenu

29 – Graphical FTP clients

Windows equivalent : CuteFTP, SmartFTP

Ubuntu equivalent : FileZilla

FileZilla

This is great FTP program, very complete, in my opinion, the best one for linux.

On the terminal type:

sudo apt-get install filezilla filezilla-common

Access it through Applications → Internet → FileZilla FTP Client.

30 – P2P Clients / Servers, File Sharing

Windows equivalent : utorrent, azureus, emule

Ubuntu equivalent : Deluge, azureus, amule

Bittorent clients

Deluge (written in python)

Add the launchpad repository :
sudo add-apt-repository ppa:deluge-team/ppa && sudo apt-get update

Then install it :
sudo apt-get install deluge-torrent

Access it through Applications → Internet → Deluge Torrent.

Azureus: Uses Java to run, very complete but a bit heavy

sudo apt-get install azureus

Access it through Applications → Internet → Azureus.

Emule Donkey Clients

Amule

Add the launchpad repository :
sudo add-apt-repository ppa:happyaron/amule-dlp && sudo apt-get update

Then install it with the following command :
sudo apt-get install amule-dlp amule-dlp-gnome-support amule-dlp-utils-gui amule-dlp-daemon

Access it through Applications → Internet → aMule.

31 – Programs for CD burning with GUI

Windows equivalent : Nero, Roxio Easy CD Creator

Ubuntu equivalent : K3b, Brasero

K3b

Nero is available for linux,but its not free.A trial is available for 1 month usage and later it asks or activation code.But K3B is as good as Nero.Have a good feature set as Nero.

sudo apt-get install k3b k3b-data libk3b6

Access it through Applications → Sound & Video → K3B.

Brasero (installed by default in Lucid)

sudo apt-get install brasero

Access it through Applications → Sound & Video → Brasero Disc Burning .

32 – Mountings ISO files

Windows equivalent : Alcohol

Ubuntu equivalent : acetoneiso

Acetoneiso

The best one for linux ACETONEISO, which is similar to ALCOHOL in windows

its supports almost all formats. AcetoneISO is CD/DVD image manipulator for Linux.Using this tool it is very easy to Mount and Unmount ISO,MDF,NRG Images . I dont think its available in ubuntu repository.

sudo apt-get install libksba8 libenca0 libtwolame0 fuseiso kommander p7zip-full gnupg-agent gnupg2 pinentry-qt mencoder cdrdao && wget http://darkstar.ist.utl.pt/getdeb/ubuntu/jaunty/ac/acetoneiso_2.1.1-1~getdeb1_i386.deb && sudo dpkg -i acetoneiso_2.1.1-1~getdeb1_i386.deb

33 – Install Vista like gadgets.

Windows equivalent : Vista Sidebar

Ubuntu equivalent : google-gadgets

Google gadgets

sudo apt-get install google-gadgets-gtk

This will complete the installation.

Now press Alt+F2, and type “ggl-gtk” to start them. You should see a small icon show up in your system tray, and a sidebar. Right click on any of them and select ‘Add Gadgets’ to show a menu. If you’d like to have Google Gadgets start automatically, go to System – Preferences – Session, click ‘Add’, paste ‘Google Gadgets’ for the name and ‘ggl-gtk’ for the command. Click OK and Close, and you’re good to go.

34 – Google Desktop

Google Desktop allows one to full text search of a user’s e-mail, computer files, music, photos, chat, and Web pages viewed,OpenOffice documents , PDF files and more .

Now similar tools already existed on Linux like beagle (supported by novell ) , meta tracker etc . However Google Desktop search is not based on any of these tools and uses its proprietary algorithms to search for files on the computer ,also being 1.0 release and more stable then these products it could be preferred over tools like beagle .

To install Google Desktop Search type the following command in the terminal window : –

sudo apt-get install google-desktop-linux

Access it through Applications → Google Desktop → Google Desktop

Now after choosing appropriate option through Applications → Google Desktop → Google Desktop Preferences, you would find Google Desktop icon in the bar at the top of the screen , now it would automatically scan and index files on computer and store it in local database which could be searched using web browser .

35 – Photo Management

Google Picasa

Google Picasa is an extremely professional good looking photo management application available on Windows ,Linux and Mac OS. Now Google Picasa has a number of features that many photo management software on Linux dont have further Google Picasa looks very user friendly as compared to similar open source application available on linux . Now Google Picasa for Linux is not a native linux application but runs on Linux thru application layer called wine which allows many windows application to run flawlessly on Linux.

Now to install Google – Picasa type the following command in the terminal window

wget http://dl.google.com/linux/deb/pool/non-free/p/picasa/picasa_3.0-current_i386.deb && sudo dpkg -i picasa_3.0-current_i386.deb

Access it through Applications → Graphics → Picasa → Picasa

36 – Map Viewing and Management

Google Earth

To install Google Earth type the following command in the Terminal Window.

sudo aptitude install googleearth

After downloading is over you will get a screen like this press ¨Yes¨ to accept the license agreement and complete software installation.

Now you can launch Google Earth from Application → Internet → Google Earth

37 – Gmail Notification

Checkgmail

If you would like to get notified when you have a new mail in your google mail account, checkgmail is for you. To install Checkgmail type the following command in the Terminal Window.

sudo apt-get install checkgmail

Now you can launch it from Application → Internet → CheckGmail

38 – Configure Firewall
If you are concern about your security, then it is pertinent that you activate the firewall and prevent any unauthorized access to your computer.

UFW is installed by default, but if you need a graphical interface, install GUFW.

sudo apt-get install gufw

39– Gnome Do

Gnome Do is a small application that allows you to search and do things faster and more efficiently in your Ubuntu machine. It is similar to QuickSilver in Mac and Launchy in Windows. For those who have not tried Gnome Do before, it might take some time for you to get used to it. But once you’re hooked to it, there will be no turning back for you.Gnome Do also comes with a dock interface that you can use it like any other docks.

sudo apt-get install gnome-do

Now you can launch it from Application → Accessories → Gnome Do

40 – Ubuntu Tweak

Ubuntu Tweak allows you to tweak your system settings, all in one place. You can install new applications, customize your desktop settings, configure your startup applications, changing the system filetype association and many more tweaks in this single application.

Add the launchpad repository :
sudo add-apt-repository ppa:ubuntu-tweak-testing/ppa && sudo apt-get update

Then install it with the following command :
sudo apt-get install ubuntu-tweak

Then access it through Applications → System Tools → Ubuntu Tweak

App Runner

App Runner is a small open source utility that makes it very easy to run any type of program/executable/script on any distro/OS that uses the nautilus file manager: Debian/Ubuntu/Super OS/Fedora/etc

wget http://hacktolive.org/files/app_runner/App_Runner_0.2.deb && sudo dpkg -i App_Runner_0.2.deb

Then right-click the file -> Scripts -> Run This App or Run This App (root)

Removal of Sun-java-* in Lucid Lynx Ubuntu 10.04

For Ubuntu 10.04 LTS all the sun-java6* packages, which were formerly found in the Multiverse section of Ubuntu repositories, have been removed from the repositories. We recommend that you use openjdk-6 instead. When you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can find sun-java6* packages in the Canonical Partner Repository. You can add this repository via command-line:
add-

apt-repository “deb http://archive.canonical.com/ lucid partner”
or by manually adding the archive to your /etc/apt/sources.list with your favorite editor.

Send a Receive your Hotmail messages using Evolution

If you want to use you Evolution mail client to send and receive your hotmail messages use the following procedure.

First, make sure your system is up to date. Open up a terminal and type

sudo apt-get update

First You need to install the inet daemon

sudo apt-get install inetutils-inetd

This takes care of all of our dependencies.

Next You need to install pop3 server and hotsmtp

sudo apt-get install hotway hotsmtp

This will install hotway, which allows you to read hotmail e-mails by simulating a POP3 server, and hotsmtp, which allows you to send e-mail through hotmail using SMTP.

By default, however, only hotway gets installed properly to your inet daemon, so let’s fix this.

sudo gedit /etc/inetd.conf

Look for the following line

pop3 stream tcp nowait nobody /usr/sbin/tcpd /usr/bin/hotwayd

By default, hotway leaves a copy of each message it downloads on the server but if you don’t feel like filling up your hotmail box, change the line to add “-r” to the end, complete line looks like below

pop3 stream tcp nowait nobody /usr/sbin/tcpd /usr/bin/hotwayd -r

And we also need to add a line to get hotsmtpd working, just paste the following line at the bottom of the file

2500 stream tcp nowait nobody /usr/sbin/tcpd /usr/bin/hotsmtpd

This will set the inet daemon to listen to incoming calls on port 2500, and forward the connection to the hotsmtp daemon. Now, save your file, exit gedit, and restart your inetd server using the following command

sudo /etc/init.d/inetutils-inetd restart

If everything is working properly, you’ll see the following pop up on your screen

* Restarting internet superserver inetd [ ok ]

Now, close out of your terminal and start up Evolution. It may pop up the first-time use wizard, you can use that if you like. Or, you may have to go to Edit->Preferences and hit the Mail Accounts button on the left. However you choose to do it, here’s your information:

Email Address: xxx@hotmail.com (fill in your normal e-mail address that you use to login to hotmail)

Receive Server type: POP
Server: 127.0.0.1
Username: xxx@hotmail.com (same as above)
Security: No encryption
Authentication type: Password
(Remember password checkbox is up to you)

Send Server type: SMTP
Server: 127.0.0.1:2500
[X] Server requires authentication (check this box)
Use Secure Connection: No encryption
Authentication Type: PLAIN
Username: xxx@hotmail.com (same as above)
(Optional Remember password checkbox)

Important Update

Re: HOWTO: Send and Receive Hotmail through Evolution
Installation of hotwayd as described in the first post is no longer needed. It is mentioned earlier in this thread, but that info gets snowed under because every time new posts are added…

Since some time now, you can use the following settings just like any regular POP account:

Code:

Incoming server: pop3.live.com
Username: your_username @hotmail.com
Use secure connection: SSL
Authentication type: password

Outgoing server: smtp.live.com
Server requires authentication: yes
Security: SSL
Authentication type: plain

With these settings, you should be able to get is working without going through the hotway daemon (on 127.0.0.1) …

Install Eclipse with Sun JDK Ubuntu

Eclipse is an open source community whose projects are focused on building an open development platform comprised of extensible frameworks, tools and runtimes for building, deploying and managing software across the life cycle . A large and vibrant ecosystem of major technology vendors, innovative start-ups, universities, research institutions and individuals extend, complement and support the Eclipse platform.

Install Eclipse with Sun JDK in Ubuntu

sudo apt-get install eclipse sun-java6-jdk

This will install the required packages, however, Eclipse will run very slowly since it will be using GNU’s java, not Sun’s. We now need to make Sun’s java the default.

sudo update-java-alternatives -s java-6-sun

Next, edit the JVM configuration file

sudo -b gedit /etc/jvm

and add the following to the top of the file

/usr/lib/jvm/java-6-sun

There is a bug right now were Eclipse ignores Ubuntu’s java-common settings and uses its own (bug 45347). To work around the bug, you need to edit Eclipse’s java_home file

sudo -b gedit /etc/eclipse/java_home

and add

/usr/lib/jvm/java-6-sun

to the top of the file.

Lastly, if you have lots of memory you may want to increase the heap size (warning: If you make the heap size too large then parts of eclipse will continuously swap in and out.).The settings can be altered by editing the eclipse.ini file.

For feisty users:

sudo -b gedit /usr/lib/eclipse/eclipse.ini

The argument Xms refers to the minimum heap size and Xmx refers to the maximum heap size.

Install Acire Snippet (Python)

To install our rocking collection of snippets you need to first install the snippets library and then install the Acire viewer to view them.

Installing the Python Snippets Library

sudo add-apt-repository ppa:python-snippets-drivers/python-snippets-daily
sudo apt-get update
sudo apt-get install python-snippets

Install Acire

The best way to browse, learn from and use Python Snippets is by using Acire. You can install Acire with the following commands:

sudo add-apt-repository ppa:acire-team/acire-releases
sudo apt-get update
sudo apt-get install acire

To load Acire click ”Applications -> Programming -> Acire”.