LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-28-2019, 05:13 PM   #1
DK1994
LQ Newbie
 
Registered: Apr 2018
Posts: 5

Rep: Reputation: Disabled
Why Linux Can Be Difficult if You're a Not a Programmer


I switched from Windows to Linux around 2012 because I started learning about Richard Stallman, and I not only found the philosophy of free software interesting, but I also didn't want to deal with the surveillance issues of Windows. However, one thing I've seemed to struggle with is installing programs. Before anyone says anything about me "wanting Windows in a different shell", let me be clear that I actually did try learning programming at one point, but I found it difficult. True, everything is difficult until you practice and get better, and I could try learning programming again. Despite the occasional difficulties I've had, I don't at all intend to run back to Windows, because I do manage to get by with the basic features Linux distros offer. FYI, I've used Mint in the past, and now I'm using Debian, however Mint seemed relatively easier to use in my opinion. However, for people like me who just want to install a program, but end up getting confused and frustrated when trying to do so, I don't understand why Linux distros don't come with the option to install a program by using the executable or the source code. The non-programmer could use the executable when they're first learning the ins and outs of Linux, and later on use the source code if and when they finally get the hang of it, while the programmer could just use the source code and make the programs better for the non-programmer because they have more experience.
 
Old 02-28-2019, 05:32 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,485

Rep: Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485
Linux Mint, Debian and most other major Linux distributions have their software on their own servers (repositories) and the best way to install software is through the package manager for that system. Installing is then just a mouse click or two away. I think you're confusing 'programming' with the ability to read and write (type) which is all you really need. I don't know anything about programming and don't have any problems installing software. Perhaps if you could give a specific example of what you are having problems with?
 
1 members found this post helpful.
Old 02-28-2019, 05:51 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
what?
apt-get install app name
it's that simple. No one needs to be a programmer to use and install programs on Linux.

you've been using Linux since 2012, what are you now finding difficult in 2019?

Last edited by BW-userx; 02-28-2019 at 06:03 PM.
 
1 members found this post helpful.
Old 02-28-2019, 06:20 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Agree: software installation on Linux is far easier than on windows. It's also far safer: major Linux distribution repositories provide secure software packages that are installed through graphical means. No hunting around the web for software to install from dubious sources like in Windows.

You CAN install via source code but this is the exception rather than the norm.
 
1 members found this post helpful.
Old 02-28-2019, 06:37 PM   #5
DK1994
LQ Newbie
 
Registered: Apr 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
what?
apt-get install app name
it's that simple. No one needs to be a programmer to use and install programs on Linux.

you've been using Linux since 2012, what are you now finding difficult in 2019?
I should've clarified that most of the time I do use synaptic package manager, but when I have to download stuff off of the internet, that's when things get confusing and frustrating. For example, I've recently downloaded Thunderbird off of Mozilla's website because it wasn't included in synaptic package manager for whatever reason. So I tried exactly what you said by typing in "apt-get install thunderbird" to install it, but ended up getting this error message saying

"E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?"

What's frustrating and confusing is I don't know I did wrong
 
Old 02-28-2019, 06:44 PM   #6
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Rep: Reputation: 258Reputation: 258Reputation: 258
Quote:
...I don't understand why Linux distros don't come with the option to install a program by using the executable or the source code
If you're using a package manager it doesn't really matter if the package is precompiled or not since the package manager does the work for you. The difficulty is the same. I believe in Mint when you install a 3rd party package it's already been compiled?

Maybe you're referring to those packages that aren't available for your distribution and you have to get it directly from the developer in which case you would follow their instructions for installing, probably generically, and make the adjustments for you own distro.

The reason why there is no "one size fits all" is because each distro has it's own way of handling packages. For example, I can't install a package made for Redhat without first converting it for Slackware. A developer couldn't possibly package their software for each and every distro. So it's up to the distro to package that software.

I believe Snaps is supposed to solve this "problem"? But I couldn't really say because I haven't looked into it.
 
Old 02-28-2019, 06:54 PM   #7
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by DK1994 View Post
I should've clarified that most of the time I do use synaptic package manager, but when I have to download stuff off of the internet, that's when things get confusing and frustrating. For example, I've recently downloaded Thunderbird off of Mozilla's website because it wasn't included in synaptic package manager for whatever reason. So I tried exactly what you said by typing in "apt-get install thunderbird" to install it, but ended up getting this error message saying

"E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?"

What's frustrating and confusing is I don't know I did wrong
Nonsense, Debian has it
Code:
https://packages.debian.org/search?suite=default&section=all&arch=any&searchon=names&keywords=thunderbird
and so does *buntu:
Code:
https://packages.ubuntu.com/search?keywords=thunderbird&searchon=names&suite=bionic&section=all
your message looks like you were either trying to apt install as user and not root/sudo or your dpkg was already in use by another program and was "locked". You can remove the lock when that happens: https://askubuntu.com/questions/4981...-lib-dpkg-lock

Note: if you are using Debian or *buntu with backports then rarely will you need to install from outside the repos, that's one of its strengths.
 
1 members found this post helpful.
Old 02-28-2019, 07:12 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
sudo is too called into question, in the message ..E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?"
 
