Very basic question: how do I run a newly downloaded app?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Very basic question: how do I run a newly downloaded app?
I'm about a week old (new?) in my Linux Mandrake usership. I downloaded the Linux version of my favorite MP3 search agent the other day. I got this thing called a .tar.gz file. I concluded that that is an archive, like ZIP files on Windows.
Konqueror let me enter this file as though it were a directory. I moved the folder inside it to my usr/lib directory. Then, when I went to the usr/lib directory and entered this new subdirectory, double-clicking on the app did nothing.
I tried moving everything to usr/bin instead. Everything moved fine, but I still can't get the app to run.
Is there something different from what I would normally do in Windows that I must do to run an app I've downloaded from the internet? The file properties of this new file say that it's an executable...
Yeah, a tar.gz file is a lot like a .zip file - its actually a .tar file (TApe Archive) that been compressed with GZip...
You probably want to extract the .tar.gz file somewhere using
Code:
tar xvfz myFile.tar.gz
This will normally create a folder called myFile. Look in that directory for a README or INSTALL file. Read this and it will tell you how to install the application.
also just to clarify, when you download a program in .tar.gz format, you actually need to compile it and then install it, but this is not hard at all. Most of the time, the commands to to this are (you must be in the uncompressed directory and be root):
./configure
make
make install
sometimes there are extra options and such that will be described in the README or INSTALL files, as jharris said. After you install, an executable will be placed in your /usr/bin or /usr/bin/x11 or /usr/local/bin or some folder like that, and can be launched by just typing its name.
I understand the process for compiling or making apps, but when I try to ./configure or make an app I get a file not found error relating to the commands.
I've used "tar xvzf" to extract the source and moved the directory and su'd into root. I type in "make" and the shell returns "make: file not found". Now I've searched my Madrake 8.0 install for configure or make but can't find a thing. What do I have to install/download to get these commands running??
Help
Thanks for the reply TrickyKid. The app I'm trying to build is gkrellmoon from freshmeat. INSTALL file says to just do a "make" then a "make install".
Found out I hadn't installed the files for "make" which is why I had the files not found message - duh! But now when make tries to build the files I get a couple more commands not found: gtk-config and imlib-config. So I'm about to go hunting for those.
At least I'm heading in the right direction.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.