কম্পিউটার টিউটোরিয়াল

Ubuntu 13.04 (Raring Ringtail)-এ Skype ইনস্টল করার ধাপে ধাপে গাইড

Note: This article was written before version Skype Linux 4.2 was officially released, so some of the stuff written here might no longer apply, and everything could work smooth as butter. Or not. So do read please.

مؤخراً, আমি একটি নতুন rumor slash worry पकड़ा যে Skype ইনস্টল করা যাচ্ছে না Ubuntu-এর latest edition-এ, অর্থাৎ 13.04 Raring Ringtail-এ। കൂടে, কিছু মানুষ specifically指出 করল যে Skype non-Unity flavors-এ কাজ করবে না, যেমন Xubuntu বা এমন।

খুবি, আমি এই rumor চেক করার সিদ্ধান্ত নিলাম এবং verify করলাম এটি true কিনা। এবং যদি হয়, তবে আপনাকে একটি workaround বা তিনটি দেব কীভাবে আপনি Skype চালাতে পারেন। এটি একটি valuable lesson হবে, কারণ আমরা কিছু rather geeky জিনিস করব, তাই Mere সাথে থাকুন। এখন, commence।

Skype ইনস্টল করুন

আপনি Ubuntu Software Center ব্যবহার করতে পারেন, অথবা official site থেকে Debian installer ডাউনলোড করতে পারেন। Do note the installer only comes in 32-bit flavor, so people running 64-bit systems might feel a little anxious। But there's no reason, really। আপনি যদি downloaded file-এ double-click করেন, Ubuntu Software Center launch হবে এবং আপনাকে package ইনস্টল করতে prompt করবে। এটি background-এ সব little dependencies sort out করবে। This is somewhat like what we did with Steam recently।

আপনি যদি command line থেকে package ইনস্টল করতে চান, আপনাকে architecture force করতে হবে, অন্য কথায়, কিছু এই মত:

sudo dpkg -i --force-architecture skype-ubuntu*.deb

Skype চালান

একবার package ইনস্টল হলে, এটি চালান। এটি most likely fail করবে। এখন, আপনাকে issue debug করতে হবে একটু বুঝতে কী ভুল হয়েছে। আমরা আমাদের hacking skills ব্যবহার করব, যা আপনি অর্জন করলেন আমার so-called super duper tutorials طن পড়ে। First thing, আমরা Skype command line থেকে execute করব।

আপনি নিচের error দেখবেন:

Segmentation fault (core dump)

Core dump & basic debugging

সাধারণত, core dumps saved হয় current working directory (cwd)-এ। আপনি যদি contents চেক করেন, আপনি most likely দেখবেন there's no core file created। এখন, আমরা আমার no less useful GNU Debugger (gdb) tutorial recall করব। সেখানে, আমরা কথা বলেছিলাম কীভাবে crashing applications-র memory cores collect করতে হয়। Namely, shell limits probably set করা আছে এমনভাবে যে applications cannot really dump core files to disk। BASH-এ, আপনি ulimit -a দিয়ে চেক করতে পারেন।

নিশ্চিতভাবেই, core file size 0 সেট করা আছে। আমরা এটিকে পরিবর্তন করব:

ulimit -c unlimited

এখন, আপনি rerun করলে, core collected হবে।

একবার আবার, আমরা gdb tutorial-র power invoke করব, এবং debugger-এ core examine করব। যা আমরা চাই সেটি হলো last functions executed prior to the crash-এর trace, কারণ এটি আমাদের সঠিক দিক নির্দেশ করতে পারে।

gdb `which skype` core

Some progress। This is geeky, এবং stack possibly corrupt, কারণ Skype compiled ছিল sheep এবং ethereal powers ব্যবহার করে, but we see that the crash originated in the libGL shared library। আপনি tempt হতে পারেন Nvidia driver-কে blame করতে, but there's no reason really।

The simple explanation is as follows। Skype expects to find libGL under mesa directory, under /usr/lib32, whereas your system has the library under /usr/lib/i386-gnu-linux। These little string changes and notations can confuse applications। এখন যেহেতু আমরা এটা জানি, আমরা একটি fix implement করতে পারি। One options is to create a symbolic link, and then recreate the necessary runtime bindings with ldconfig। Both with sudo।

যদি এটি কাজ না করে, তবে আপনি এই hack ট্রাই করতে পারেন। এটি Skype-কে force করবে native system libraries ব্যবহার করতে তাদের expected place-এ, legacy directories-এ search করার বদলে এবং symbolic links traverse করার বদলে। As sudo, create the following file:

sudo touch /etc/ld.so.conf.d/skype.conf

ভেতরে, একটি single line paste করুন:

/usr/lib/i386-linux-gnu/mesa/

তারপর, rerun ldconfig:

sudo ldconfig

Skype টেস্ট করুন

এখন, দেখি এটি কাজ করে কিনা। এবং এটি করে। Xubuntu-এ, no less। Bob is our uncle!

আরও পড়ুন

আপনি নিচেরগুলোও পছন্দ করতে পারেন:

Ask Ubuntu-এ Skype related tricks-এর এক পুরো গুচ্ছ।

Skype Community Ubuntu 13.04 thread with similar symptoms।

Several more hacking guides for you, if you please।

উপসংহার

তাহলে যান। Skype কাজ করছে, including the less obvious Xfce desktop। আমি অন্যান্য flavors-এ টেস্ট করলাম, identical results-এ। তাই এখন আপনার কাছে একটি solid solution আছে Skype কাজ করতে পাওয়ার জন্য যতক্ষণ না একটি official fix release হয়। And this is true for all FUTURE releases!

Best of all, এই টিউটোরিয়াল আপনাকে এক গুচ্ছ জিনিস শিখায়, including subtle differences between 32-bit and 64-bit software, how to install packages from the command line or through Ubuntu Software Center, how to change shell limits, collect application memory cores, how to troubleshoot issues using a proper debugger, how to make changes to system files and configurations, and still more। আপনি Skype চেয়েছিলেন, আপনি পেলেন, plus extras। আশা করি আপনি এই গাইড উপকারী পাবেন। আপনি দেখতে পাচ্ছেন, problems sometimes much simpler than they seem। Enjoy your international chats।

চিয়ার্স।


  1. Ubuntu 20.04-এ ফন্ট ইনস্টল করার পদ্ধতি

  2. Ubuntu-এ Java Runtime ইনস্টল করার পদ্ধতি

  3. উইন্ডোজ ১০ ও ১১-এ উবুন্টু ইনস্টল করার ধাপে ধাপে গাইড

  4. উবুন্টু লিনাক্সে ফ্ল্যাশ প্লেয়ার ইনস্টল করুন: ধাপে ধাপে গাইড