LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-18-2009, 02:44 AM   #1
pawanmalnad
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Rep: Reputation: 0
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.
 
Old 12-18-2009, 02:55 AM   #2
pawanmalnad
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Question 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.

Last edited by pawanmalnad; 12-18-2009 at 02:56 AM.
 
Old 12-18-2009, 03:09 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
You can not find the package you like to install in the package manager (Synaptic ) ?
That is the most easy way installing software.
 
Old 12-18-2009, 03:50 AM   #4
pawanmalnad
LQ Newbie
 
Registered: Sep 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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 ?????
 
Old 12-18-2009, 03:55 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Take a look at
http://www.sorgonet.com/linux/installing/
and
http://www.google.com
 
Old 12-18-2009, 06:09 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,920
Blog Entries: 51

Rep: Reputation: Disabled
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.
 
Old 12-18-2009, 06:15 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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.
 
Old 12-18-2009, 06:24 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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.
 
Old 12-18-2009, 06:50 AM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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
--or--
Code:
$ tar -vjxf pkgname-version.tar.bz2
Then:

Code:
$ cd pkgname-version
$ ./configure
$ make
$ su
# make install
# exit
$ make clean
If ./configure gives an error message, it is probably a missing dependency. Try installing the dependency with your package manager, otherwise download its source package. Then run ./configure again, look for errors, and continue.

Last edited by MTK358; 12-18-2009 at 06:56 AM.
 
Old 12-18-2009, 10:46 AM   #10
anand.arumug
Member
 
Registered: Oct 2009
Location: Dayton, Ohio
Distribution: ubuntu, centos
Posts: 68
Blog Entries: 2

Rep: Reputation: 16
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.
 
Old 12-18-2009, 10:56 AM   #11
cpplinux
Member
 
Registered: Dec 2009
Posts: 37

Rep: Reputation: 17
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.
 
Old 12-18-2009, 11:36 AM   #12
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
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).
 
Old 12-30-2009, 12:07 PM   #13
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The two related threads have been merged. Please don't double post in the same or different forums.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 manually add SATA driver manually when kernel boot? aixilin Linux - Kernel 6 08-15-2008 10:36 AM
Manually add programs into the Gnome Application Browser in 10.2 Hawky Suse/Novell 2 02-22-2007 05:23 PM
Question about installing and configuring programs manually agentchange Linux - Software 1 06-28-2006 02:24 AM
manually install mysql, php, and apache or install from CD? FiveFlat Linux - Software 5 12-15-2005 01:12 PM
How to install lilo manually kool_kid Slackware - Installation 17 02-03-2005 12:40 PM


All times are GMT -5. The time now is 01:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration