Wednesday, September 12, 2007

how to install source programs in linux

How often does it happen to you to download a new program which happen not to be any kind of debian package or something similar that you just need to use option install.

Beforehand, look for README text which will probably tell you how to install the program

Often for those, source code applications there are couple of steps to do in order to install them.
1. open terminal window (I use yakuake, in which u can open terminal just by pressing F12)
2. go to directory of your new, just downloaded application
3. run ./configure command - it looks if your system is ready to install application. It is checking for packages it needs to get its installed (newly downloaded application)
4. Look for comments at the end. If there is some comment like, error: 'libxyz' is not found, than you have to look for package that contains this library. I use adept-manager to search for those, and google if I fail to find it there.
5. when you finally install all packages needed, you proceed to next step
6. run make command
7. run make install command
8. finito, last two commands should run smoothly, if there are still some problems, consult google with keyword as your error text.

Tuesday, September 11, 2007


very cool console which starts when u press F12.
alt-f2 and then write yakuake

Friday, September 7, 2007

To put translate absolute link into relative links

Search for: http://((.*)/)*(.*)"
Replace with: \3"

Useful when you have downloaded all file from particular page, but you need this webpage for navigation through files.

Download a list of files (list of their links)

If you have list of files you need to download, there is a way to do that automatically.
so, assuming every line is starting with http:... in any kind of text editor you replace option to replace every "http" with "wget -c -t5 -l1 http".
Then Save the list-file as a
When you do that, then go to terminal/console window, type chmod 777
and then ./

It then downloads everything from the list into current folder.

Monday, September 3, 2007

HTTPS website download

linux command
wget -r --http-user=USERNAME --http-password=PASSWORD

A lot of download managers and windows freeware website downloaders claim that they can download from https website, but somehow they always fail to login to page.