How do I install Samba on Red Hat Linux?











up vote
2
down vote

favorite












I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but havent a clue what to do now, is there an RPM file buried in there somewhere I can run?










share|improve this question















migrated from stackoverflow.com Oct 25 '11 at 20:38


This question came from our site for professional and enthusiast programmers.















  • normally on RHEL or Fedora, you simply do yum install samba
    – Bill Lynch
    Oct 25 '11 at 16:26















up vote
2
down vote

favorite












I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but havent a clue what to do now, is there an RPM file buried in there somewhere I can run?










share|improve this question















migrated from stackoverflow.com Oct 25 '11 at 20:38


This question came from our site for professional and enthusiast programmers.















  • normally on RHEL or Fedora, you simply do yum install samba
    – Bill Lynch
    Oct 25 '11 at 16:26













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but havent a clue what to do now, is there an RPM file buried in there somewhere I can run?










share|improve this question















I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but havent a clue what to do now, is there an RPM file buried in there somewhere I can run?







linux samba






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 at 20:18









Rui F Ribeiro

38.3k1475126




38.3k1475126










asked Oct 25 '11 at 16:11









Jim

113113




113113




migrated from stackoverflow.com Oct 25 '11 at 20:38


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Oct 25 '11 at 20:38


This question came from our site for professional and enthusiast programmers.














  • normally on RHEL or Fedora, you simply do yum install samba
    – Bill Lynch
    Oct 25 '11 at 16:26


















  • normally on RHEL or Fedora, you simply do yum install samba
    – Bill Lynch
    Oct 25 '11 at 16:26
















normally on RHEL or Fedora, you simply do yum install samba
– Bill Lynch
Oct 25 '11 at 16:26




normally on RHEL or Fedora, you simply do yum install samba
– Bill Lynch
Oct 25 '11 at 16:26










2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










It sounds like you downloaded the Samba source, and that's not what you want right now. Use yum install samba. That will find the correct RPM for your machine on a RedHat (or other trusted) server, download it, and install it for you. If yum gives you a message about not having permissions, use sudo yum install samba. If that says sudo: command not found, type su to switch to the root user, then yum install sudo samba. Remember to log out of root (logout or ctrl-d) as soon as you can; you shouldn't do more as root than you need to.






share|improve this answer




























    up vote
    0
    down vote













    My RedHat is not registered,



    # yum install samba
    Loaded plugins: product-id, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use su
    bscription-manager to register.
    Setting up Install Process
    No package samba available.
    Nothing to do


    Is there a way to install without the yum command, like the question above "is there an RPM file buried in there somewhere I can run?"






    share|improve this answer























    • Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates.
      – Martin von Wittich
      Sep 24 '13 at 13:42











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f23298%2fhow-do-i-install-samba-on-red-hat-linux%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    5
    down vote



    accepted










    It sounds like you downloaded the Samba source, and that's not what you want right now. Use yum install samba. That will find the correct RPM for your machine on a RedHat (or other trusted) server, download it, and install it for you. If yum gives you a message about not having permissions, use sudo yum install samba. If that says sudo: command not found, type su to switch to the root user, then yum install sudo samba. Remember to log out of root (logout or ctrl-d) as soon as you can; you shouldn't do more as root than you need to.






    share|improve this answer

























      up vote
      5
      down vote



      accepted










      It sounds like you downloaded the Samba source, and that's not what you want right now. Use yum install samba. That will find the correct RPM for your machine on a RedHat (or other trusted) server, download it, and install it for you. If yum gives you a message about not having permissions, use sudo yum install samba. If that says sudo: command not found, type su to switch to the root user, then yum install sudo samba. Remember to log out of root (logout or ctrl-d) as soon as you can; you shouldn't do more as root than you need to.






      share|improve this answer























        up vote
        5
        down vote



        accepted







        up vote
        5
        down vote



        accepted






        It sounds like you downloaded the Samba source, and that's not what you want right now. Use yum install samba. That will find the correct RPM for your machine on a RedHat (or other trusted) server, download it, and install it for you. If yum gives you a message about not having permissions, use sudo yum install samba. If that says sudo: command not found, type su to switch to the root user, then yum install sudo samba. Remember to log out of root (logout or ctrl-d) as soon as you can; you shouldn't do more as root than you need to.






        share|improve this answer












        It sounds like you downloaded the Samba source, and that's not what you want right now. Use yum install samba. That will find the correct RPM for your machine on a RedHat (or other trusted) server, download it, and install it for you. If yum gives you a message about not having permissions, use sudo yum install samba. If that says sudo: command not found, type su to switch to the root user, then yum install sudo samba. Remember to log out of root (logout or ctrl-d) as soon as you can; you shouldn't do more as root than you need to.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 25 '11 at 21:08









        Kevin

        26.7k106198




        26.7k106198
























            up vote
            0
            down vote













            My RedHat is not registered,



            # yum install samba
            Loaded plugins: product-id, security, subscription-manager
            This system is not registered to Red Hat Subscription Management. You can use su
            bscription-manager to register.
            Setting up Install Process
            No package samba available.
            Nothing to do


            Is there a way to install without the yum command, like the question above "is there an RPM file buried in there somewhere I can run?"






            share|improve this answer























            • Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates.
              – Martin von Wittich
              Sep 24 '13 at 13:42















            up vote
            0
            down vote













            My RedHat is not registered,



            # yum install samba
            Loaded plugins: product-id, security, subscription-manager
            This system is not registered to Red Hat Subscription Management. You can use su
            bscription-manager to register.
            Setting up Install Process
            No package samba available.
            Nothing to do


            Is there a way to install without the yum command, like the question above "is there an RPM file buried in there somewhere I can run?"






            share|improve this answer























            • Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates.
              – Martin von Wittich
              Sep 24 '13 at 13:42













            up vote
            0
            down vote










            up vote
            0
            down vote









            My RedHat is not registered,



            # yum install samba
            Loaded plugins: product-id, security, subscription-manager
            This system is not registered to Red Hat Subscription Management. You can use su
            bscription-manager to register.
            Setting up Install Process
            No package samba available.
            Nothing to do


            Is there a way to install without the yum command, like the question above "is there an RPM file buried in there somewhere I can run?"






            share|improve this answer














            My RedHat is not registered,



            # yum install samba
            Loaded plugins: product-id, security, subscription-manager
            This system is not registered to Red Hat Subscription Management. You can use su
            bscription-manager to register.
            Setting up Install Process
            No package samba available.
            Nothing to do


            Is there a way to install without the yum command, like the question above "is there an RPM file buried in there somewhere I can run?"







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Sep 24 '13 at 13:01









            Anthon

            59.8k17102163




            59.8k17102163










            answered Sep 24 '13 at 12:44









            Tim Wachenfeld

            1




            1












            • Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates.
              – Martin von Wittich
              Sep 24 '13 at 13:42


















            • Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates.
              – Martin von Wittich
              Sep 24 '13 at 13:42
















            Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates.
            – Martin von Wittich
            Sep 24 '13 at 13:42




            Are you sure that you want to use RHEL and not CentOS? As far as I know, you have to pay for RHEL updates.
            – Martin von Wittich
            Sep 24 '13 at 13:42


















             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f23298%2fhow-do-i-install-samba-on-red-hat-linux%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            サソリ

            広島県道265号伴広島線

            Accessing regular linux commands in Huawei's Dopra Linux