LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2008, 04:35 AM   #1
Flipzo
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Rep: Reputation: 0
Logic of Installing Applications on Linux?


Could someone give me the logic on how to install applications on linux? I'm a total linux newbie. In windows all you need to have is the .exe file, run it then install the software with the installer. But how about on linux, how do you install programs? I tried to download some applications for linux but most of them are like source codes that I dont understand. I tried downloading winrar for linux, I just don't know how to install them. Hope someone could give me the logic. THanks...
 
Old 09-24-2008, 04:43 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Most distros have package mgrs that you use. They take care of dependencies etc. Have a look in the menu for something like Add/Remove Sw etc.
 
Old 09-24-2008, 04:57 AM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
I see you use CentOS 5 in your signature. If that is correct they you should use the yum command to install software.
Basically, you don't need any exe file. You can do that from the menu with add/remove software or something like that, or from the command line:
the problem with winrar is the win part. CentOS uses unrar:
yum install unrar
To search for software:
yum search rar
Will search all software with rar in the name.
 
Old 09-24-2008, 05:23 AM   #4
Flipzo
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Yup I use CentOS. I was looking for File-Roller, I checked the Add/Remove Programs, I saw the File-Roller checked there but how am I suppose to create a shortcut on my desktop to run File-Roller? Is that possible? I'm running Gnome. I tried the yum install unrar but it says that theres no unrar found. Does that mean that my yum is outdated? How can I add more stuffs on my yum? thanks...
 
Old 09-24-2008, 05:44 AM   #5
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Basically, unrar is a bad example, because it is plagged with noxious patents. It may be illegal in your country so it is not included in centos by default. You can add questionable sources like this :
http://www.osresources.com/11_6_en.html
 
Old 09-24-2008, 08:35 AM   #6
Flipzo
LQ Newbie
 
Registered: Sep 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Tnx agrouf but when I checked it, I just don't know what to do with it. Maybe I got used to the setup.exe thing to install files.. Thanks for the help anyway..
 
Old 09-24-2008, 10:36 AM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
1/ log in to root with that command:
su - root
(enter your password)

2/ edit /etc/yum.conf with that command:
gedit /etc/yum.conf

3/ Copy and paste the following to yum.conf:
Quote:
[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://ftp.belnet.be/packages/dries.ulyssis.org/redhat/el4/en/i386/dries/RPMS
gpgcheck=1
enabled=1
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
[kbs-CentOS-Extras]
name=CentOS.Karan.Org-EL$releasever - Stable
gpgcheck=1
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
enabled=1
baseurl=http://centos.karan.org/el$releasever/extras/stable/$basearch/RPMS/
[kbs-CentOS-Misc]
name=CentOS.Karan.Org-EL$releasever - Stable
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
gpgcheck=1
enabled=1
baseurl=http://centos.karan.org/el$releasever/misc/stable/$basearch/RPMS/
[kbs-CentOS-Misc-Testing]
name=CentOS.Karan.Org-EL$releasever - Testing
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
gpgcheck=1
enabled=1
baseurl=http://centos.karan.org/el$releasever/misc/testing/i386/RPMS/
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/fc$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1enabled=1
4/ enter those commands:
rpm --import http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
rpm --import http://dries.ulyssis.org/rpm/RPM-GPG-KEY.dries.txt
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
rpm --import http://ATrpms.net/RPM-GPG-KEY.atrpms

5/ update yum database with that command:
yum update

6/ install rar:
yum install rar
 
  


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
LXer: Installing applications in Linux (part II) LXer Syndicated Linux News 0 07-09-2008 04:00 AM
LXer: Installing applications on Linux LXer Syndicated Linux News 0 06-23-2008 07:20 AM
Linux Directory Structure/Installing Applications tdjb3 Linux - Newbie 3 12-29-2006 12:17 PM
Installing Applications to Linux O/S GeorgeOnDuty Red Hat 2 12-15-2006 10:52 AM
Installing Applications in Linux dmann304 Linux - General 58 12-02-2003 02:13 AM


All times are GMT -5. The time now is 05:45 AM.

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