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'm using Debian. There has been some software that I wanted to install that was not available in Synaptic Package Manager. Is there any downside to installing software outside of the package manager? Currently I'm using GDebi to install .deb files and it works fine. But I'm wondering if there are any drawbacks. My primary concern is that uninstalling software may not be as easy or as thorough as Synaptic's Complete Removal option, if I install software without using Synaptic.
Last edited by Mulsimine; 08-23-2018 at 07:09 PM.
Reason: simplified question
Yes, software has two parts that may be lost in out of package manager install. One is version and other is dependencies.
I'd guess almost everyone has used an out of manager software and it may not be easy to fully remove to a novice. Some things just get left an nothing happens. Sometimes you try to update and the normal apt tool will complain about broken packages.
My primary concern is that uninstalling software may not be as easy or as thorough as Synaptic's Complete Removal option, if I install software without using Synaptic.
If it's a *.deb package that the Debian repos do not contain (it there is any such package!) and which was installed with gdebi, managing it is quite straightforward. Indeed, though I haven't needed to test this, I think it will show for removal in Synaptic. (If I'm wrong, I'm sure someone more knowledgeable will correct me.) This link from Ubuntu may help: https://askubuntu.com/questions/2220...-a-deb-package
If you compile from sources and retain the sources, you can use the "make uninstall" command to remove the package. Compiling from sources is fairly straightforward, except that you will have to manually locate and install any dependencies, which can range from tedious to annoying.
Just a wee note that when you say that a package is "not available in Synaptic Package Manager", it is probably better to think of it as being that a package is not available in the repositories, since that is a more accurate description of the situation.
The only drawback to manually installing a deb package rather than installing it from the repositories that I have found is that the manually installed package will not be updated when you run an update on your system. You therefore have to keep an eye out for any updates to that package through some other means (I have written a Python program to check all my non-repository software for updates, but it can be done simply by checking the software's website from time to time). In saying that, some manually-installed deb packages such as that provided by Google Chrome automatically add a repository to your software sources as part of the manual .deb installation.
Naturally, you also have to be more judicious and careful in installing debs from non-repository sources.
Sometimes you try to update and the normal apt tool will complain about broken packages.
The broken packages errors are possible to fix though, right? Not a reason to avoid non-repository packages outright?
Quote:
Originally Posted by jefro
What is the program?
It is a closed source program for my VPN; ExpressVPN. They offer a .deb file on their website that does not appear in Synaptic.
Quote:
Originally Posted by frankbell
If it's a *.deb package... which was installed with gdebi... I think it will show for removal in Synaptic.
Yes I can confirm this. I installed ExpressVPN earlier tonight from a deb package and it now shows up in Synaptic. But it did not prior to installing the .deb file manually. Awesome
Quote:
Originally Posted by frankbell
If you compile from sources and retain the sources, you can use the "make uninstall" command to remove the package.
I have not compiled anything from source yet, but that is cool and very helpful information. Thank you frankbell .
Quote:
Originally Posted by hydrurga
The only drawback to manually installing a deb package rather than installing it from the repositories that I have found is that the manually installed package will not be updated when you run an update on your system.
What do you mean by a system update? Like when I update to the next major stable release of Debian? I'm using Debian 9.5 Stretch.
Quote:
Originally Posted by hydrurga
You therefore have to keep an eye out for any updates to that package through some other means... but it can be done simply by checking the software's website from time to time.
Good advice and just like most of my Windows programs .
Quote:
Originally Posted by hydrurga
Naturally, you also have to be more judicious and careful in installing debs from non-repository sources.
Is the fear here that I might install something malicious?
What do you mean by a system update? Like when I update to the next major stable release of Debian? I'm using Debian 9.5 Stretch.
No, when you check your installed packages for updated versions in the repositories, either by using apt update followed by apt upgrade on the command line or through a GUI application (using the distro's Update Manager program, Synaptic etc.)
Quote:
Originally Posted by Mulsimine
Is the fear here that I might install something malicious?
Yes. It shouldn't be a fear though. You just have to use common sense.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.