Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am founding a command line by following a doc but this doc is a little bit old, since 2006. I need the softwares listed on this command line but I want to install the latest ones, because if I tip this command as is it will install the oldest versions. This command line is :
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
I think you are running Debian, and if not you should have put in the effort to complete you profile with the information about the distro you are running.
It is not true that you download old versions. Make sure your sources.list points to stable do apt-get update and the the apt-get command line you found. I don't think you want testing at this moment, it is quite unstable.
Delete packages from the command line which are no longer there. They necessary packages are likely to be pulled in anyway by dependencies.
Look in synaptic for each packages and pick the latest version, yes it will install old version because almost all packages in that command use a "generation" number at the end. Just pick the one without number.
Please just tell us what you are trying to do. Perhaps the major version numbers of those libraries are important for your intended use... but we don't know since you've not told us why you are installing them.
Please just tell us what you are trying to do. Perhaps the major version numbers of those libraries are important for your intended use... but we don't know since you've not told us why you are installing them.
EVo2.
I am configuring a server. Sorry for this poor answer as the doc I use didn't explain the role of each one it is used meanly for mysqli support along with, exif, gd, jpeg, png and so on. those related to where php should be configured with and so on. I just installed mysql and the server now take this huge configuration, I don't need to know what each library do but it is just important and those libraries has certain role or can be related to achieve certain roles in the future but I ignore any more details as I just follow the doc.
Distribution: debian testing/unstable, devuan, raspberrypi OS
Posts: 68
Rep:
If you need such informations about each package, aptitude would serve your needs very handily. Just type sudo aptitude and look at the packages and the info below them to see what they do, require, break, recommend, suggest, etc.. and you don't need to run X to use it. Perfect for configuring the server too, I might add.
I don't need to know what each library do but it is just important and those libraries has certain role or can be related to achieve certain roles in the future but I ignore any more details as I just follow the doc.
Ok, I think that is best. If you don't understand what the libraries are for, then I don't think you are in a position where you should be
ignoring the version numbers stated in the documentation.
If the major version number of the library did not matter then the documentation should not have specified it.
Ok, I think that is best. If you don't understand what the libraries are for, then I don't think you are in a position where you should be
ignoring the version numbers stated in the documentation.
If the major version number of the library did not matter then the documentation should not have specified it.
Let us know if you have any problems.
Cheers,
Evo2.
This doc uses php 5.2.3 which is far to be a good thing to install now, there is no new doc related to 2009 for example... for easy tasks like php I did install a latest version e.g. php 5.2.12 because it is handy but those libraries I don't know the replacement.
So as those libraries are old, they may create a incompatibility issue with libraries I replaced with new versions.
Thank you
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
I think something is going wrong here. Are you installing packages from source? I see flex and bison among the recommended packages, that is something for compiler building...
I an running a LAMP server, and these are the packages I have installed:
If you enter the names of the packages in the left column on the command line of apt-get (apgt-get apache2 apache2-doc ...) you should get a configuration which is suitable for most task.
Tell us where/what goes wrong in your application if this is not sufficient. You could add phpmyadmin if you want to control mysql from a web browser.
My big deal is that sudo make 'and sudo make install' won't work, once I tried it I get error : '***make. ..No makefile has been detected. stop'
I searched a bit on php doc I didn't find manual install for Debian as I need to configure my self some dependencies, I won't to just use apt-get install php5 ...
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Debian Stable comes woth PHP 5.2.6. Do you really need PHP 5.2.12? Why won't apt-get install php5 the job? Are there any advanced PHP features you want to use?
Thanks for your replies, I tries sudo apt-get build-dep php and it installs many things but didn't solve this problem related above. As a server admin I should be able to administer and optimize Mysql as well as Apache. I don't like to install and run without following a guide which explain steps and meaning of each. Next certainly I will configure php.ini but as I said a good knowledge starts from beginning so I want to follow the doc and have a full control of what I install and what I have. The worst is that I didn't see anyone else has this issue except me. In the php-5.2.12 folder when I tip ./buildconf --force I get Forcing buildconf. when I run ./configure '--prefix=/lsphp5' '--with-litespeed' --with-mysql ... I get a huge errors I couldn't find an answer, the only thing I guess is maybe because I am testing from my machine in locale 'I have an internet connection of course but I am not testing on VPS to not corrupt things'. The errors I get are :
Code:
./configure: 9246: checking whether to enable path info checking... : not found
./configure: 9246: 5: Bad file descriptor
./configure: 9246: :: result: yes: not found
./configure: 9246: 6: Bad file descriptor
./configure: 1: :: result: no: not found
./configure: 1: 6: Bad file descriptor
./configure: 1: no: not found
./configure: 10856: 5: Bad file descriptor
./configure: 10856: :: checking for __res_search: not found
./configure: 10856: 6: Bad file descriptor
./configure: 10856: checking for __res_search... : not found
./configure: 1: ac_fn_c_try_link: not found
./configure: 1: 5: Bad file descriptor
./configure: 1: :: result: no: not found
./configure: 1: 6: Bad file descriptor
./configure: 1: no: not found
./configure: 11276: 5: Bad file descriptor
./configure: 11276: :: checking for res_search in -lresolv: not found
./configure: 11276: 6: Bad file descriptor
./configure: 11276: checking for res_search in -lresolv... : not found
./configure: 11276: ac_fn_c_try_link: not found
./configure: 11276: 5: Bad file descriptor
./configure: 11276: :: result: no: not found
./configure: 11276: 6: Bad file descriptor
./configure: 11276: no: not found
./configure: 11276: 5: Bad file descriptor
./configure: 11276: :: checking for __res_search in -lresolv: not found
./configure: 11276: 6: Bad file descriptor
./configure: 11276: checking for __res_search in -lresolv... : not found
./configure: 11276: ac_fn_c_try_link: not found
./configure: 11276: 5: Bad file descriptor
./configure: 11276: :: result: no: not found
./configure: 11276: 6: Bad file descriptor
./configure: 11276: no: not found
./configure: 11276: 5: Bad file descriptor
./configure: 11276: :: checking for res_search in -lbind: not found
./configure: 11276: 6: Bad file descriptor
./configure: 11276: checking for res_search in -lbind... : not found
...
./configure: 11295: 6: Bad file descriptor
./configure: 11295: checking for __inet_aton... : not found
./configure: 1: ac_fn_c_try_link: not found
./configure: 1: 5: Bad file descriptor
./configure: 1: :: result: no: not found
./configure: 1: 6: Bad file descriptor
./configure: 1: no: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: checking for inet_aton in -lresolv: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: checking for inet_aton in -lresolv... : not found
./configure: 11580: ac_fn_c_try_link: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: result: no: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: no: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: checking for __inet_aton in -lresolv: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: checking for __inet_aton in -lresolv... : not found
./configure: 11580: ac_fn_c_try_link: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: result: no: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: no: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: checking for inet_aton in -lbind: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: checking for inet_aton in -lbind... : not found
./configure: 11580: ac_fn_c_try_link: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: result: no: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: no: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: checking for __inet_aton in -lbind: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: checking for __inet_aton in -lbind... : not found
./configure: 11580: ac_fn_c_try_link: not found
./configure: 11580: 5: Bad file descriptor
./configure: 11580: :: result: no: not found
./configure: 11580: 6: Bad file descriptor
./configure: 11580: no: not found
./configure: 11587: 5: Bad file descriptor
./configure: 11587: :: checking for dn_skipname: not found
./configure: 11587: 6: Bad file descriptor
./configure: 11587: checking for dn_skipname... : not found
./configure: 1: ac_fn_c_try_link: not found
./configure: 1: 5: Bad file descriptor
./configure: 1: :: result: no: not found
./configure: 1: 6: Bad file descriptor
./configure: 1: no: not found
./configure: 11598: 5: Bad file descriptor
./configure: 11598: :: checking for __dn_skipname: not found
./configure: 11598: 6: Bad file descriptor
./configure: 11598: checking for __dn_skipname... : not found
./configure: 1: ac_fn_c_try_link: not found
./configure: 1: 5: Bad file descriptor
./configure: 1: :: result: no: not found
./configure: 1: 6: Bad file descriptor
./configure: 1: no: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: checking for dn_skipname in -lresolv: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: checking for dn_skipname in -lresolv... : not found
./configure: 11883: ac_fn_c_try_link: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: result: no: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: no: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: checking for __dn_skipname in -lresolv: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: checking for __dn_skipname in -lresolv... : not found
./configure: 11883: ac_fn_c_try_link: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: result: no: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: no: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: checking for dn_skipname in -lbind: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: checking for dn_skipname in -lbind... : not found
./configure: 11883: ac_fn_c_try_link: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: result: no: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: no: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: checking for __dn_skipname in -lbind: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: checking for __dn_skipname in -lbind... : not found
./configure: 11883: ac_fn_c_try_link: not found
./configure: 11883: 5: Bad file descriptor
./configure: 11883: :: result: no: not found
./configure: 11883: 6: Bad file descriptor
./configure: 11883: no: not found
./configure: 11888: 5: Bad file descriptor
./configure: 11888: :: checking for ANSI C header files: not found
./configure: 11888: 6: Bad file descriptor
./configure: 11888: checking for ANSI C header files... : not found
./configure: 11987: ac_fn_c_try_compile: not found
./configure: 11989: 5: Bad file descriptor
./configure: 11989: :: result: no: not found
./configure: 11989: 6: Bad file descriptor
./configure: 11989: no: not found
./configure: 12037: ac_cv_header_dirent_dirent.h: not found
./configure: 12037: 5: Bad file descriptor
./configure: 12037: :: checking for dirent.h that defines DIR: not found
./configure: 12037: 6: Bad file descriptor
./configure: 12037: checking for dirent.h that defines DIR... : not found
eval: 1: Bad substitution
The command make and make install didn't succeed I am running commands as root of course.
Please assists me, I didn't find any other helping resources and I was working hardly with this since yesterday I installed any dependencies but I don't know what to do now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.