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.
Simple question: How to update (reinstall, install a new version) some software on Debian?
As always, reading books or googling gives long complicated explanations that conduct nowhere. They talk about "repositories" which imply (to me) connection to internet. They also talk about "updates as if the system is going to look for the updates for me. I dont need that.
Too complicated. My situation is simpler:
I have a deb file "application.deb", I know that a previous version of "application" is installed in the system and I want to replace it with this file. (no need to look for this file in a "repository" or any other deciding which is the update.)
someone please tell me How do I do that?
Thanks a lot
Last edited by KansaiRobot; 01-23-2014 at 12:52 AM.
Yes, you DO need updates (they are necessary for security stability) and they are really, really easy.
(These commands must be run as root using 'su' or 'sudo' depending how your system is set up.)
Code:
apt-get update
apt-get dist-upgrade
Easy, right?
Or to update a specific application individually, for example iceweasel:
Code:
apt-get update
apt-get install iceweasel
This is all that 99% of Debian users ever need to know. Debian provides nice, stable software that is a little older, but very well tested.
If you are in the 1% of users that need a newer version of an app, for some reason, it is helpful to tell us the name of the mystery app, so we can discuss a specific example rather than relevant and specific advice. "How to install and update all possible software" is difficult to explain in 1 or 2 paragraphs.
By the way, the books and websites that are talking about repositories are probably giving you good advice so ignore it at your own risk! As always, the most reliable source of information about Debian is the Debian Wiki, always my first recommendation where to start.
As you see, there are several different "flavors" of package-installation software, depending on the exact distribution that you use. (The documentation for your distro will clearly specify which one is the right one for you.) Nevertheless, they all work in more or less the same way: they determine which version of the target package is available (or that a particular requested version is available), then they automatically determine the prerequisites and corequisites (the "dependencies"), and the correct order of installation. Then, while you sit back and watch, they retrieve the packages from "the right somewhere," perform a digital verification to confirm that the package is authentic, and install the package. Nearly always, the new version supersedes and therefore replaces the old one.
And, basically, you should never deviate from that. If you maintain your system using vendor-supplied packages, never attempt to do it any other way. Never attempt to get those packages from anywhere other than the vendor-approved repositories. Everything depends upon the package-manager software accurately knowing the complete present-state of your system, so that it can automatically move it to a designated future-state.
I would further suggest: "computer software like fine wine ... let it age." Just because a new update has been released, doesn't mean that you ought to install it that same day. Mistakes do happen, and they'll be found-out (by other people!) within a day or two. If you stay "just a little bit behind the curve," but not by much, you can dodge those issues. (Even IBM did that once, shipping a fix-tape for a mainframe system that would leave the machine un-bootable. The IBM-rep called me frantically. But I hadn't installed the tape, and of course, never did.) Be timely, especially with regard to security updates, but perhaps not quite "that" timely.
Last edited by sundialsvcs; 01-23-2014 at 10:10 AM.
I have been trying to install the latest version of guvcview since the one I got (version 1.5.3) simply doesn't work. (No controls in the control panels, image freeze each time, segmentation fault when pressing defaults).
Unfortunately I can't access the internet from the virtual machine in which I am running linux (that is another huge issue, goggled for hours, no solution to that)
In the end I tried to install it but the necessary libraries were missing. With no internet, no way to retrieve them (AND the program actually deleted the old version) It recommended me to install version 1.5.3
So I downloaded the old version again and install it and voila! I still got the buggy version.
This is probably what the tutorials about repositories you didn't feel like reading advised you to do.
If you are looking for a distro that beginners can use without reading a lot of documentation, why not give Linux Mint a try? (That being said, I am on the current Mint 13 Long Term Support release, and I checked for you: I have guvcview version 1.5.3, same as you---apparently this version that is so buggy for you is considered stable by most users and developers?)
After many months without touching this subject, I am back with the problem.,
I asked the company that provided the distribution and they told me, guvcview (and actually other video programs too) is buggy probably because I am running linux on a virtual machine. They recommend using a normal linux on a PC environment....
After many months without touching this subject, I am back with the problem.,
I asked the company that provided the distribution and they told me, guvcview (and actually other video programs too) is buggy probably because I am running linux on a virtual machine. They recommend using a normal linux on a PC environment....
Are you talking about the company that supplied you Debian or the company that supplied you guvcview? guvcview is a normal Debian packages and no company is necessary. Likewise Debian can be downloaded from its own website. What is the name of the "company" that provided the distribution"?
jdk
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,669
Rep:
Unless you have a specific reason not to let your Debian virtual machine connect to the internet and/or your host operating system cannot access the internet then I would suggest things would be much easier were you to simply allow the virtual machine to connect to the internet and update your packaged from the repositories.
It is the nature of modern operating systems that they assume an internet connection will be available for updates.
If you are having problems connecting your VM to the internet and your host OS has internet access then I suggest you open another thread as that ought to be fairly easy to resolve, should you wish to.
Are you talking about the company that supplied you Debian or the company that supplied you guvcview? guvcview is a normal Debian packages and no company is necessary. Likewise Debian can be downloaded from its own website. What is the name of the "company" that provided the distribution"?
jdk
Well actually it is the company that provides me the hardware I am working on. They also- on the side- provide the development environment which is basically a debian distribution to be run on a virtual machine. Of course, I can just download debian and do my own stuff. (Actually I tried to do that once but wow it takes a lot of space, no?)
Although it is not a pressing issue anymore, I still got the problem of guvcview. (Oh I learned to install packages on Debian already, which was the original question )
I have no idea how to solve that, but I just noticed a few things.
Before when I connected my system with a "smart camera" there were no controls to be seen on guvcview.
Now that I am using a totally different camera (not "smart" just UVC) there are controls and I can use them but the image gets freezed everytime
I just thought I would report that. Thank you for all the effort you guys put here to help me
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.