Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Just curious how you can add libraries to /lib from the command line. My box just has a server distribution on it, so I obviously can't use synaptic. I downloaded a .tar.gz file for the libraries I need, and I assumed that you would use dpkg -i <packagename.tar.gz> but that doesn't seem to work.
A server distribution? Why would that stop you using synaptic??
You could start by actually describing your system and what you're actually trying to achieve. Describing anything as "Adding things to /lib" is a very odd way to describe it. What libraries do you want to install on what distribution?
Oh, I thought synaptic was part of gnome. Don't mind me, I obviously haven't been using Linux for that long.
My system is running Ubuntu 9.10, and at the moment it's functioning as a VPN server and samba server. I'm trying install a program called bandwidthd, which monitors bandwidth usage per IP. The program requires libcap, libpng, and libgd. (According to this tut: http://infodotnet.blogspot.com/2008/...hd-per-ip.html)
What you have downloaded is a file that contains source and needs to be compiled. If by 'server distribution' you mean that you don't have a GUI installed and do all your work on a console then you can always turn to other options to install packages. I assume you are using Debian or a Debian-based distro. If that's the case then you can use apt or aptitude to install packages from the repositories if those are set up correctly in /etc/apt/sources.list. It works like this:
yep, bandwidthd is in the ubuntu repos, so "aptitude install bandwidthd" will get you where you want to be, with all libraries covered. Of those three though, only libpcap wouldn't already be there for sure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.