How Do I Manually Install Programs
Hi,
I am using dual OS in my system. 1. Windows Xp 2. PC Linux OS I manually download .rpm files or .tar.gz files to Linux, i tried unzipping(.tar.gz file) it in Linux after unzipping i couldn't install it, cos i was not able to find .rpm file in it, though it was downloaded for Linux Forum . I tried all the possibilities but didn't work. same happened while installing .rpm file.I am confused am i selecting the right cmd or not. rpm - i xyz.rpm ------ to install in PC linux OS( yum doesn't respond) tar -xvzf ------------ to extract .tar.gzip file Please guide me how to install a package in Linux after manually downloading it from the internet. |
Installation Problem of downloaded software in Linux
Hi,
I am using dual OS in my system. 1. Windows Xp 2. PC Linux OS I manually download .rpm files or .tar.gz files to Linux, i tried unzipping(.tar.gz file) it in Linux after unzipping i couldn't install it, cos i was not able to find .rpm file in it, though it was downloaded for Linux Forum . I tried all the possibilities but didn't work. same happened while installing .rpm file.I am confused am i selecting the right cmd or not. rpm - i xyz.rpm ------ to install in PC linux OS( yum doesn't respond) tar -xvzf ------------ to extract .tar.gzip file Please guide me how to install a package in Linux after manually downloading it from the internet. If anyone not able to make out the problem please leave the comment. |
You can not find the package you like to install in the package manager (Synaptic ) ?
That is the most easy way installing software. |
Hi ron :),
The problem is i am not connected to internet, so my packages are not getting updated. So i am trying manually downloading and installing the same. So i am not able to install it. Apart from Synaptic there is no other option to upgrade software in my Linux system ????? |
|
I've never used PC Linux OS, so I can't help with that. With .tar.gz files, after expanding, you'll usually find two text files: readme and install, that give instructions what to do next.
|
First, always try the package manager first. Most of the SW you need should be available there. In some cases, you can specify additional repositories.
As BrianL says, a tar.gz can contain a variety of things---not necessarily an .rpm file. How you install depends on exactly what you are installing---if you tell us what it is, we can maybe give more help. |
I just noticed that this is a duplicate---since both have replies, we'll get them merged.
In the future, one thread per topic, please. |
First, you should see if your package manager has the package.
If not, get the .tar.gz or .tar.bz2 file. These files contain the source code of the program, not RPMs. Here's how to compile most source packages (do not type in the $'s and #'s, they represent the prompt): Code:
$ tar -vzxf pkgname-version.tar.gz Code:
$ tar -vjxf pkgname-version.tar.bz2 Code:
$ cd pkgname-version |
RE: How Do I Manually Install Programs
I hope the following URL has the details you need to know about installing and removing software in your PCLinuxOS:
http://www.pclinuxos.com/wiki/index....age_Management Hope it helps. |
tar.gz usually contains source code. You should build it first. And when you install it or run rpm, make sure you have enough privilege -- e.g. as root.
|
If you downloaded the rpm locally, you can try to install it with yum by doing:
yum localinstall package.rpm Note the command "localinstall" instead of the usual "install". Also, make sure your rpm is for PCLinuxOS and not for the other rpm-based distros. As for the .tar.gz file, it could contain anything. If it's source code and you don't know how to build from source I suggest you forget about it. If it's a generic Linux binary (which is not distribution-specific) then it usually doesn't require installation and you can just try to run it. Sometimes .tar.gz files have installers in them which you run (like setup.exe in Windows). |
The two related threads have been merged. Please don't double post in the same or different forums.
|
All times are GMT -5. The time now is 07:22 PM. |