LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-30-2012, 03:50 AM   #1
tauqeer207
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Rep: Reputation: Disabled
RPM Instalation


i m new to the Linux, i tried to install sambaclient but it says dependencies are missing, i dont know from where to download all these dependencies libs. can any one tell me how can i directly install the RPMs through terminal by commands.
 
Old 09-30-2012, 04:08 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and welcome to LinuxQuestions,

First of all, it's best to use the package manager that comes with your distribution and which will resolve any dependencies automatically instead of installing from RPM files. That should only be necessary if you have some specific needs, like latest version that's not available in any repository for example. It also is a good idea to mention what distro you are using so that we can give you a more adequate answer.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
Old 09-30-2012, 01:11 PM   #3
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Rep: Reputation: Disabled
Which Linux distro are you using? I do this on Fedora 17 from the BASH terminal.
Quote:
su -
Password: {Enter your root password here.}
#yum install samba-client
Answer 'Y' to the install request.

- Raj
 
Old 09-30-2012, 02:20 PM   #4
tauqeer207
LQ Newbie
 
Registered: Jun 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
i m using rhel 6, could you please also tell me from where i can download all the rpm to make its cd/dvd
 
Old 09-30-2012, 02:45 PM   #5
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Rep: Reputation: Disabled
I think you use yum. Try this from the bash command prompt.

Quote:
yum list installed
If that works, do a
Code:
yum install samba-client
I ran this as root on Fedora 17.
Code:
yum deplist samba-client
Loaded plugins: downloadonly, fastestmirror, langpacks, presto, refresh-
              : packagekit, tidy-cache
Loading mirror speeds from cached hostfile
 * fedora: mirror.steadfast.net
 * rpmfusion-free: mirror.liberty.edu
 * rpmfusion-free-updates: mirror.liberty.edu
 * rpmfusion-nonfree: mirror.liberty.edu
 * rpmfusion-nonfree-updates: mirror.liberty.edu
 * updates: mirror.steadfast.net
