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.
I downloaded an .rpm package I wish to use, but when I try to install it, it checks dependancies and says it needs but doesn't have:
libvgagl.so.1
libvga.so.1
libwx-gtk-2.3.so.2
I searched google, and can find what they do, but not how to get them. I looked on all three redhat cds, but still can't find these packages. How do I get them?
Yeah, dependancies are a big problem. That's why most of the peoples don't like rpm packages. Which program are you trying to install?. I mean, because, have you heard of apt-get?
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:
libwx_gtk-2.3.so.2
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.
Good luck
Last edited by Mega Man X; 07-23-2003 at 02: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
The install of synaptic appears to have worked. Now to get bochs working. How can I use synaptec or apt-get to do this? apt-get install wxGTK-2.3.3 doesn't do anything.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.