How to setup and use YUM on Fedora Linux कैसे और स्थापना के लिए उपयोग Fedora Linux पर yum

by Sukrit Dhandhania on May 19, 2009 Sukrit Dhandhania द्वारा 19 मई 2009 पर

लिनक्स

YUM is a very cool software installation and management tool for Red Hat Linux based systems. Yum एक बहुत ही अच्छा सॉफ्टवेयर स्थापना और Red Hat Linux के लिए प्रबंधन उपकरण सिस्टम पर आधारित है. It makes installing new packages or updating existing ones a breeze by taking care of installing all the dependancies. यह सब dependancies स्थापित करने का ख्याल रखने के नए संकुल अद्यतन करने या मौजूदा वाले एक हवा स्थापित करता है. Let's look at how to set it up on a Fedora Linux machine and then how to use it. चलो इसे सेट अप कैसे एक Fedora Linux मशीन पर है और फिर इसका इस्तेमाल कैसे देखो.

If you don't have YUM installed on your Linux machine then get it from project's home page यदि आप नहीं है yum आपके Linux मशीन पर स्थापित है तो यह परियोजना की घर पृष्ठ से मिल http://linux.duke.edu/projects/yum/download.ptml http://linux.duke.edu/projects/yum/download.ptml . . After downloading the latest release of YUM for your version of Fedora Linux install it. बाद yum के Fedora Linux के आपके संस्करण के लिए नवीनतम जारी डाउनलोड इसे स्थापित करें.

# rpm -ivh yum-2.0.3-0.fdr.1.rh90.noarch.rpm # Rpm-ivh yum 2.0.3--0.fdr.1.rh90.noarch.rpm

Once installed correctly you should be able to access YUM from using the command yum . एक बार सही ढंग से स्थापित आप कमांड yum yum का उपयोग करने से उपयोग में सक्षम होना चाहिए. Lets configure YUM before we begin using it. Configure yum आओ पहले हम इसे का उपयोग शुरू करते हैं. The configuration basically consists of adding a number of RPM repositories so that YUM can fetch the RPM packages and dependent packages required. मूल रूप से RPM विन्यास खजाने की संख्या जोड़ने ताकि yum RPM संकुल और निर्भर संकुल की जरूरत लेने सकते हैं शामिल हैं. Open the /etc/yum.conf file in a text editor and add the following lines at the end of the file: / Etc एक पाठ संपादक में / yum.conf फ़ाइल खोलें और फ़ाइल के अंत में निम्नलिखित पंक्ति जोड़ें:

[base] [आधार]
name=Fedora Core $releasever – $basearch – Base नाम = Fedora कोर releasever $ $ - basearch - कोष
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag baseurl = $ http://apt.sw.be/fedora/ releasever / en / $ basearch / बड़ा तमंचा
baseurl=http://mirrors.kernel.org/fedora/core/$releasever/$basearch/os baseurl = http://mirrors.kernel.org/fedora/core/ $ releasever / basearch $ OS /

Save the file and quit your text editor. फ़ाइल सहेजें और अपने पाठ संपादक छोड़ दिया. Now install GPG signature key for this server with the following command: अब निम्न कमांड के साथ इस सर्वर के लिए GPG हस्ताक्षर कुंजी स्थापित करें:

# rpm –import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt # Rpm-आयात http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

You can add other repositories in a similar manner. तुम इसी तरह के अन्य खजाने जोड़ सकते हैं. Remember to install the GPG key for them if you do. उनके लिए GPG कुंजी अधिष्ठापित याद रखना अगर तुम्हें है. Now update your YUM database so it contains the packages form the new repository: अब तुम्हारी yum डेटाबेस अद्यतन इसलिए यह संकुल को समाहित नए भंडार फार्म:

# yum check-update # Yum जांच अद्यतन

Now if you want to install a package all you have to do is run the command yum install followed by the package name. अब अगर तुम एक पैकेज स्थापित करना चाहते हैं आप सब को यह करना है yum कमांड स्थापित संकुल नाम के बाद चला रहे हैं. Say you want to install the package cowsay , run the following command: कहते हैं कि तुम को पैकेज cowsay स्थापित करना चाहते हैं, निम्न कमांड चलायें:

