Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Why use the terminal or SPM to install programs and packages?

  1. #1
    Join Date
    Aug 2013
    Beans
    2

    Why use the terminal or SPM to install programs and packages?

    Ive recently switched from windows to ubuntu, and i try to learn as well as i can.

    The way of aquiring programs in ubuntu is puzzling me. In windows it was simple - you just downloaded some installation file and installed the program. In ubuntu ive been learned to use the terminal or a program "Synaptic Package Manager" (SPM) to download and install new programs.

    The ubuntu way seems to limit the possibilities, since i guess you seach through an isolated database instead of the whole internet. Am i wrong on this point?

    Is it also possible to download programs from anywhere on the internet? Are there some disadvantages to do so?

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: Why use the terminal or SPM to install programs and packages?

    The packages in synaptic (software center) have a ubuntu maintainer. Third party packages (also launchpad) are better left alone until you get a better feel for linux. Not always (there are many good ones), but they can be buggie and create system problems.

    If you have an idea of what your looking for you can search launchpad.

    https://launchpad.net/ubuntu/+search

  3. #3
    Join Date
    Jun 2008
    Location
    Across The Pond
    Beans
    954
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Why use the terminal or SPM to install programs and packages?

    Quote Originally Posted by ibjsb4 View Post
    The packages in synaptic (software center) have a ubuntu maintainer.
    This is a good point. However, there are software out there that is not in the Software Centre nor Synaptic, and many of them offer a download for Ubuntu, or at least Debian. For help installing these, you can use GDebi.
    "Everybody is ignorant, only on different subjects." Will Rogers

  4. #4
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,821
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Why use the terminal or SPM to install programs and packages?

    Synaptic, the software centre and apt-get install programs from an isolated database, which is very large (39455 packages available on my version 12.04). This offers one-click installation, automatic updates and the guarantee that it won't contain malware or damage your system in any way (well, usually. On rare occasions there may be nasty bugs). Manually installing something you downloaded from a random website is possible, but should be your last resort. That way often has more complicated installation procedures, won't offer automatic updates, will make it difficult to check compatibility with your system and won't protect you from malware.

  5. #5
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Why use the terminal or SPM to install programs and packages?

    Lots of good info so far. I will add that all apt-based package managers (apt-get, synaptic, and software center--they all do the same things under-the-hood) can install additional packages by adding more sources to the list.

    Two tech blogs that often recommend good sources are webupd8.org and omgubuntu.co.uk
    Jane, stop this crazy thing!

  6. #6
    Join Date
    Aug 2006
    Location
    Haarlem Netherlands
    Beans
    250

    Re: Why use the terminal or SPM to install programs and packages?

    The use of package management has the advantage of safety for the end-user. A better view on uninstalls of applications, uniform management for outside developers of apps through launchpad/ppa's, these are bonusses. Shady exe_like installers from shady websites are not necessary to use a fully equipped linux distro.
    And the terminal is just quicker and lighter after a period of getting used to. And more fun.

  7. #7
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: Why use the terminal or SPM to install programs and packages?

    Quote Originally Posted by Frysen View Post
    The ubuntu way seems to limit the possibilities, since i guess you seach through an isolated database instead of the whole internet. Am i wrong on this point?
    It's a question of risk and effort...and perspective
    On Mac or Windows, you are responsible for determining if what you downloaded is both compatible and trusted enough to give it access to your system. You are responsible for installing dependencies. You may (or may not) have a greater selection, but you also assume greater risk.

    The Ubuntu repositories are tested for compatibility, and only trusted uploaders are permitted, so you don't (currently) need to run antivirus. Developers know that specific versions of shared libraries are available, so the software can be much smaller and the system can handle dependencies automatically.

    Your question assumes that more = better. Sometimes that is true, sometimes not.


    Quote Originally Posted by Frysen View Post
    Is it also possible to download programs from anywhere on the internet? Are there some disadvantages to do so?
    Yes, it's possible and easy. The disadvantages are that you assume more risk, and that internet software is unsupported by this community.

  8. #8
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: Why use the terminal or SPM to install programs and packages?

    Quote Originally Posted by newb85 View Post
    can install additional packages by adding more sources to the list.
    You also have a couple built in. Open your software-sources.

    other sources.png

    You do not need 'source code'.

  9. #9
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,198
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Why use the terminal or SPM to install programs and packages?

    Using SPM guarantees that any dependency issues can be resolved/installed at the same time. That's a big bonus for newer users.
    MacBook Pro 10,1 retina

  10. #10
    Join Date
    Aug 2013
    Beans
    2

    Re: Why use the terminal or SPM to install programs and packages?

    I am positively surprised that so many people want to help a newbe like me. Thank you all!

    You all seem to agree that using "apt-get package managers" (a new phrase for me) is the best, so i guess i will go with these!

    Just one follow up question:

    Quote Originally Posted by ian-weisser View Post
    The Ubuntu repositories are tested for compatibility, and only trusted uploaders are permitted, so you don't (currently) need to run antivirus. Developers know that specific versions of shared libraries are available, so the software can be much smaller and the system can handle dependencies automatically.
    Who performes these tests? It seems like a huge amount of work to do that! Who decides what can be found when i seach for software in the terminal?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •