magento
asked on
Linux help please
Hi,
I want to install a rpm package , but i dont have rpm installed . I dont have access to internet in that machine except i can connect via USB .
Is there a way i can install package manually in ubuntu 14...?
Thanks
I want to install a rpm package , but i dont have rpm installed . I dont have access to internet in that machine except i can connect via USB .
Is there a way i can install package manually in ubuntu 14...?
Thanks
ASKER
Hi,
I downloaded oracle and it has .rpm extension . That means i cant install oracle on Ubuntu ?
Even apt-get and dpkg i received the same error as unable to fetch url as it tried downloading dependencies and i dont have internet connection and it fails.
Is there a way i can download the packages manually connect via USB and placed them in ubuntu machine and install it manually?
Thanks
I downloaded oracle and it has .rpm extension . That means i cant install oracle on Ubuntu ?
Even apt-get and dpkg i received the same error as unable to fetch url as it tried downloading dependencies and i dont have internet connection and it fails.
Is there a way i can download the packages manually connect via USB and placed them in ubuntu machine and install it manually?
Thanks
ASKER
I do understand that using alien i have to convert rpm to deb packages.
How to install alien without internet connection , can i downloaad them manually and connect via usb to install it ?
Thanks
How to install alien without internet connection , can i downloaad them manually and connect via usb to install it ?
Thanks
Yes, You have to download it manually from Internet.
Please use this link to download alien
http://archive.ubuntu.com/ubuntu/pool/main/a/alien/alien_8.90_all.deb
Use Winscp if you are using Windows to upload the deb package on machine and place it your home folder or copy the same package on USB and finally install using following command
sudo dpkg -i alien_8.90_all.deb
Please use this link to download alien
http://archive.ubuntu.com/ubuntu/pool/main/a/alien/alien_8.90_all.deb
Use Winscp if you are using Windows to upload the deb package on machine and place it your home folder or copy the same package on USB and finally install using following command
sudo dpkg -i alien_8.90_all.deb
ASKER
Farooq Hussain,
Thank you so much .
This is what i am looking for .
Can you advice whether i need to download any other packages ? As this site says i have to download other 3 packages as well >>http://www.howtogeek.com/howto/ubuntu/install-an-rpm-package-on-ubuntu-linux/ .
Thank you so much .
This is what i am looking for .
Can you advice whether i need to download any other packages ? As this site says i have to download other 3 packages as well >>http://www.howtogeek.com/howto/ubuntu/install-an-rpm-package-on-ubuntu-linux/ .
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried that but it keeps on giving dependencies.Also i cant get temporary proxy in that machine.
I have windows 7 , is it possible i can install ubuntu in my PC ?
I have windows 7 , is it possible i can install ubuntu in my PC ?
Yes, Install Virtual Box and install Ubuntu inside Windows.
Ubuntu can also be installed as dual boot if you want or need speed. Virtual Box will run at about half the speed.
You can try apt-offline https://packages.debian.org/wheezy/apt-offline
You run this on the linux system to prepare the package to get and put it on USB.
apt-offline set --install-packages=alien /media/usbstick/offline.si g
On windows with internet, assuming your USB stick shows up as E:\ you download the package.
apt-offline get E:\offline.sig
Then you put the USB stick back on the linux system.
apt-offline install /media/usbstick/offline.zi p
Its a python script so you can run it anywhere with python installed. You'll have to manually download the necessary packages to first install apt-offline, if you don't have them already. This should require fewer packages, mainly python, than what you'd normally install. You can then install alien with all the package dependencies needed.
You can try apt-offline https://packages.debian.org/wheezy/apt-offline
You run this on the linux system to prepare the package to get and put it on USB.
apt-offline set --install-packages=alien /media/usbstick/offline.si
On windows with internet, assuming your USB stick shows up as E:\ you download the package.
apt-offline get E:\offline.sig
Then you put the USB stick back on the linux system.
apt-offline install /media/usbstick/offline.zi
Its a python script so you can run it anywhere with python installed. You'll have to manually download the necessary packages to first install apt-offline, if you don't have them already. This should require fewer packages, mainly python, than what you'd normally install. You can then install alien with all the package dependencies needed.
alien is a tool that converts rpms to dpkgs and vice versa.
You can't install an RPM based file on Ubuntu (Debian).
You want to look at atp-get (the RH based Yum equivalent for Debian based systems), and "dpkg" for manually installing .deb package files, similar to how RMP manages .rpm packages on RH.
In other words, Ubuntu / Debian systems use apt-get and dpkg similar to RH systems use of yum and RPM.
Hope that clears it up for you.