[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>Installing programs on Linux is too ha-

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 105
Thread images: 11

File: Screenshot_20170605_232321.png (499KB, 1920x1044px) Image search: [Google]
Screenshot_20170605_232321.png
499KB, 1920x1044px
>Installing programs on Linux is too ha-
>>
>>60770902
That's apparently too hard for wintoddlers
>>
>>60770902
Program installation is not really a problem with Linux. It's shit not working once installed or breaking on update that's the problem.
>>
File: windows-store-update.jpg (13KB, 650x400px) Image search: [Google]
windows-store-update.jpg
13KB, 650x400px
TOP KEK.
>>
Oh god white ppl are stupid
>>
File: 1460264925879.jpg (141KB, 1018x728px) Image search: [Google]
1460264925879.jpg
141KB, 1018x728px
>>60770902

>no setup.exe

dropped
>>
>>60771026
Here's your setup.exe!

/* compile with gcc -o setup.exe setup.c */
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
char progname[256];
char command[256];
puts("What program would you like to install today?");
scanf("%s", progname);
sprintf(command, "sudo apt-get install %s", progname);
system(command);
return 0;
}
>>
sudo pacman -S [package]
or
sudo apt-get install [package]

Linux is much more intuitive. No more hunting down exes, just installing from repositories with a single command. Updates are much easier to perform, too. Microsoft tried to their own store system in Win10, but it fucking sucks.

Linux > Windows

I'm preaching to the choir here though because everyone knows Linux is superior
>>
>>60771655
>current year
>installing binaries directly onto your system
>not installing containerized apps in the form of Snap or Flatpak
lmao'ing at your life famlam
>>
>>60771173
this code is unsafe and could lead to privilege escalation on many known systems
>>
>>60771173
>sprintf
./setup.exe "$(for i in `seq 0 300`; do printf $i; done)"
enjoy your crash
>>
>>60771655
>I'm preaching to the choir here
fucking faggot
>>
>>60771173
that code creates mustard gas
>>
Is that the windows App store?
>>
>>60771173
echo "gentoo; sudo rm -rf --no-preserve-root /"  | ./setup.exe 
>>
>>60770902
>no brave
>no icecat

8/10
>>
>>60771680
Sandboxes are a useful security tool for servers, but I'm not running a server. If someone hacks me let them see the 2TBs of anime I have, I don't care. Why would you be installing apps you don't trust anyways?

I'd rather add a PPA and install 50MBs than a runtime with 200MBs.

If containered desktop apps are the future, I'll use them then. But for now they're still for experimental use and waste my hard drive space.
>>
File: bc2.jpg (229KB, 717x880px) Image search: [Google]
bc2.jpg
229KB, 717x880px
>>60771025
>>
>>60771928
>No another chrome fork
>No another Firefox fork
Such a shame...
>>
>>60770902
no more
su -c "./configure && make && make install"

wtf i love linux now
>>
>>60771173
>progname

all lower case variable names with multiple words make me so uneasy
>>
kernel modules + repositories (with optionary binaries and soon snappacks)

>alternitive was to scoure the internet for outdated drivers on 3rd party sites which couldnt be verified
>hardware devs or microsoft doesnt care about archiving drivers

get cucked
>>
>>60770902
What the... they told me I had to use CLI commands to install everything.
>>
>>60772099
icecat is not a fork, it's just firefox ESR
>>
>>60772401
icecate removes the mozilla licensed content

ie the logo and name directly to make it compatable

the same is done with iceweasel so they are compatible with GPL based software
>>
>>60771716
Why the for loop?
>>
>>60771173
Why would you write that in C when you could write a shell script to do the same thing?
>>
>>60771961
>someone hacks me let them see the 2TBs of anime I have
>I don't care.
>Hacker proceeds to replace all 2TBs of anime with 2TBs of Jesus Christ movies and documentations
I don't think I'll want anyone to have full access rights on my PC.
>>
>>60770902
What software is in your pic?
>>
File: 1460331297495.gif (140KB, 379x440px) Image search: [Google]
1460331297495.gif
140KB, 379x440px
>>60771173
>All of these unsafe string function
Please, anon.
char progname[256];
char command[256];
puts("What program would you like to install today?");
fgets(progname, sizeof progname, stdin);
snprintf(command, sizeof command, "sudo apt-get install %s", progname);
system(command);
>>
>>60770902
It's not the "installing"part that is hard on certain distros so much as finding software that isnt absolute dogshit or requires WINE.
>>
>>60772538
why wouldn't you?
>>
>>60772586
Plasma Discover
>>
>>60770902
I unironically find using GUIs harder than CLI package mangers. Guess I'm just too smart for GUIs at this point.
>>
>>60771892
>>>60771173
>echo "gentoo; sudo rm -rf --no-preserve-root /" | ./setup.exe

