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 04-30-2015, 06:26 AM   #1
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Rep: Reputation: Disabled
Check dependency and install application from internet in red-hat,ubuntu,cent-os .


Hello friends,

I want to write script, In which i have to check dependency of application and download it from internet at the time of installation or by another way to check the dependency online.
for eg. mysql,mariadb,nano,netbeans etc.
Please suggest me how can I do that.
 
Old 04-30-2015, 06:32 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
For those distros you mention, the package manager automatically installs dependencies.
 
Old 04-30-2015, 06:40 AM   #3
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
yeah,you are ri8 my friend.
But I m doing minimal installation of red-hat. so sometimes I faced "xyz" library is not found , And I want to setup development environment. so its required different dependencies for different application or libraries.
 
Old 04-30-2015, 06:46 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
You can usually find out on the application's website what dependencies are needed.
 
Old 04-30-2015, 07:06 AM   #5
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
I got error while installing remmina, some dependencies were not found. and i want to install that application with auto dependencies.
 
Old 04-30-2015, 10:44 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
for redhat it is very easy to check for dependencies
RHEL 7.1 is the current

a long time ago in a ... far away....

in RHEL5 there was introduced YUM!!!

CentOS is a rebuild of RHEL


so to check
Code:
su -
yum update 
---- or ------
yum install ProgramName
---- or ----
yum groupinstall "Development Tools"
 
Old 05-01-2015, 09:20 AM   #7
prasad1990
LQ Newbie
 
Registered: Feb 2015
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for reply guys...
 
  


Reply

Tags
perlscript, shell script


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 can i install a application in red hat linux awnishkumar Linux - Desktop 3 11-06-2009 01:31 PM
install an application in red hat 9 waleedazzez Red Hat 2 09-22-2006 07:02 AM
red hat install freezez on partition check zacyamak Linux - Newbie 1 11-16-2003 12:05 AM
Install of movie application - Red Hat v9 davidjchurchill Linux - Software 1 10-18-2003 04:59 AM


All times are GMT -5. The time now is 10:33 PM.

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