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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
It's a program that download, check and install programs with all it's dependancies. If I was you, I'd give it a try. For example, let's suppose you want to install mplayer... you would only need to type
apt-get install mplayer
at the terminal. All needed packages would be downloaded and installed. Again, if you are planning to stick using rpm's, apt-get is your best shot. Otherwise, source compiling is more effective.
Well, it's just a tip. I remember how painfully it was to install rpm's
OK, can't get apt-get to work. I installed the RPM (fortunately no unresolved dependacies this time), and it worked, because if I type apt-get on the commandline now, it gives me the switches.
Now the package I'm trying to install is on my zip drive as bochs-2.0.2.i386.rpm. If I type rpm -i bochs-2.0.2.i386.rpm, it tells me:
E: Couldn't find package libwx_gtk-2.3.so.2
So I type apt-get install bochs-2.0.2.i386.rpm, and it says it can't find bochs-2.0.2.i386.rpm. I typed man apt-get and find out you only type the name of the package after the install switch. So I type
You are doing just fine . Well, I would make a wild guess that you need to install wxGTK-devel to get bochs to work. Try installing wxGTK-devel and run again:
rpm -ivh bochs-2.0.2.i386.rpm
There's one more tip for apt-get. As you see, apt-get is a command line tool. There's a nice graphical tool for it called synaptic. Type at the console:
apt-get install synaptic
You can run synaptic typing synaptic at the terminal. You need to have root permissions for it. This cool tool allows you too install/remove packages and general softwares to your machine and all possibles packages to download and install thru it downloading from internet (just as apt-get, but graphicaly). When you try to install an rpm that you've got from internet, and get an error message as yours above:
I use synaptic to "try" to find what it's missing. I then typed the hole message (libwx_gtk-2.3.so.2) no results. Then I've changed a little... typed only libwx, then only gtk, till I find something that possible would match what you need. Again, my wild guess was/is to install wxGTK-devel.
Unfortunately, you can't install bochs via synaptic/apt-get ( At least, I did not find any package). So you have not done anything wrong. (although apt-get is outstanding program, not all packages are available). Anyway, it is always good to have synaptic installed to find possible missing matches and maintain a system fully operational and indeed, upgrade packages and install new programs thru it. So get synaptic and check to see if any programs (including games and emulators as gxmame...ghehe) are of interesting to you. Plus, update your distro, packages and apt-get/synaptic itselfs.
Another good way to find which package you are missing out, is to type the full error message at google as:
E: Couldn't find package libwx_gtk-2.3.so.2
It'll return possible matches to fix your missing packages. Any problem, let me know.
Last edited by Mega Man X; 07-23-2003 at 03:38 PM.
ok, well it's working on the upgrade part now...it says 20 minutes left. In the mean time however, I've installed several wxGTK-devel rpms, most failed, one worked (wxGTK-2.4.0...none of the devels worked). However, I still get the same module missing error when installing bochs. I guess I'll see what happens after I upgrade apt-get?
Let's think positive and cross our fingers . You know, we both are online and many others... Just a suggestion to the webmaster... This forum could have an online chat . Would be nice to have a real time support + debates on SCO and others. Perhaps I should write this to jeremy