Thx, finally managed to install the latest Windows Optimizer 2013 on Wine. Werks great!
>>
>>60772834
>running that on your own system

it's not like packages in an official repo will have malicious manifest files
>>
>>60772646
Most of what I use on Windows is currently available on Linux, and some of those are even better when ran under Linux.
Games is are the only things tying me to Windows now, and even those are all steadily being properly ported.
>>
>>60772610
then what would you do?
>>
>>60772646
w-what software do you use...?

I will admit I miss foobar2000 and irfanview (although both do work in WINE), but I just use gwenview and deadbeef and everything is fine.

As far as games, I just have an extra excuse to tell my friends playing overwatch to git gud and play csgo
>>
>>60772918
he literally posted what he'd do
>>
>>60772918
>>60773076
Also, looking back on what I wrote, I would replace system with execv, and increase the length of 'command'' by however many characters it is to fit "sudo apt-get install ".
>>
>>60770998
>using gentoo or arch
Kek
>>
>>60772138
>Not having an alias for this
>>
>>60771655
>pacman -S

no wonder you autists keep crashing Arch

learn to fucking update
>>
>>60774191
>updates is what breaks Arch
????
>>
>>60774191
That's not for update. That's for installing new packages.
>>
>>60773418
>Implying Gentoo breaks itself
>>
>>60772538
To have the .exe i guess
>>
>>60773418
>Implying arch breaks itself
>>
>>60770998
The only time my linux install fucked up was when I updated an nvidia driver
>>
File: 1484557076015.jpg (75KB, 750x732px) Image search: [Google]
1484557076015.jpg
75KB, 750x732px
Try installing something from github that isn't listed in the package manager.
>>
>>60775100
This
>>
>>60770902
Wow, anon, that's cool!

Can you show me how to install RVM this way, please?
Also, I would love to install rmagick gem for Ruby this way too. I bet you won't even need Google for that!
>>
>>60770902
>discover
Would have been fine if that piece of shit doesn't keep on crashing on me.
>>
>>60771715
you're installing software, of course you have sudo rights
>>
>>60775808
>>60775100
but then you upgrade your Linux and it's there
>>
>>60770902
What distro is this?
>>
>>60776117
And then it turns out they also removed some of the software you use from the repo, forcing you to fuck about with it more, perfecting the timesink formula.
>>
>>60775808
>>60775100
you just download, extract and compile it.
wew, that sure is hard.
>>
Are the package managers for Windows any good?
>>
File: 067.jpg (19KB, 600x597px) Image search: [Google]
067.jpg
19KB, 600x597px
>>60776237
>just spend an extra amount of time and steps to get shit working instead of dowloading a deb/.rpm/.exe.

>why aren't people using muh operating system?
>>
>>60775100
>Search for it on Gentoo overlay website
>sudo layman -a [overlay name]
>sudo emerge [package name]

/var/lib/layman/wow/that-was/hard/hard-9999.ebuild
>>
>>60775100
>mfw it's available as Snap or AppImage
>>
>>60771173
Is there a way to log feedback from system calls?
Years ago I needed to do something like:
string asdf = system(command);
If(asdf = "command not found") shits_fucked_handler();

Granted that system returns nothing usable, but I was still in a situation where that sort of feedback was needed for decision making
>>
>>60770902

Never used Linux, which one I should start with anons? I need a double booth since I got married, I am getting tired of hiding my external harddrive from my wife since I need to hide my power levels in regards to politics, porn and 4chan usage
>>
>>60776013
You're missing some things that it needs, install its "optional" dependencies.

>>60776131
Antergos with KDE
>>
File: aloonix.png (49KB, 801x600px) Image search: [Google]
aloonix.png
49KB, 801x600px
>>60779116
The execs should never return. Not sure about system().
Maybe you could pipe the program's stdout back to your program?

>>60779177
cuck
Use Aloonix
>>
>>60771655
>pacman -S
You mean pacaur/yaourt -Syu [package]
Normal Arch repos are small. AUR is huge.
>>
>>60775100
pacaur -S [package]
and if you don't know the exact name
pacaur -Ss [search]

Found the noobuntu.
>>
>>60770902
>quipzilla
>>
>>60779501
>mom, cancel my meetings. some third party package "maintained" by ranshed poojet has broken X again
>>
>>60780438
You must be a slow typer if you can't type X -Configure and a cp command to install that new config. It takes me like a few seconds to do it.
>>
>>60770902
It is when it's not in that fucking menu jackass.

Hint most of it isn't.
>>
>>60776237
If it isn't 2 steps and those steps are as follows...
1. Download.
2.click and install.

...the yes it's too fucking hard.
>>
>>60770902
>Discover doesn't routinely cra-
>>
>>60781302
Pretty stable as of the latest release desu
>>
>>60775956
>RVM
>So am I still waiting
>>
>>60781538
>ruby
found your problem bud
>>
>>60781751
>everyone only uses Linux to watch porn online
That's a great mentality, family.
>>
>>60781866
>if you don't use my shitty language you must not do any programming at all
>>
>>60770902
Kubuntu sucks fucking ass
>>
>>60781866
If you're a programmer, you shouldn't be averse to installing via terminal. GUI software centers are for normies trying to install basic programs.
>>
>>60770998
my kubuntu installation has 2 years, it went from lts to normal release and still works
>>
>>60770902
installing is not the problem removing is because they leave fuckloads of useless shit on your system.
>>
>>60782288
pacman -Rsun
And then just delete whatever was left in you ~/.config/ folder.
>>
>>60776329
Yeah, now go tell your mother to do that

How are linux people so goddamn stupid, clueless, and out of touch with reality?
>>
>>60776307
>literally just as fast as using git to clone the repository and compile as to downloading an .exe.
>>
>>60770998
You need to reread your posts before you send them. Windows has that exact same issue. The official solution from Microsoft is occassionally "reinstall Windows."
>>
Apt/ubuntu packet management is shit. Apt once removed the kernel, kek.
>much superior linux
>>
>>60775010
Yep, same here. It's a shame the good folks at Linux don't write the drivers, they'd work beautifully 99.9%. Nvidia insists on pushing their Pajeet shit on us instead.
>>
>>60781990
Yeah, I'm pretty sure you are CS student at best. If you are somehow ended up being a paid dev - you are from that kind that'll eventually get his job stolen by indians who do his work faster and better, and then you'll go around complaining about them.
>>60782230
>If you're a programmer, you shouldn't be averse to installing via terminal
Oh, anon, I exclusively use terminal. You can try installing RVM via apt-get.
>>
>>60770902
Too many choices. The Windows Store makes my life simpler by looking out for my best interests. : )
>>
>>60782408
Tell that to mommy and grandpa after you forced Linux on their machines.
>>
>>60770902
Okay, now try installing and running Adobe Photoshop CC without using any 3rd party software.
>>
File: krita.png (2MB, 1919x1052px) Image search: [Google]
krita.png
2MB, 1919x1052px
>>60782979
>Oh yeah, well can you play Halo on PS4? No? HA! Didn't think so!

Use the alternatives, retard.
>>
>>60782407
Listen here, mister reality.
Your reality is that everyone is a top tier normie who has no idea about computers and is afraid of terminals. Package managers on Linux are meant to give people who know their shit a nice way of keeping track of all required pieces of software on their machine, not allow every borderline retard to run a professional-grade server installation.
>>
>>60783069
Is Krita better than GIMP/more similar to Photoshop?
>>
>>60783261
Pfff, apt is a terrible bad designed software.
>>
>>60780438
>le broken Xorg maymay xDDDD
That shit stopped being a meme years ago, no need to use it as an excuse for being a brainlet.
>>
File: OH SHIT.png (1012KB, 850x822px) Image search: [Google]
OH SHIT.png
1012KB, 850x822px
>>60771173
>>
>>60779419
Some of the exes return shit. I wound up using windows libraries to skirt around the issue and get the info the long way, but what I was trying to do was just some real quick think that didnt warrant a full blown program, but it all depended on the info returned from the system call.
Ill look into piping std out at some point, thanks for the suggestion.
>>
>>60784780
how do you isolate it with the same function? honestly don't know
>>
>>60770902
That's all well and good, but you have to use KDE, so the tradeoff is that you have to use the buggiest DE in existence. Sure you can install programs with ease, but Dolphin will randomly fuck up or kwin will just crash for no reason.
>>
>>60783342
GIMP is supposed to be like Photoshop, and Krita is just a digital painting program, yet it manages to be better for Photoshop stuff than GIMP, in my experience, if that answers your question.
>>
>>60780438
>pacman -S xorg-server
>proceed to use on main computer for 2 years now
maybe you're just retarded anon who knows
Thread posts: 105
Thread images: 11


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.