install wget and configure
i have a mac and want to install wget.
http://www.makeuseof.com/tag/wget-mac/ I have to download these files untar them... xz -d wget-1.13.tar.xz tar -xf wget-1.13.tar Change into the new wget directory and run these commands in order: cd wget-1.13 ./configure make sudo make install thing is i never know which directory to untar them to - it is in the Downloads directory now. where should i put these files? |
you would need to read the documentation. in general you can use any dir.
|
Hi,
Actually your question is not quite clear...If you are asking how to install from the tar ball...then the steps mentioned by you is enough for the installation. Normally the configure,make and make install script will install the application(you dont need to worry about the path's). However some applications do have options to specify the installation directory, like ./configure --prefix <LOCATION>. Where location is the directory where you want to install. You can try something like ./configure --help. And if you want more information on wget options and usage then http://www.slashroot.in/wget-command-usage-and-examples might be useful... Regards |
SO I am going to install the perl module HTML::TreeBuilder to my mac, because it does not come with the nativ eperl installation.
the MCPAN is not working ******** make test had returned bad status, won't install without force Macintosh:casperdaghost$ perl -MCPAN -e 'install HTML::TreeBuilder' ******* so here are the directions: Code:
compiled netcat from my home directory. - it seems wrong i |
dear OP
sometime when you see page in the web it is look like tutorial but that is incomplete because some of them make tutorial for them self not for public and some of them make tutorial is not for beginner user , mean that note is for most advance user same for me , i have a website that purpose for note in technical but only can be followed by half intermediate user. then what you need to do is google, just example i google then i found ftp://ftp.gnu.org/gnu/wget/ so many file is there, you can take it as test to your system by following that incompleted example so is there any problem here come linuxquestions is exist :) cheers |
Quote:
In General you do Code:
tar -xf package-xy.tgz |
ok so configure makes the directory.
so shoild i download the file to bin and then compile it? or shuld i download it ti usr and make a bin directory in there where do all the cool linux people build their perl modules. i have netcat built in my home directory and that seems uncool |
Quote:
I build other packages in /tmp/ and when I don't use a Slackbuild.script I do it in /tmp/ as a normal user, only the installation is done as root. Markus |
Quote:
|
I think i was just looking for the general accepted place to put programs that you compile. I could put them anwhere - but linux has conventiosn, and i was just wondering where netcat should, for a standpoint of conventions ' which directory should go.
|
Yes, there are conventions, but also there is some freedom. For example there is a dedicated directory for the installed package (usually), and there is no way to restrict the user to do what he/she wants. So if you want to compile/build anything you can use any directory (in a real multiuser environment a subdir is suggested in your own home). It depends only on you. Probably better to have a subdir for your work to avoid mixing different packages.
configure will not make any directory but will use what you want. installation will copy the content to the destination directory. (and you can even remove that subdir afterward) |
All times are GMT -5. The time now is 05:04 PM. |