Trouble installing zip packages! Have tried terminal and package managers!
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.
Trouble installing zip packages! Have tried terminal and package managers!
Have tried to install packages from an old November 2011 Linux format DVD. I believe they are zip files, and I am trying to install them as deb files in the terminal. I have tried this and won't work: I enter superuser with su
dpkg -i name_of_file.deb/zip(I tried both). When I download the package it automatically goes to download and is a zip. I tried extracting it and putting it in my home directory. Please include detailed instr. on how to download and install software and packages from websites and how to use the package manager and the like for I am completely new to Linux and have no idea what I'm doing. I have linux mint 15. Thank you very much!
You are more likely downloading the source of a program, which isnt installable by a package manager because it isnt a package. You have to compile the source.
Generally this means unzipping it to a directory, and from that directory running:
./configure
make
make install
But your experience may differ. Here is a good article on how to do it, with an explanation of the difference between packages and source.
So,I downloaded the package,\it goes to my downloads, I move it to home directory, extract it there, then open it in terminal, and type in the current name of the file, type in ./configure and it says there is no such file or directory. What's wrong?
It's generally best to use software from your distro's repository. The items distributed by magazines are often new, testing versions of programs which may not fit in with the rest of your installation. That sort of problem can be solved, but it's not a job for a beginner.
Just run the Ubuntu Software Centre or the Synaptic package manager and you can look through classified lists of available items, or use the search feature to find things like video editors or vector-graphics editors.
What have you got when you extract from the zip file? Is it a file or a whole folder? If you've got source code, it will be in a folder which will also contain a file called README. Not surprisingly, that's a good place to start!
it is in source code. How do I install it from source code?
there is no simple one size fits all procedure that we can easily give you. However, we can likely help you quite easily if there is a *specific* piece of software you'd like to install. So, is there something in particular your like to install? If so, please give us details.
I did the same thing for "minetest", "python" and "flightgear" with similar results. This confirmed that these programs are already pacakged for me and as such I can install them by running the following command as root:
Code:
apt-get install unknown-horizons
And similar for the other programs. The bottom line here is that each of the programs you listed are most likely already packaged for you and as such are trivial to install: you should not need to be manually downloading things from the web or from magazine cds. If "apt-cache search foo" does not yield what you want then feel free to ask back for help on how to install "foo".
The above posts are GREAT advice
almost all the time it is MUCH easier to use the already built and packaged software for your distro
-- in your case a debian based distro
that said
it can be fun and very educational to build software BUT it takes some time to learn things
-- A LOT of time sometimes --
in a source package there are normally ( but NOT always ) two files
README
INSTALL
or a folder called "Doc"
readme and install MIGHT ??? have the build instructions
but most of the time a standard "boilerplate" stating in 500 words
Code:
./configure
make
su
---- your root password ---
make install
or they might tell you to read the documentation on there web site
the normal everyday tools on linux are gcc and "Autotools"
but not always
it might use "cmake" , " scons" or " qmake " or something else
a HP calculator ( using the original HP rom's)
-- i use the hp 41c and the hp 15c on my openSUSE install
( i still have my 15c , but my 41 was stolen a few years back,it was my first REAL calculator )
but building programs from source is a way to LEARN things
but it takes time, patients , reading , MORE READING , and a lot more patients .
A good and rather complicated project ( but easy to do )
is build " The Gimp" photo editor
it is VERY VERY well documented with a ton of guides on the web
When I type in ./configure it says bash: ./configure: No such file or directory. And when I type in apt-cache search horizons, it continues on to a new line and nothing happens. The same happens for flightgear and minetest. When I type in python countless lines of code appear. Does my package manager not have those packages? I have Linux Mint 15(olivia).
I have looked in my package manager and done a quick filter search for minetest, flightgear, and unknown horizons and found nothing. I then went to Linux Mint Communities software portal and found flight gear clicked on it and clicked install. An error message then pops up saying could not find package flightgear. I tried this with a few others too and had the same result. Did I do something wrong?
from the FACT that "scons" is in the REQUIRED SOFTWARE this is NOT a normal everyday build
but one that is using "scons"
there will NOT be any "autotools" "configure" file nor "Makefile" file .
the normal build instructions will NOT work !
Warning:
heed the warning they give !!!!!!!!
Quote:
BEFORE attempting to compile and run Unknown Horizons,
REMOVE any FIFE and Unknown Horizons packages installed using your package manager
(usually named unknown-horizons and python-fife or fife).
I have looked in my package manager and done a quick filter search for minetest, flightgear, and unknown horizons and found nothing.
Ok it seems that you are experiencing one of the big problems with using little boutique distros: lack of packages. I had a quick check and although all these games are in Debian they did not make their way down into Mint. Searching on packages.ubuntu.com I found that unknown-horizons, flightgear and minetest are all packaged in the universe section. AFAIK, Mint is supposed to be binary compatible with Ubuntu (but please check for yourself), so you should be able to install them using apt-get if you first add the relevant Ubuntu repositories to your sources.list.
However, as I said please first check for yourself about using binary Ubuntu packages in Mint. If it turns out they are not binary compatible then the cleanest and easiest thing to do would be do install from the source deb packages. I can help with instructions if you interested in that approach.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.