একটি অফলাইন উবুন্টু 7.10 এ জিআইটি ইনস্টল করবেন কীভাবে?


1

আমি জিআইটি ইনস্টল করতে ম্যানুয়াল থেকে নিম্নলিখিত কমান্ডগুলি ব্যবহার করছি

$ tar -zxf git-1.7.2.2.tar.gz
$ cd git-1.7.2.2
$ make prefix=/usr/local all
$ sudo make prefix=/usr/local install

তবে আমি নিম্নলিখিত ব্যতিক্রমগুলি গ্রহণ করছি

...
cache.h: At top level:
cache.h:746: error: expected declaration specifiers or â...â before âtime_tâ
cache.h:889: warning: âstruct timevalâ declared inside parameter list
cache.h:895: warning: âstruct timevalâ declared inside parameter list
cache.h:970: error: expected specifier-qualifier-list before âoff_tâ
cache.h:979: error: expected specifier-qualifier-list before âoff_tâ
cache.h:997: error: expected specifier-qualifier-list before âoff_tâ
cache.h:1057: error: expected declaration specifiers or â...â before âoff_tâ
cache.h:1063: error: expected declaration specifiers or â...â before âuint32_tâ
cache.h:1064: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before ânt                                                                                                                     h_packed_object_offsetâ
cache.h:1065: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âfi                                                                                                                     nd_pack_entry_oneâ
cache.h:1067: error: expected declaration specifiers or â...â before âoff_tâ
cache.h:1069: error: expected declaration specifiers or â...â before âoff_tâ
cache.h:1070: error: expected declaration specifiers or â...â before âoff_tâ
cache.h:1094: error: expected specifier-qualifier-list before âoff_tâ
cache.h:1168: error: expected â)â before â*â token
cache.h:1177: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âre                                                                                                                     ad_in_fullâ
cache.h:1178: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âwr                                                                                                                     ite_in_fullâ
cache.h:1179: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âwr                                                                                                                     ite_str_in_fullâ
cache.h:1252: error: expected declaration specifiers or â...â before âFILEâ
In file included from credential-store.c:2:
credential.h:28: error: expected declaration specifiers or â...â before âFILEâ
credential.h:29: error: expected declaration specifiers or â...â before âFILEâ
In file included from credential-store.c:4:
parse-options.h:115: error: expected specifier-qualifier-list before âintptr_tâ
credential-store.c: In function âparse_credential_fileâ:
credential-store.c:13: error: âFILEâ undeclared (first use in this function)
credential-store.c:13: error: âfhâ undeclared (first use in this function)
credential-store.c:17: warning: implicit declaration of function âfopenâ
credential-store.c:19: error: âerrnoâ undeclared (first use in this function)
credential-store.c:19: error: âENOENTâ undeclared (first use in this function)
credential-store.c:24: error: too many arguments to function âstrbuf_getlineâ
credential-store.c:24: error: âEOFâ undeclared (first use in this function)
credential-store.c:39: warning: implicit declaration of function âfcloseâ
credential-store.c: In function âprint_entryâ:
credential-store.c:44: warning: implicit declaration of function âprintfâ
credential-store.c:44: warning: incompatible implicit declaration of built-in fu                                                                                                                     nction âprintfâ
credential-store.c: In function âmainâ:
credential-store.c:132: warning: implicit declaration of function âumaskâ
credential-store.c:144: error: âstdinâ undeclared (first use in this function)
credential-store.c:144: error: too many arguments to function âcredential_readâ
credential-store.c:147: warning: implicit declaration of function âstrcmpâ

আমি নির্ভরতা ইনস্টল না করার কারণে এটি কি?

apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev

আমি কীভাবে এগুলি অফলাইনে ইনস্টল করব?

উত্তর:


0

গিট অফলাইনে ইনস্টল করতে আপনি sudo apt-get install gitপ্যাকেজগুলির ইউআরএলগুলি টাইপ করতে এবং অনুলিপি করতে পারবেন অ্যাপ্লিকেশন - ডাউনলোডের চেষ্টা করে। তারপরে আপনি এগুলি অন্য পিসিতে ডাউনলোড করতে পারেন এবং ডাউনলোডের .deb-ফাইলগুলি ম্যানুয়ালি gdebi এর সাথে ইনস্টল করতে পারেন বা ইনস্টল না থাকলে টাইপ করে dpkg -i packagename.deb

নোট করুন যে প্যাকেজগুলির উপর নির্ভর করে প্রতিটি নির্ভরতা ইনস্টল করা হয়েছে তা নিশ্চিত করার জন্য আপনাকে সঠিক ক্রমে প্যাকেজগুলি ইনস্টল করতে হবে।

আমাদের সাইট ব্যবহার করে, আপনি স্বীকার করেছেন যে আপনি আমাদের কুকি নীতি এবং গোপনীয়তা নীতিটি পড়েছেন এবং বুঝতে পেরেছেন ।
Licensed under cc by-sa 3.0 with attribution required.