البرمجة

كيفية تثبيت curl على Ubuntu 14.04

To install curl on Ubuntu 14.04, you can use the following steps:

  1. Open a terminal window by pressing Ctrl + Alt + T.
  2. Update your package index to ensure you have the latest version of the package lists:
    bash
    sudo apt-get update
  3. Install curl by running the following command:
    bash
    sudo apt-get install curl
  4. Once the installation is complete, you can verify the installation by checking the version of curl:
    bash
    curl --version

Curl should now be installed on your Ubuntu 14.04 system. You can use it to transfer data to or from a server, using one of the supported protocols such as HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP, or FILE.

المزيد من المعلومات

عند تثبيت curl على Ubuntu 14.04، فإنه يعتمد على حزم أساسية تحتاج إلى توفرها على نظامك. من ضمن هذه الحزم:

  1. libcurl3: هذه الحزمة توفر مكتبة libcurl الأساسية التي يعتمد عليها curl للقيام بعمليات النقل.
  2. libcurl3-gnutls: بعض التوزيعات تستخدم نسخة من libcurl مدمجة مع GnuTLS بدلاً من OpenSSL. هذه الحزمة تقدم الدعم اللازم ل GnuTLS.
  3. libgnutls26 (أو أحدث): إذا كنت تستخدم نسخة تعتمد على GnuTLS.
  4. libidn11: هذه الحزمة توفر دعم لمعالجة الأسماء النطاقية الدولية (IDN) في curl.
  5. libldap-2.4-2: إذا كنت تخطط لاستخدام LDAP مع curl.

يمكنك تثبيت هذه الحزم بسهولة باستخدام apt-get. على سبيل المثال، لتثبيت libcurl3 و libcurl3-gnutls، يمكنك استخدام الأمر التالي:

bash
sudo apt-get install libcurl3 libcurl3-gnutls

يجب أن يتعرف نظام Ubuntu 14.04 على الحزم الأخرى التي قد تكون ضرورية تلقائيًا ويتم تثبيتها بالتزامن مع curl.

مقالات ذات صلة

زر الذهاب إلى الأعلى

هذا المحتوى محمي من النسخ لمشاركته يرجى استعمال أزرار المشاركة السريعة أو تسخ الرابط !!