Sunday, February 10, 2013

Install Virtual Box on Ubuntu 12.10

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open SourceSoftware under the terms of the GNU General Public License (GPL) version 2.

What is new in virtualbox 4.2.4
This is a maintenance release. The following items were fixed and/or added:
GUI: fixed validation warning on global settings / proxy page (4.2.2 regression, bug #11089)
GUI: fixed crash with multiple guest screens on certain conditions (OS X hosts only)
VBoxBalloonCtrl: fixed command line argument handling of ballooning module
VRDP: fixed occasional crash during a video playback in the guest (bug #11082)
BIOS: fixed broken DMI information (4.2 regression)
BIOS: workaround for booting from Windows 2000 floppy disks
EFI: fixed video mode selection loss on VM reboot (#10983)
Parallel: fixed parallel port printing failure/ paper queue empty error (Windows hosts only; bug #2226)
NAT: fixed crash on alias-less DNS responses when host-resolver is used
Storage: fixed hang under rare circumstances
Install VirtualBox 4.2.4 in ubuntu 12.10/12.04
Open the terminal and run the following commands
You need to edit /etc/apt/sources.list
gksudo gedit /etc/apt/sources.list
Add the following line
deb http://download.virtualbox.org/virtualbox/debian precise contrib
If you are running ubuntu 11.10 add the following line
deb http://download.virtualbox.org/virtualbox/debian oneiric contrib
Save and exit the file
Now install PGP key using the following command
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
Update source list
sudo apt-get update
Install virtualbox
sudo apt-get install virtualbox-4.2
If you have problem with the above PPA you can download .deb package from here.Once you have deb package you can double click on it to install this package.

Tuesday, February 5, 2013

Install RPM Package in Ubuntu

Some time you might find some applications are having only .rpm files but you want a .deb package for your debian,Ubuntu and other debian derived ditributions.If you can't find .deb debian package in any of the debian,ubuntu repositories or elsewhere, you can use the alien package converter to install the .rpm file.
Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.
Despite the large version number, alien is still (and will probably always be) rather experimental software. It has been used by many people for many years, but there are still many bugs and limitations.
Alien should not be used to replace important system packages, like sysvinit, shared libraries, or other things that are essential for the functioning of your system. Many of these packages are set up differently by Debian and Red Hat, and packages from the different distributions cannot be used interchangably. In general, if you can't uninstall the package without breaking your system, don't try to replace it with an alien version.
Install alien in Ubuntu
sudo apt-get install alien
This will install all the required packages.Now you can start converting your .rpm files to .deb packages.
Available Options for alien
Convert the package.rpm into a package.deb
sudo alien -d package-name.rpm
Convert the package.rpm into a package.deb, and install the generated package.
sudo alien -i package-name.rpm
If you want to keeps alien from changing the version number use the following command
sudo alien -k rpm-package-file.rpm
Example
Suppose we have a avg antivirus avg71lms-r30-a0782.i386.rpm file
To convert .rpm to debian
sudo alien -k avg71lms-r30-a0782.i386.rpm
Now you should be having avg71lms-r30-a0782.i386.deb file
To install .deb file
sudo dpkg -i avg71lms-r30-a0782.i386.deb
If you don't use -k option you should see avg71lms_r30-1_i386.deb file the difference is it will add 1
If you want more available options for alien check alien man page