# yum install cowsay # Yum cowsay स्थापित

If this package is in any of the repositories you have listed in your yum.conf file, YUM will promptly install it along with any dependencies. यदि इस पैकेज खजाने आप अपने yum.conf फ़ाइल में सूचीबद्ध है की किसी में है, yum तुरंत इसे स्थापित करने के किसी भी निर्भरता के साथ होगा. If not, it will report that it's not available. यदि नहीं, तो यह रिपोर्ट देगा कि यह उपलब्ध नहीं है.

If you want to update all the packages in your system run this command: यदि आप अपने सिस्टम इस कमांड चलाने में सभी संकुल को अद्यतन करना चाहते हैं:

# yum update # Yum अद्यतन

If you want to upgrade a single package: यदि आप एक पैकेज का उन्नयन करना चाहते हैं:

# yum update cowsay # Yum अद्यतन cowsay

To remove an installed package: स्थापित करने के लिए एक पैकेज निकालने के लिए:

# yum remove cowsay # Yum cowsay हटा

You can also get a list of all the packages installed on your computer using this command: तुम भी सब अपने कंप्यूटर पर स्थापित इस कमांड का प्रयोग संकुल की एक सूची प्राप्त कर सकते हैं:

# yum list installed # Yum सूची स्थापित

To get a list of all the updates available for your system: सभी अपने सिस्टम के लिए उपलब्ध अद्यतन की सूची प्राप्त करें:

# yum list updates # Yum सूची अद्यतन

YUM is a very powerful tool and it can make managing packages on a Linux system really simple. Yum एक बहुत शक्तिशाली उपकरण है और यह एक Linux सिस्टम पर संकुल वास्तव में प्रबंध आसान बना सकते हैं. Ubuntu users may be familiar with apt-get , a similar automated package installation tool. Ubuntu उपयुक्त से परिचित हो सकते हैं उपयोगकर्ता-हो, एक समान स्वचालित संकुल अधिष्ठापन उपकरण. If you have a large number of Linux machines in your network you can optionally setup a local YUM repository which can save you a lot of bandwidth. यदि आप लिनक्स मशीनों के अपने नेटवर्क में बड़ी संख्या में वैकल्पिक आप एक स्थानीय yum भण्डार है जो आप बैंडविड्थ की एक बहुत कुछ बचा सकता सेटअप कर सकते हैं.

Related Posts: संबंधित पोस्ट:
  • How to install Fedora 7 using VirtualBox for OS X – a complete walkthrough कैसे 7 Fedora स्थापित करने के लिए ओएस एक्स के लिए VirtualBox प्रयोग - एक पूरा walkthrough
  • How to add and remove services from startup on Fedora Linux और कैसे जोड़ने के लिए Fedora Linux पर स्टार्टअप से सेवाओं को दूर
  • How to customize the EeeDora Panel कैसे EeeDora पैनल अनुकूलित करने के लिए
  • How to play MP3 files in Fedora कैसे Fedora में एमपी 3 फ़ाइलें खेलने के लिए
  • How to block DDOS attacks in Linux कैसे Linux में DDOS हमलों को ब्लॉक
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! बस अपने ईमेल इनबॉक्स के लिए मुफ्त हर दिन - में यह एक तरह सरल सहायता ट्यूटोरियल जाओ! Just enter your email address below: बस नीचे अपना ईमेल पता दर्ज करें:

    You can always opt out of this email subscription at any time. तुम हमेशा इस ईमेल सदस्यता से बाहर किसी भी समय विकल्प चुन सकते हैं.

    { 1 trackback } (1) Trackback

    How to setup Yum « Linux & Stuff सेटअप को कैसे यम «लिनक्स और सामग्री
    05.28.09 at 10:50 am 10:50 पर 05.28.09 हूँ

    { 0 comments… (0 टिप्पणियाँ ... add one now एक अभी जोड़ें } )

    Leave a Comment एक टिप्पणी छोड़ दो

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> आप ये HTML टैग और विशेषताएँ: <a href="" उपयोग title=""> <abbr title=""> <acronym कर सकते हैं <blockquote title=""> <b> cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>