package: samba-client.i686 2:3.6.6-92.fc17.1
  dependency: /bin/sh
   provider: bash.i686 4.2.37-2.fc17
  dependency: /usr/bin/perl
   provider: perl.i686 4:5.14.2-212.fc17
  dependency: libc.so.6
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.0)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.1)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.1.3)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.11)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.15)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.2)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.2.3)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.2.4)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.3)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.3.2)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.3.3)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.3.4)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.4)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.5)
   provider: glibc.i686 2.15-57.fc17
  dependency: libc.so.6(GLIBC_2.8)
   provider: glibc.i686 2.15-57.fc17
  dependency: libcap.so.2
   provider: libcap.i686 2.22-2.fc17
  dependency: libcom_err.so.2
   provider: libcom_err.i686 1.42.3-2.fc17
  dependency: libdl.so.2
   provider: glibc.i686 2.15-57.fc17
  dependency: libdl.so.2(GLIBC_2.0)
   provider: glibc.i686 2.15-57.fc17
  dependency: libdl.so.2(GLIBC_2.1)
   provider: glibc.i686 2.15-57.fc17
  dependency: libgssapi_krb5.so.2
   provider: krb5-libs.i686 1.10.2-6.fc17
  dependency: libgssapi_krb5.so.2(gssapi_krb5_2_MIT)
   provider: krb5-libs.i686 1.10.2-6.fc17
  dependency: libk5crypto.so.3
   provider: krb5-libs.i686 1.10.2-6.fc17
  dependency: libk5crypto.so.3(k5crypto_3_MIT)
   provider: krb5-libs.i686 1.10.2-6.fc17
  dependency: libkrb5.so.3
   provider: krb5-libs.i686 1.10.2-6.fc17
  dependency: libkrb5.so.3(krb5_3_MIT)
   provider: krb5-libs.i686 1.10.2-6.fc17
  dependency: liblber-2.4.so.2
   provider: openldap.i686 2.4.32-2.fc17
  dependency: libldap-2.4.so.2
   provider: openldap.i686 2.4.32-2.fc17
  dependency: libncurses.so.5
   provider: ncurses-libs.i686 5.9-4.20120204.fc17
  dependency: libnsl.so.1
   provider: glibc.i686 2.15-57.fc17
  dependency: libnsl.so.1(GLIBC_2.0)
   provider: glibc.i686 2.15-57.fc17
  dependency: libpopt.so.0
   provider: popt.i686 1.13-10.fc17
  dependency: libpopt.so.0(LIBPOPT_0)
   provider: popt.i686 1.13-10.fc17
  dependency: libreadline.so.6
   provider: readline.i686 6.2-4.fc17
  dependency: libresolv.so.2
   provider: glibc.i686 2.15-57.fc17
  dependency: libresolv.so.2(GLIBC_2.2)
   provider: glibc.i686 2.15-57.fc17
  dependency: librt.so.1
   provider: glibc.i686 2.15-57.fc17
  dependency: librt.so.1(GLIBC_2.2)
   provider: glibc.i686 2.15-57.fc17
  dependency: libtalloc.so.2
   provider: libtalloc.i686 2.0.7-4.fc17
  dependency: libtalloc.so.2(TALLOC_2.0.2)
   provider: libtalloc.i686 2.0.7-4.fc17
  dependency: libtdb.so.1
   provider: libtdb.i686 1.2.10-15.fc17
  dependency: libtdb.so.1(TDB_1.2.1)
   provider: libtdb.i686 1.2.10-15.fc17
  dependency: libtdb.so.1(TDB_1.2.2)
   provider: libtdb.i686 1.2.10-15.fc17
  dependency: libtdb.so.1(TDB_1.2.5)
   provider: libtdb.i686 1.2.10-15.fc17
  dependency: libtinfo.so.5
   provider: ncurses-libs.i686 5.9-4.20120204.fc17
  dependency: libwbclient.so.0
   provider: samba4-libs.i686 2:4.0.0-58alpha18.fc17
   provider: libwbclient.i686 2:3.6.6-92.fc17.1
  dependency: libz.so.1
   provider: zlib.i686 1.2.5-7.fc17
  dependency: rtld(GNU_HASH)
   provider: glibc.i686 2.15-57.fc17
  dependency: samba-common = 2:3.6.6-92.fc17.1
   provider: samba-common.i686 2:3.6.6-92.fc17.1
Good luck!
- Raj
 
Old 09-30-2012, 04:15 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
in order to install software on RHEL6 you HAVE to have a red hat support contract
for the desktop
https://www.redhat.com/apps/store/desktop/
and if you have to ask then you WILL NEED the "Standard Subscription (1 year)" for $299 / per year

or

install one of the FREE rebuilds
CentOS 6.3
or
ScientificLinux 6.3

--- red hat ---
once you have activated your red hat account
( there is a very handy desktop link to do this )

you then can update your install and install samba
Code:
su -
--- your root password when asked ---
yum update
---- a new kernel will most likely be installed so ----
reboot
then

Code:
su -
--- your root password when asked ---
yum install samba-client

Last edited by John VV; 09-30-2012 at 04:16 PM.
 
Old 10-01-2012, 12:37 PM   #7
nijinashok00
LQ Newbie
 
Registered: Sep 2012
Posts: 28

Rep: Reputation: Disabled
If you have an ISO of RHEL 6 or an CD then you can easily create a repository. Reply if you have this.
 
  


Reply



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
problem d'instalation rpm piranha sous redhat 5 assouche Red Hat 1 02-15-2009 07:01 AM
instalation kamalkirat1 Linux - Software 2 11-21-2008 02:21 AM
squidGuard RPM instalation Dogar Linux - Software 0 02-23-2007 12:17 AM
how can I add a tarball instalation to the rpm database? mcastrillo Linux - Software 1 02-11-2005 10:26 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:33 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
Open Source Consulting | Domain Registration