Old 02-28-2019, 08:23 PM   #9
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
If the OP had synaptic running and also tried to "apt install blahblah" in a terminal, they would get this message too because the package DB is locked by synaptic.
 
Old 02-28-2019, 08:27 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
"are you root" as suggested by BW-userx

I can't say what is more easy from an OS or program point but I do know there are a lot of folks that do seem to have issues with programs on linux. I have to look stuff up once in a while too.

Last edited by jefro; 02-28-2019 at 08:30 PM.
 
Old 03-01-2019, 01:37 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
DK1994, your OP is friendly enough, so I'll try to do the same to you.
However, variations of this topic have been regurgitated thousands of times (i'm sure i'm rather downplaying than exaggerating) on all GNU/Linux/FOSS community platforms...

I am not a programmer. I started using Linux in 2012 - not because of guru stallman but because my partner (not a programmer either, or even in IT) wrote their thesis on a ubuntu laptop, and ubuntu had a bittorrent client built right into it[1].

I have learned a few things over the years, and now I'm using ArchLinux. Believe me, I'm only hanging on, but comfortably so. I manage to take care of my own system, that's it.

So I guess it comes down to learning things - accepting the responsibility[2]. willingness. not throwing a temper tantrum when something doesn't work the way i want it. not blaming some vague outside entity (the distro developers maybe?) - instead simply try to solve the problem at hand, one step at a time. patience & persistence.
being realistic: at the moment, this thing is way over my head. i have to let it go, come back later, do something else[3].

You may say it is wrong of me to demand all that from linux newcomers, and i say: "Distros marked beginner or userfriendly work well enough out of the box. If you're not confident about changing things, don't mess with the defaults!"
Whatever else critique a statement like that will get me, you have to admit it has nothing to do with being a programer.

[1] OK, that wasn't the only reason; I'd been toying with the idea for a year or so, and that was just the final kick...

[2] IMO that is still the biggest difference between GNU/Linux & $PROPRIETARY_OS

[3] famous example of doing it wrong: "But I need to install the newest version of software XYZ! That's why I started compiling from source even though I have no clue how to do that! HELP!"
 
3 members found this post helpful.
Old 03-01-2019, 03:13 AM   #12
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,620
Blog Entries: 40

Rep: Reputation: Disabled
Quote:
Originally Posted by DK1994 View Post
I don't understand why Linux distros don't come with the option to install a program by using the executable or the source code.
If your decision to use Linux rather than Windows has to do with the differences between them, you can lean back, fold your hands on your belly and smile. Do it now.

This is especially a detail that the non-programmers should enjoy. “Knowing stuff” is also responsibility (where did I read that word) but if you are just trying to avoid a headache, trust me, the way that Linux handles installation packages is a fine painkiller.

It is a mystery to me, why the word “PROGRAMMER” pops up every now and then, whenever something becomes comp... (NO!) subject to reflection. We are not the only ones who complicate things these days.

Last edited by Michael Uplawski; 03-01-2019 at 03:14 AM. Reason: wording
 
Old 03-01-2019, 09:13 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
For what it's worth, I'm not a programmer.
 
1 members found this post helpful.
Old 03-02-2019, 08:00 AM   #14
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,473

Rep: Reputation: Disabled
Quote:
However, for people like me who just want to install a program, but end up getting confused and frustrated when trying to do so, I don't understand why Linux distros don't come with the option to install a program by using the executable or the source code.
Linux (& BSD) programs use other helper programs & libraries, so as not to duplicate too much code, unlike MS used to, but they also now use libraries, ever noticed those .dll files, dynamic link libraries - so no difference there then.

Each distro comes with a package manager, this bit of software does all the tricky bits for you, so you just ask it to install a certain program, & it will find any necessary libraries &/or helper programs for you, & install everything needed.

All you have to do is use it. Debian based systems, (which I use), use apt as a front end to an older program called dpkg, & these not only install your program, but also keep a record of what it installed, & where, so that you can remove it safely, if you want to.

I'm not a programmer either, although I can compile software, if the need arises, because I took the plunge to dig deeper than a newbie needs to, to be able to run their computer using Linux.

Hope this helps you to understand something of the Linux philosophy.
 
Old 03-02-2019, 09:13 AM   #15
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,140

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I find it hysterical that people equate a command line to programming. Not even close. I can use a terminal quite well I think, and I can script fairly well. But programming... not even close. I don't understand a singe line of code outside of bash. And I didn't start using Linux AFTER I understood some bash. I started using it knowing nothing.

They have made it easier than Windows to install apps and programs these days. I don't mean to be harsh but if you can't figure out or think you need to be a programmer to point and click your way through the software center then you need to reevaluate whether or not you should be using a computer at all. At the end of the day Linux is generally easier and simpler, better designed than Windows. Programmer knowledge not required.

I honestly think the "have to be a programmer" line is more like "I don't want to learn something else, why can't it be free windows!" than anything. It's just different, but in most ways far simpler to use.
 
  


Reply

Tags
installation, linux, programs, user preferences, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am a programmer(Student). How can i help the Linux community as a Programmer? mgsurya Linux - Newbie 11 07-21-2010 03:56 AM
Programmer to Programmer ( Long Story Of A GUI ) mdoubledragon Programming 1 10-13-2005 05:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration