• Breaking News

    [Android][timeline][#f39c12]

    Thursday, June 3, 2021

    Linux Snaps vs Flatpaks vs Appimages vs Debs/rpms vs Aurs. A comparison between linux repositories

    Linux Snaps vs Flatpaks vs Appimages vs Debs/rpms vs Aurs. A comparison between linux repositories


    Snaps vs Flatpaks vs Appimages vs Debs/rpms vs Aurs. A comparison between linux repositories

    Posted: 03 Jun 2021 07:06 AM PDT

    Flatpak:

    If you're not experienced with bubblewrap, and apparmor to secure/isolate your apps. Then flatpaks, whilst not a silver bullet, are a great way to have some security. It isolates apps, and let's u manage app permissions through flatseal, it's gui app, or cli.

    It has the lowest number of packages than other app stores.

    Has a similar app size to appimage.

    Snap:

    Not as secure as flatpaks, owned by canonical which many don't trust, bloated as they take a huge amount of storage (for e.g inkscape was around 180 mb, whereas flatpak and appimage were around 90) however it's still more secure than normal community apps.

    Has more packages than appimages and flatpak

    Appimage:

    Afaik, no package manager has this repository built in, so u'll have to download from the apps website. It's similar to an .exe, probably the easiest to install, but updating can be a pain as you need to manually keep re-downloading the appimage.

    It has the smallest appsize (when compared to snaps and Flatpaks) and is selfcontained (1 file, 1 app) so it can be placed anywhere and is portable, in terms of security it relies on trust as it's probably the most likely repo to distribute malware, and doesnt have isolation.

    Has more packages than flatpaks, but not as much as snaps

    Deb/rpm:

    .Deb is Debian based distros only, however theres many ways to install this on other distros, for e.g use debtap on arch

    Consumes the lowest amount of storage, has no additional security by default so I'd recommend using something like bubble wrap, or at least firejail (easier to use) to isolate your apps.

    Has more packages than snaps, flatpaks, appimages, but not as much as AUR.

    AUR:

    Limited to arch only.

    Has the highest number of packages than any other repo, if the app doesn't appear as a native community app, or other, chances are someone in the arch community will have made an AUR for it.

    One downside is that: depending on the app you install, it can take ages to compile, since unlike other options usually these aren't pre-compiled (unless someone made a binary for it, as shown by "bin" in the title, for e.g I tried getting librewolf and after almost 4 hours I just ended up getting the appimage. However it's probably safer from malware because of this as it allows you to see exactly what's happening. As well as the fact that its huge community will likely spot malware/spyware and either patch it themselves or report it.

    There's no sandboxing by default so its best to isolate apps yourself.

    submitted by /u/SombreSerenity
    [link] [comments]

    How do I explain to someone that something open source can be secure?

    Posted: 02 Jun 2021 09:20 PM PDT

    I just had an argument with my friend who doesn't really understand open source things about how even though Linux is open source it's also secure. My friend was saying that Linux couldn't be safe because people could just look at security and just get around it. I tried explaining to him how because it's open source millions of people constantly have their eyes on it and constantly checking every commit, release, etc to make sure it's safe, but he just said that you could still just get around those just by looking at the code and coding a bit. Is there a simple (think eli5 but just the tiniest bit more complex) way to tell him that something can be open source and safe / secure?

    submitted by /u/Anthenumcharlie
    [link] [comments]

    Guys I think something went wrong when trying to install ubuntu

    Posted: 03 Jun 2021 01:41 PM PDT

    Terminal crashes a while after opening

    Posted: 03 Jun 2021 01:15 PM PDT

    Hello!

    I'm not sure of this but I beleive that when you open a terminal the first thing it will do is run source .profile, but doing that crashes the terminal. The only way I can avoid this is by hitting Crtl+C right after opening the terminal.

    Why is this? Is there any way to solve this? Haven't found anything yetAll I did was add export PATH="$PATH:/home/user/kafka_2.12-2.5.0/bin" at the end of the file following a tutorial to install Apache Kafka.

    Using Ubuntu 20.04 LTS

    submitted by /u/CollisioSiderea
    [link] [comments]

    Linux phone users, what is your experience?

    Posted: 03 Jun 2021 07:48 AM PDT

    Hi, I used to hop back and forth from Window to Linux for a long time, but for a year now I have started to use Linux for majority of my work now. I must say I am loving it. It is faster than Windows and light weight too. It doesn't hogs down all the RAM.

    But this isn't enough. I am using Android phone but don't like the role that Google plays in it. So I was wondering if I could buy a phone running Linux.(I know Android has a Linux kernel)

    So my questions are:-

    1. People who use Linux phones, what are your experiences?

    2. How good is it as a daily driver?

    3. Do you struggle to find daily use apps, since there is no Play Store?

    4. Do you think these are ready for large scale use or just in earlier stages?

    submitted by /u/_V1R_
    [link] [comments]

    Supplying RDiff Base File Using Pipe Results in Illegal Seek Error

    Posted: 03 Jun 2021 02:31 PM PDT

    If I run the following rdiff command

    rdiff patch basefile patchfile outputfile

    everything works as expected, however, if I try to use stdin to provide the base file like this

    xz -d -c basefile.xz | rdiff patch - patchfile outputfile

    I get the following errors

    librsync: ERROR: (rs_file_copy_cb) seek failed: Illegal seek

    librsync: ERROR: (rs_job_complete) patch job failed: IO error

    librsync: ERROR: IO error

    The man page clearly states

    In every case where a filename must be specified, - may be used instead to mean either standard input or standard output as appropriate.

    Is the man page incorrect, or am I doing something wrong? Is it possible to provide the base file to rdiff using a pipe? Any other way to provide the basefile to rdiff via the xz command without creating a temporary file which isn't an option for what I'm trying to accomplish?

    submitted by /u/HarryMuscle
    [link] [comments]

    Need help with shell script

    Posted: 03 Jun 2021 02:11 PM PDT

    Hello.

    I'm trying to make a shell script. The script is supposed to list all the .txt files in current working directory and print out all the .txt files that contain a word that I've entered.

    For example, I want to search for the word 'vehicle', the script should print this if there is a word 'vehicle' in any of the .txt files:

    $ ./script.sh vehicle $ These files contain word 'vehicle': $ file1.txt file2.txt 

    Or it should print this if it doesn't find any:

    $ ./script.sh vehicle $ None of the .txt files in current directory contain word 'vehicle'. 

    To make matters worse, if the user doesn't enter anything then the script will automatically search for the word that is hard-coded (the name of the distribution it was written on). For example:

    $ ./script.sh $ These files contain word 'Pop!_OS': $ distro.txt file3.txt file17.txt 

    Or if it doesn't find anything:

    $ ./script.sh $ None of the .txt files in current directory contain word 'Ubuntu'. 

    Any help on this? I want to make this script for myself, because it will make my workflow much easier but I don't know how to do it. Thanks in advance!

    submitted by /u/Luki185
    [link] [comments]

    I accidentally messed up the git command. How do i fix this?

    Posted: 03 Jun 2021 01:51 PM PDT

    when i run:

    git clone https://github.com/derrod/legendary.git 

    It returns:

    loning into 'legendary'... fatal: unable to access 'https://github.com/derrod/legendary.git/': Failed to connect to 192.168.128.3 port 8080: No route to host 

    I vaguely recall messing with nmap and github a bit ago. What should i do to fix this? I am on Linux Mint MATE.

    submitted by /u/I-am-shrek
    [link] [comments]

    Linux lqx kernel causes black screen with manjaro proprietary drivers

    Posted: 03 Jun 2021 12:51 PM PDT

    I have Manjaro with proprietary amd drivers I installed the the linux-lqx kernel and it's headers but after that booting caused a black screen then froze the computer and the only way to fix it was to revert to the manjaro stock kernel (previously like a few weeks ago I installed manjaro with open source drivers and the lqx kernel worked like a champ)

    submitted by /u/P65B40
    [link] [comments]

    Help how to I connect to my WiFi I'm using manjaro

    Posted: 03 Jun 2021 12:49 PM PDT

    Help I just managed to boot up Linux manjaro from my USB and I'm trying to connect to WiFi but I can't find any options to connect to WiFi please help!! Is manjaro new user friendly or am I just dumb??

    submitted by /u/RepresentativeSort10
    [link] [comments]

    Which linux distro do you reccomend? I am programmer well beginner but interested in eth blockchain development.

    Posted: 03 Jun 2021 08:57 AM PDT

    Which linux distro do you reccomend? I havent used linux since childhood. So i look for most costumizable and most secure distro out there. what can you tell me about manjaro or ubunt(Dk why just dont like ubuntu well bcs i dont know too much about it) So guys will be happy if u help me to chose distro < 3

    submitted by /u/Professional-Pea7165
    [link] [comments]

    A way to FTP connect through Dolphin file manager?

    Posted: 03 Jun 2021 12:41 PM PDT

    I wan't to connect to my school server via FTP on Dolphin KDE. Is there a way? I don't know how to connect.

    submitted by /u/shadowmaker_88
    [link] [comments]

    Washed Out Monitor

    Posted: 03 Jun 2021 12:27 PM PDT

    Recent Windows refugee currently residing in Linux Mint here. I've always had this strange issue, even on Windows, where my primary monitor looks washed out when I boot up the computer. On Windows it was super easy to temporarily fix by just right clicking on the desktop and going into the display settings where it would automatically fix itself, so I never found a permanent fix for it. I was hoping someone could walk me through a good, permanent fix for Linux Mint? Thank you!

    submitted by /u/The_Frenchiest_Fry_
    [link] [comments]

    How/Where does spotifyd store the user data (username & password) and how do I change that?

    Posted: 03 Jun 2021 12:23 PM PDT

    Help with missing GPG key

    Posted: 03 Jun 2021 11:52 AM PDT

    So I just installed Debian 11, and I was trying to get a package from a older release, "oldoldstable" to be more precise and I added as the rest, but when I try and update it complains that the public key is not available. I don't know where to get this key safely and add it.

    W: GPG error: http://mirrors.edge.kernel.org/debian oldoldstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1

    E: The repository 'http://mirrors.kernel.org/debian oldoldstable Release' is not signed.

    N: Updating from such a repository can't be done securely, and is therefore disabled by default.

    N: See apt-secure(8) manpage for repository creation and user configuration details.

    Thanks,

    submitted by /u/sanmacorz
    [link] [comments]

    Can I dualboot with 2 EFI partitions?

    Posted: 03 Jun 2021 07:53 AM PDT

    I am going to install Arch linux on my laptop(Dell G3). There are 2 disks:

    • 500GB SSD (Windows partitions + EFI)
    • 1TB HDD (empty)

    I am only going to use windows very rarely, so could I install linux without caring about windows in the 1TB drive with its own efi partition? So after installation it would look like this:

    • 500GB SSD (Windows partitions + EFI)
    • 1TB HDD (root + EFI)

    I was thinking of changing the boot priority in the bios settings to be the 1TB drive with linux, so when I need to boot into windows, I could use the one-time boot menu. Is it possible?

    submitted by /u/VicFic18
    [link] [comments]

    No matter what, I just can't install Linux.

    Posted: 03 Jun 2021 11:20 AM PDT

    Everytime I try to install Mint or Ubuntu, my system freezes at different places. The wheel stops turning and I have to hard reset. I've been trying to install via USB drive, having bought a new one today as I thought the last one might've been the problem. I have tried acpi=off and nomodeset configurations to no avail. I've been trying for 4 days and it's just not working.

    Is anybody able to reach out and help? Windows works perfectly on my other drive, all hardware operating as it should. I do use Nvidia. I've tried skipping multimedia codec downloads, installing with internet off and multiple other methods. I've tried mounting with balenaEtcher and Rufus, neither being better than the other. It just won't happen :(

    Thanks in advance. I'm ready to give up on Linux at this point.

    I've tried to boot in compatibility mode and it only gets so far, giving me this line: [sdd] Failed Result: Hostbyte=DID_ERROR driverbyte=DRIVER_OK, however this doesn't occur in normal mode.

    Hardware:

    CPU I7-4820K 3.70gHZ

    OS: Trying to install Mint 20.1 Cinnamon, tried latest Ubuntu also.

    GPU: NVIDIA GTX 980

    RAM: 24GB DDR3

    3 DRIVES: Sandisk 250GB SSD for Windows, HTC 1TB HDD for use alongside Windows, Hitachi 250GB HDD used for attempted installs.

    submitted by /u/xCatch33
    [link] [comments]

    [Help] Lower volume of one source when two sources are present.

    Posted: 03 Jun 2021 10:33 AM PDT

    Can linux utilize an NTFS filesystem the same performance as an Ext4? (For regular partitions.) Can Windows do the same with Ext?

    Posted: 03 Jun 2021 10:19 AM PDT

    Battery draining problem.

    Posted: 03 Jun 2021 09:54 AM PDT

    Hey guys!

    I have ubuntu 20.04.2.0 dual booted alongside win10. I'm using nvidia-driver-460 (proprietary, tested, recommended), with intel selected in prime-select setting.

    While only using terminal this powertop report was generated. As it can be seen that discharge rate is nearly 15W and generally exceeds 16W. I can't figure out what is causing the battery to drain out. Laptop is heating up a lot too.

    Also, this problem is not there in windows, meaning there's something wrong in ubuntu settings.

    Please help.

    Thanks!

    submitted by /u/BeastBoy262
    [link] [comments]

    cron help

    Posted: 03 Jun 2021 09:06 AM PDT

    I don't really know cron. I need to run a file every day at 6 AM and 6 PM. I think the following command would work, but I need to be sure:

    0 6,18 * * * python3 file.py 

    Am I correct?

    submitted by /u/bthrvewqd
    [link] [comments]

    su not working inside arch-chroot with dash shell

    Posted: 03 Jun 2021 09:02 AM PDT

    When i try to do the following inside a dash script:

    #!/bin/dash arch-chroot /mnt /bin/dash <<- EOF su myuser whoami EOF 

    It simply logs the "root", but when i try to do it manually, it works fine:

    $ arch-chroot /mnt $ su myuser $ whoami > myuser 

    Any clues of what might be happening? probably some undocumented pitfall of dash?

    submitted by /u/henriquehbr
    [link] [comments]

    Ubuntu archive viewer infinitely extracts one file

    Posted: 03 Jun 2021 08:52 AM PDT

    Basically, I'm trying to extract some archives but it was taking a really long time even though it was only a few MB, I looked and it refused to pass one file, and the file was like 30 GB! Even though in the archive it was only a few MB. It's just infinitely extracting one file and wrongfully making it bigger and bigger.

    submitted by /u/Roadhog360
    [link] [comments]

    Is GPT partition necessary for installing Linux?

    Posted: 03 Jun 2021 08:41 AM PDT

    Hello.

    I am trying to install Pop OS as a dual boot(alongside windows 10). But I am stuck at the last part where it says it requires a GPT type drive for the boot partition.

    I have seen this same question on the Pop OS subreddit. But I don't want to go the complicated way of using gdisk and then fixing my bios and broken boot. So I thought of making the boot partition on a separate usb drive (thumb drive/ pen drive). (I will keep root and other partitions on the internal drive).

    My question are - 1) Is this possible? If so, could anybody tell me how it may be done?

    2)I had installed Ubuntu in late 2017/ early 18. Then, I don't remember having to do this(partitions). Even the person in the Pop OS question has the same doubt. It seems they had installed elementaryOS before without this partition.

    So why is this happening now?

    submitted by /u/Ready-Peak-8084
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel