Installing software in Linux is not the nightmare that Linux virgins tend to believe. There are package managers, repositories and precompiled binaries that make this task much easier. So much easier and cleaner that in fact, you must always refer to these methods FIRST before even thinking about installing from the source code.
There are only two "last stands" situations in which I would install from source:
- There are no repositories or pre-compiled packages (.deb/.rpm/.pet) available for my distribution. This is usually the case for lesser-known, recent software projects.
- I am not satisfied with the way a program works, and wish to alter its behavior in the source code to fulfill my needs. This is even more rare, as Linux programs are usually highly customizable.
If your installation needs do not meet any of these two criteria, then DON'T install from source. Use your package manager. That said, let's begin. I'll use the Beaver text editor in my example:
Part 1: Obtaining and extracting the code
Source code comes bundled with many other files, such as configuration and readme files, in what we call a "tarball." A tarball is a compressed file (like zip or rar) and has an extension that is either .tar, .tar.bz2 or .tar.gz. When you choose to download the source code, this is what you get. For example, the Beaver text editor comes as the following file:
![]() |
click to enlarge |
Your archive manager should be able to extract the tarballs by default. After we have the source folder extracted, we need to set a proper working environment to process it. This means, a temporary source code directory. So, copy your source folder to this folder:
user@computer:/usr/local/src $ (may need to be root for that)
Or open your download folder in terminal and type:
$ sudo cp beaver-0.4.1.tar.bz2 /usr/local/src
![]() |
click to enlarge |
Part 2: Resolving the dependencies
Programs may depend on other programs to work, but when installing from a package manager, such dependencies are automatically resolved. Source Code won't do that. You will have to find out all dependencies and install those before compiling and installing from source. This is indeed the trickiest bit of the installation. For most of the part you need to use your intuition to find out the dependencies.
-Read all the README files bundled with the source code;
-Read the online documentation of the program;
-Search for installation tips online (forums, etc).
![]() |
This is how the Source Directory should look like. |
$ ./configure
Lines of code will rain down. What 'configure' does is check if everything needed for installation is correctly installed according to the desired configuration. Here's where you may feel free to configure the program to your needs. In case 'configure' returns something like this:
![]() |
The dependency for 'intltool' has not been satisfied. |
![]() |
Beaver has met all the dependencies. |
If you made this far, you're 90% done. The hardest part of the installation is done. You have clearance to compile the program.
Part 3: Compiling and Installing
Compiling is done through the command 'make' (may need to be root for that). Since everything according to the 'configure' script is good, you can go ahead and just type:
$ sudo make
Again, shit will scroll down your screen... Don't worry about it. When it's done, however, it means that the program has been compiled. Now all you need to do is proceed to the installation, through the following command:
$ sudo make install
Watch again lines scrolling down for a bit and surprise! Look what I found on my applications menu:
Have fun with your program - you earned it after all these steps...
Note: since you did not install through a package manager (you didn't enter apt-get, yum, rpm in the command line) you WILL NOT be able to receive any updates without recompiling a new source code release. Also, the package manager won't be able to uninstall it. You will have to open the source code directory in terminal and and enter the following command:
$ sudo make uninstall
Therefore MAKE SURE YOU DON'T DELETE THE SOURCE FOLDER after the installation!
Any doubt you may have, feel free to e-mail me.
Nov 2011 by Klaus Zimmermann
Contact me.
شركة كشف تسربات المياه بالرياض
ReplyDeleteشركة تنظيف بالمدينة المنورة
شركة تنظيف مساجد بالرياض
شركة كشف تسربات المياه بالرياض
شركة تنظيف حشرات بالرياض
شركة كشف تسربات المياه شمال الرياض
كشف تسربات المياه شرق الرياض
شركة كشف تسربات المياه غرب الرياض
شركة كشف تسربات المياه جنوب الرياض
افضل شركة كشف تسربات المياه بالرياض دليل
اسعار كشف تسرب المياه
كشف تسربات المياه عماله فلبينيه
Mahmahnds On Faiya: How To Install A Program From Source In Linux >>>>> Download Now
Delete>>>>> Download Full
Mahmahnds On Faiya: How To Install A Program From Source In Linux >>>>> Download LINK
>>>>> Download Now
Mahmahnds On Faiya: How To Install A Program From Source In Linux >>>>> Download Full
>>>>> Download LINK tj
http://www.prokr.net/2016/09/furniture-transfer-companies-2.html
ReplyDeletehttp://www.prokr.net/2016/09/furniture-transfer-companies.html
http://www.prokr.net/2016/09/furniture-transfer-companies-61.html
http://www.prokr.net/2016/09/furniture-transfer-companies-60.html
http://www.prokr.net/2016/09/furniture-transfer-companies-59.html
http://www.prokr.net/2016/09/furniture-transfer-companies-58.html
http://www.prokr.net/2016/09/furniture-transfer-companies-57.html
http://www.prokr.net/2016/09/furniture-transfer-companies-56.html
http://www.prokr.net/2016/09/furniture-transfer-companies-55.html
http://www.prokr.net/2016/09/furniture-transfer-companies-54.html
شركة الراقى لتنظيف البيوت
ReplyDeletehttp://bit.ly/2lV9hcV
http://bit.ly/2lqosO1
http://bit.ly/2lqlZCW
http://bit.ly/2kR05oS
http://bit.ly/2lqjrVq
http://bit.ly/2leqyxG
http://bit.ly/2leki96
http://bit.ly/2lesC8O
شركة الراقى لتنظيف البيوت
ReplyDeletehttp://bit.ly/2lexrPx
http://bit.ly/2lerbrb
http://bit.ly/2kR2Y9n
http://bit.ly/2l0MwG0
http://bit.ly/2kR6Ln9
http://bit.ly/2lSM66j
http://bit.ly/2lqcvb6
http://bit.ly/2l0RClx
شركة الراقى لتنظيف البيوت
ReplyDeletehttp://bit.ly/2l0YrU7
http://bit.ly/2kQYpvJ
http://bit.ly/2m2rHaZ
http://bit.ly/2kwS10m
http://bit.ly/2lqnOjg
http://bit.ly/2kFKEPC
http://bit.ly/2jB8dcr
http://bit.ly/2kFQalp
شركة الاوائل
ReplyDeleteشركة الاوائل
شركة النجاح
http://bit.ly/2kReNAi
http://bit.ly/2lvqlIq
http://bit.ly/naga7asasmost3mal
شركة الاوائل للخدمات المنزلية
شركة الاوائل للخدمات المنزلية
شركة النجاح للخدمات المنزلية
شركة الاوائل لتنظيف السجاد والموكيت
ReplyDeletehttp://bit.ly/2lqIAiB
http://bit.ly/2kFCnuM
شركة تنظيف خزانات بالرياض
ReplyDeleteشركة عزل خزانات بالرياض
شركة تسليك مجاري بالرياض
شركة مكافحة بق الفراش مع الضمان
ReplyDeleteخدمات تخزين اثاث بالرياض مؤمنة
اسعار شركة تخزين عفش بالرياض
افضل شركة كشف تسربات المياه بالرياض
شركة تسليك مجاري بالدمام
افضل شركة تنظيف خزانات بجدة خصم 50%
شركة تنظيف شقق بالرياض
افضل شركة تنظيف فلل وقصور بالرياض
شركة تنظيف مجالس بجدة
شركة تنظيف منازل بالخرج ممتازة
شركة تنظيف منازل بالرياض مضمونة
ReplyDeleteطريقة تنظيف واجهات الحجر
تنظيف واجهات زجاج بأرخص الاسعار
شركة رش مبيدات شمال الرياض
شحن عفش من الرياض الى الاردن
ارقام شراء الاثاث المستعمل بالرياض
افضل شركة تنظيف بالخرج
ارخص شركة تنظيف مسابح بالرياض
شركة نقل اثاث بالخرج ممتازة
شركة شفط بيارات بالرياض
شركة عزل اسطح بالرياض فوم
ReplyDeleteشركة عزل خزانات بالرياض ممتازة
افضل شركة مكافحة حشرات بالخرج
ارخص شركة مكافحة حشرات بالرياض
شركة مكافحة صراصير بالجبيل
شركة مكافحة الفئران بالرياض بالضمان
شركة نظافة شاملة بالرياض
شركة نقل اثاث بالرياض عمالة فلبينية
شركة نقل اثاث خارج المملكة
اسعار شركات نقل العفش بالرياض
افضل شركة مكافحة النمل الابيض بالرياض
ReplyDeletehousekeeping Services
leak detection company
Floor cleaning
طرق التخلص من بق الفراش
شركة تنظيف اثاث بالمجمعة
شركة تنظيف مساجد بالرياض
شركة تنظيف رخام بالرياض
شركة تنظيف ستائربالبخار بالرياض
إبادة الآفات والقوارض
شركة تنظيف فلل بالمزاحمية
ReplyDeleteشركة مكافحة حشرات الفراش بالرياض
افضل دكتور اسنان في مدينة نصر
افضل مركز لعلاج الاسنان في مصر
افضل دكتوراسنان في المهندسين
مراكز تجميل الاسنان بالقاهرة
اسعار ايجار الشقق في جمصة 2017
اسعار شقق للايجار في جمصة
ارقام سماسرة جمصة
اراضي للبيع في 15 مايو جمصة
ReplyDeleteشركة نقل اثاث بجازان
شركة كشف تسربات المياه بجازان
شركة رش دفان برماح
شركة رش دفان بخميس مشيط
شركة مكافحة النمل الابيض بنجران
شركة مكافحة النمل الابيض بملهم
شركة مكافحة النمل الابيض بعنيزة
ReplyDeleteGood write-up. I definitely love this site. Keep it up
http://rehabgad.angelfire.com/
http://publish.lycos.com/rehabgad/
https://prokr123.jimdo.com/
http://9uar.com/
https://www.prokr.net/ksa/jeddah-water-leaks-detection-isolate-companies/
صباغ الكويت .. هل تبي صباغ شاطر ورخيص بالكويت ؟ هل تريد فني تركيب ورق جدران أو معلم جبس بورد أو تركيب باركيه؟ لا داعي للبحث كثيرا، نحن نوفر لك أفضل الفنيين في الكويت، خدمات صباغة و تركيب ورق جدران وباركيه وجبس بورد علي أعلي مستوي من الحرفية والمهارة، من خلال فنيين متميزين ومدربين، قادرين على تنفيذ أي تصميم يخطر ببالك، لدينا تصميمات بأفكار لا تنتهي، ديكورات مودرن عالمية.
ReplyDeleteلدينا أفضل صباغين بالكويت، جنسيات مختلفة، صباغ شاطر ورخيص، نوفر خدمة مميزة جدا بأقل الأسعار, يتميز الفنييون لدينا بالمهارة العالية والسرعة فى التنفيذ، لأننا نحرص على وقتك ونعرف قيمته، وأيضا نهتم جدا بأدق التفاصيل ولا نترك اي ثغرة فى عملنا، كل عمل نقوم به هو لوحة فنية نفتخر بضمها الي سجل أعمالنا.
ReplyDeleteشركة عزل اسطح بجدة
شركة تسليك مجاري بجدة
شركة تنظيف مكيفات بجدة
Mahmahnds On Faiya: How To Install A Program From Source In Linux >>>>> Download Now
ReplyDelete>>>>> Download Full
Mahmahnds On Faiya: How To Install A Program From Source In Linux >>>>> Download LINK
>>>>> Download Now
Mahmahnds On Faiya: How To Install A Program From Source In Linux >>>>> Download Full
>>>>> Download LINK
supreme
ReplyDeletecurry 7 sour patch
air jordan
golden goose outlet
golden goose
kobe sneakers
off white outlet
kyrie irving shoes
supreme t shirt
jordan shoes