3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Linux Terminal Basics

Step 2Installing that new package you downloaded!

OK, that you have learned you basic linux commands you are feeling ambitious and decide to download a linux program from the internet. Once it downloads though you have no idea on how to install it. First though I am going to make some assumptions: the file you downloaded ends in .tgz, this is like a winzip file but called a package linux, and that you have a basic understanding of the aforementioned commands. Now to begin, here's how.

1. You must acquire the file you can do this by downloading it from the internet or by using the the wget command. If you choose the later option just type wget (download URL). The file you just downloaded is called coolthing-5.3.tgz.

2. Now we will extract and compile the file. To do this type tar -xvzf coolthing-5.3.tgz. The x will extract it, the v will verbose the zipped contents, z, of the archive file. Now press enter, the terminal should display a bunch of stuff on what it is doing.

3. Next we will change the directory to coolthing-5.3.tgz. Do this by typing cd coolthing-5.3.tgz.

4. Now it is time to configure the program. Do this by typing ./configure. The terminal will then give you more output but unless you get an error you can just ignore it.

5. The time has finally come to install your program. First type in make, then press enter. This will generate the binary program. Next time su, press enter, type in your root password then press enter again. You are now commanding as root, this is required to execute the next command. Type in make install, this will place the program's binaries in their correct locations. The program should now install and be ready to run.

Now that you have a basic understanding of how your terminal works you may want to edit some features. If so continue to the next step!!!



« Previous StepDownload PDFView All StepsNext Step »
1 comment
Mar 25, 2012. 2:34 PMrapidprototyping says:
I highly recomend getting the (Linux Bible) it has a cd and dvd with every iteraion of linux its live cd boots on any windows computer without efecting the bios and uses blank space on the harddrive as swap file so when its done there are no files remains as long as you dont save things your just booting from the disc. and from what i understand you can load this onto thumb drive allowing you to repair other windows pc's that are broken because you will be able to read the files and that inclueds error files that indicate what the is wrong in firast place. So if you want learn linux systems get a bible on amazon i got mine for ten bucks including shipping but normal price is twenty plus shipping well worth the price of admuission for history section alone.
everyone sems to get ride pc well before there usefullness is really used up. i was amazed how linux recognized my dvd usb port and video card licity split my monitor as well but grudgingly. this is great way to use old pc and with all the info in trhe bible and the resources it points out you can have full media pc if you read da book dat is da linux bible book

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
17
Followers
12
Author:sardines454